Omega keeps resetting before boot



  • Hello. Finally got my Omegas. And it don't work as expected. I've put it on voltage (my multimeter says 3.27V) and it goes through boot process and then restarts itself without reason. I don't know whether you need any other information, so serial log follows. I was unable to find, how to format long log, so I'm sorry, but there it is in raw format. It does this again and again until I disconnect it from electrictity.


    / __ ___ ()_ ___ / __ __ _ ___ ___ ____ _
    / // / _ / / _ / _ \ / // / ' / -) _ / _/
    _
    /////_//// _////_/_, /_,/
    W H A T W I L L Y O U I N V E N T ? /
    __/"

    Board: Onion Omega2 APSoC DRAM: 64 MB
    relocate_code Pointer at: 83f60000
    flash manufacture id: ef, device id 40 18
    find flash: W25Q128BV
    *** Warning - bad CRC, using default environment

    ============================================
    Onion Omega2 UBoot Version: 4.3.0.3

    ASIC 7628_MP (Port5<->None)
    DRAM component: 512 Mbits DDR, width 16
    DRAM bus: 16 bit
    Total memory: 64 MBytes
    Flash component: SPI Flash
    Date:Oct 18 2016 Time:17:30:55

    icache: sets:512, ways:4, linesz:32 ,total:65536
    dcache: sets:256, ways:4, linesz:32 ,total:32768
    CPU freq = 575 MHZ
    Estimated memory size = 64 Mbytes
    Resetting MT7628 PHY.
    Initializing MT7688 GPIO system.


    • Hold Reset button for more options *

    Boot Linux from Flash NO RESET PRESSED.

    Booting image at bc050000 ...

    Image Name: MIPS LEDE Linux-4.4.32
    Image Type: MIPS Linux Kernel Image (lzma compressed)
    Data Size: 1345343 Bytes = 1.3 MB
    Load Address: 80000000
    Entry Point: 80000000
    Verifying Checksum ... OK
    Uncompressing Kernel Image ... OK
    No initrd

    Transferring control to Linux (at address 80000000) ...

    Giving linux memsize in MB, 64

    Starting kernel ...

    [ 0.000000] Linux version 4.4.32 (root@2272a3272872) (gcc version 5.4.0 (LEDE GCC 5.4.0 r2292+1) ) #0 Wed Nov 23 00:21:47 2016
    [ 0.000000] Board has DDR2
    [ 0.000000] Analog PMU set to hw control
    [ 0.000000] Digital PMU set to hw control
    [ 0.000000] SoC Type: MediaTek MT7688 ver:1 eco:2
    [ 0.000000] bootconsole [early0] enabled
    [ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
    [ 0.000000] MIPS: machine is Onion Omega2
    [ 0.000000] Determined physical RAM map:
    [ 0.000000] memory: 04000000 @ 00000000 (usable)
    [ 0.000000] Initrd not found or empty - disabling initrd
    [ 0.000000] Zone ranges:
    [ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
    [ 0.000000] Movable zone start for each node
    [ 0.000000] Early memory node ranges
    [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
    [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
    [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
    [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
    [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
    [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
    [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Writing ErrCtl register=0007f70d
    [ 0.000000] Readback ErrCtl register=0007f70d
    [ 0.000000] Memory: 60516K/65536K available (3103K kernel code, 141K rwdata, 752K rodata, 156K init, 196K bss, 5020K reserved, 0K cma-reserved)
    [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] NR_IRQS:256
    [ 0.000000] intc: using register map from devicetree
    [ 0.000000] CPU Clock: 580MHz
    [ 0.000000] clocksource_probe: no matching clocksources found
    [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
    [ 0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
    [ 0.007521] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
    [ 0.070037] pid_max: default: 32768 minimum: 301
    [ 0.074636] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.080975] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.094358] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.104013] pinctrl core: initialized pinctrl subsystem
    [ 0.109736] NET: Registered protocol family 16
    [ 0.135414] mt7621_gpio 10000600.gpio: registering 32 gpios
    [ 0.140889] mt7621_gpio 10000600.gpio: registering 32 gpios
    [ 0.146376] mt7621_gpio 10000600.gpio: registering 32 gpios
    [ 0.152922] i2c-mt7621 10000900.i2c: clock 100KHz, re-start not support
    [ 0.160731] clocksource: Switched to clocksource MIPS
    [ 0.167131] NET: Registered protocol family 2
    [ 0.172260] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.178952] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.185131] TCP: Hash tables configured (established 1024 bind 1024)
    [ 0.191331] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.196932] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.203300] NET: Registered protocol family 1
    [ 0.213635] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.219558] Crashlog allocated RAM at address 0x3f00000
    [ 0.239701] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.245355] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [ 0.257567] io scheduler noop registered
    [ 0.261372] io scheduler deadline registered (default)
    [ 0.267733] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [ 0.275417] console [ttyS0] disabled
    [ 0.278843] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
    [ 0.287622] console [ttyS0] enabled
    [ 0.287622] console [ttyS0] enabled
    [ 0.294616] bootconsole [early0] disabled
    [ 0.294616] bootconsole [early0] disabled
    [ 0.303378] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
    [ 0.312966] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
    [ 0.323686] spi-mt7621 10000b00.spi: sys_freq: 193333333
    [ 0.333740] m25p80 spi32766.0: using chunked io (size=31)
    [ 0.339233] m25p80 spi32766.0: w25q128 (16384 Kbytes)
    [ 0.344448] 4 ofpart partitions found on MTD device spi32766.0
    [ 0.350359] Creating 4 MTD partitions on "spi32766.0":
    [ 0.355589] 0x000000000000-0x000000030000 : "u-boot"
    [ 0.362399] 0x000000030000-0x000000040000 : "u-boot-env"
    [ 0.369610] 0x000000040000-0x000000050000 : "factory"
    [ 0.376633] 0x000000050000-0x000002000000 : "firmware"
    [ 0.381922] mtd: partition "firmware" extends beyond the end of device "spi32766.0" -- size truncated to 0xfb0000
    [ 0.414462] 2 uimage-fw partitions found on MTD device firmware
    [ 0.420495] 0x000000050000-0x00000019877f : "kernel"
    [ 0.427198] 0x00000019877f-0x000001000000 : "rootfs"
    [ 0.434098] mtd: device 5 (rootfs) set to be root filesystem
    [ 0.439909] 1 squashfs-split partitions found on MTD device rootfs
    [ 0.446246] 0x0000006b0000-0x000001000000 : "rootfs_data"
    [ 0.463611] rt3050-esw 10110000.esw: link changed 0x00
    [ 0.471267] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
    [ 0.479871] i2c /dev entries driver
    [ 0.484046] mt7621_wdt 10000120.watchdog: Initialized
    [ 0.489407] MTK MSDC device init.
    [ 0.530876] mtk-sd: MediaTek MT6575 MSDC Driver
    [ 0.536904] NET: Registered protocol family 10
    [ 0.545500] NET: Registered protocol family 17
    [ 0.550099] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [ 0.562956] 8021q: 802.1Q VLAN Support v1.8
    [ 0.569443] mtk-linkit bootstrap: Version :
    [ 0.573943] mtk-linkit bootstrap: Revision :
    [ 0.583048] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
    [ 0.591121] Freeing unused kernel memory: 156K (803e9000 - 80410000)
    [ 1.617358] init: Console is alive
    [ 1.621119] init: - watchdog -
    [ 4.042732] usbcore: registered new interface driver usbfs
    [ 4.048417] usbcore: registered new interface driver hub
    [ 4.053954] usbcore: registered new device driver usb
    [ 4.065282] exFAT: Version 1.2.9
    [ 4.107817] SCSI subsystem initialized
    [ 4.118029] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 4.126351] ehci-platform: EHCI generic platform driver
    [ 4.142040] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
    [ 4.148844] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
    [ 4.154184] ehci-platform 101c0000.ehci: EHCI Host Controller
    [ 4.160045] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
    [ 4.168204] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
    [ 4.190776] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
    [ 4.198290] hub 1-0:1.0: USB hub found
    [ 4.202519] hub 1-0:1.0: 1 port detected
    [ 4.211249] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [ 4.219089] ohci-platform: OHCI generic platform driver
    [ 4.224734] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
    [ 4.231704] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
    [ 4.239820] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
    [ 4.305932] hub 2-0:1.0: USB hub found
    [ 4.310174] hub 2-0:1.0: 1 port detected
    [ 4.318976] sdhci: Secure Digital Host Controller Interface driver
    [ 4.325329] sdhci: Copyright(c) Pierre Ossman
    [ 4.331340] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 4.341582] usbcore: registered new interface driver usb-storage
    [ 4.358133] init: - preinit -
    [ 5.239753] rt3050-esw 10110000.esw: link changed 0x00
    Press the [f] key and hit [enter] to enter failsafe mode
    Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
    [ 7.496053] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
    [ 7.510139] urandom-seed: Seed file not found (/etc/urandom.seed)
    [ 7.676491] procd: - early -
    [ 7.679520] procd: - watchdog -
    [ 8.323020] procd: - ubus -
    [ 8.527299] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
    [ 8.537025] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
    [ 8.546249] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
    [ 8.555874] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
    [ 8.565085] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
    [ 8.574472] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
    [ 8.583850] random: ubusd: uninitialized urandom read (4 bytes read, 14 bits of entropy available)
    [ 8.593493] procd: - init -
    Please press Enter to activate this console.
    [ 9.124671] ntfs: driver 2.1.32 [Flags: R/O MODULE].
    [ 9.190239] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [ 9.213251] Ralink/MTK WiFi EEPROM API Build for MT7620.
    [ 9.258211] WRTnode AP Driver version: 4.1.0.0
    [ 9.331493] Linux video capture interface: v2.00
    [ 9.374417] hidraw: raw HID events driver (C) Jiri Kosina
    [ 9.417949] Bluetooth: Core ver 2.21
    [ 9.421765] NET: Registered protocol family 31
    [ 9.426274] Bluetooth: HCI device and connection manager initialized
    [ 9.432753] Bluetooth: HCI socket layer initialized
    [ 9.437703] Bluetooth: L2CAP socket layer initialized
    [ 9.442867] Bluetooth: SCO socket layer initialized
    [ 9.450248] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 9.455715] Bluetooth: BNEP filters: protocol multicast
    [ 9.461036] Bluetooth: BNEP socket layer initialized
    [ 9.472599] usbcore: registered new interface driver btusb
    [ 9.482111] usbcore: registered new interface driver cdc_acm
    [ 9.487863] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [ 9.499708] Bluetooth: HCI UART driver ver 2.3
    [ 9.504295] Bluetooth: HCI UART protocol H4 registered
    [ 9.509503] Bluetooth: HCI UART protocol BCSP registered
    [ 9.519027] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [ 9.525125] Bluetooth: HIDP socket layer initialized
    [ 9.533359] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 9.555077] nf_conntrack version 0.5.0 (948 buckets, 3792 max)
    [ 9.584441] Bluetooth: RFCOMM TTY layer initialized
    [ 9.589424] Bluetooth: RFCOMM socket layer initialized
    [ 9.594717] Bluetooth: RFCOMM ver 1.11
    [ 9.606159] spidev spi32766.1: buggy DT: spidev listed directly in DT
    [ 9.612776] ------------[ cut here ]------------
    [ 9.617475] WARNING: CPU: 0 PID: 470 at drivers/spi/spidev.c:719 init_module+0x533c/0x5dec spidev
    [ 9.626834] Modules linked in: spidev(+) snd_usbmidi_lib slhc rfcomm nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables hidp hid_generic hci_uart crc_ccitt cdc_acm btusb btintel bnep bluetooth snd_soc_simple_card snd_soc_ralink_i2s snd_soc_wm8960 videobuf2_vmalloc videobuf2_memops videobuf2_core hid v4l2_common videodev evdev snd_soc_core ralink_gdma virt_dma mt76x8 ralink_eeprom_api ledtrig_oneshot ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables msdos snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore vfat fat ntfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 regmap_i2c dma_shared_buffer ecb cmac usb_storage sdhci_pltfm sdhci leds_gpio ohci_platform ohci_hcd ledtrig_transient ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache exfat usbcore nls_base usb_common crc16 cryptomgr aead crypto_null crc32c_generic crypto_hash
    [ 9.731569] CPU: 0 PID: 470 Comm: kmodloader Not tainted 4.4.32 #0
    [ 9.737830] Stack : 80380328 00000000 00000001 803d0000 839c7480 803ccd83 80361c94 000001d6
    80413434 0000000a 0000001a 024000c0 80065e4c 8004aa78 80367190 803d0000
    00000003 0000000a 80365594 830fbb4c 80065e4c 800489e4 00000000 00000000
    00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    ...
    [ 9.773985] Call Trace:
    [ 9.776523] [<80065e4c>] module_sect_show+0x0/0x18
    [ 9.781405] [<8004aa78>] vprintk_default+0x24/0x30
    [ 9.786278] [<80065e4c>] module_sect_show+0x0/0x18
    [ 9.791148] [<800489e4>] printk+0x2c/0x38
    [ 9.795230] [<80025124>] warn_slowpath_common+0xa0/0xd0
    [ 9.800540] [<8014956c>] dump_stack+0x14/0x28
    [ 9.804974] [<80014574>] show_stack+0x50/0x84
    [ 9.809391] [<80025124>] warn_slowpath_common+0xa0/0xd0
    [ 9.814710] [<82c5e33c>] init_module+0x533c/0x5dec [spidev]
    [ 9.820378] [<800251dc>] warn_slowpath_null+0x18/0x24
    [ 9.825539] [<8020d2ac>] of_match_node+0x20/0x44
    [ 9.830245] [<82c5e33c>] init_module+0x533c/0x5dec [spidev]
    [ 9.835925] [<801bbe28>] devm_kfree+0x20/0x44
    [ 9.840356] [<801dcfb4>] spi_drv_probe+0x3c/0x84
    [ 9.845067] [<801b8958>] driver_probe_device+0x120/0x288
    [ 9.850473] [<80089d34>] kstrdup+0x44/0x8c
    [ 9.854673] [<801dceb4>] spi_match_device+0x38/0xa8
    [ 9.859643] [<801b8b3c>] __driver_attach+0x7c/0xb4
    [ 9.864536] [<801b6d60>] next_device+0x10/0x30
    [ 9.869054] [<801b8ac0>] __driver_attach+0x0/0xb4
    [ 9.873848] [<801b6e1c>] bus_for_each_dev+0x9c/0xac
    [ 9.878809] [<80303efc>] klist_add_tail+0x24/0x50
    [ 9.883609] [<801b6bf0>] bus_get+0x2c/0x50
    [ 9.887787] [<801b8050>] bus_add_driver+0xec/0x20c
    [ 9.892675] [<800ac89c>] exact_match+0x0/0x8
    [ 9.897007] [<800acda4>] exact_lock+0x0/0x24
    [ 9.901367] [<801b9254>] driver_register+0xa8/0xf8
    [ 9.906232] [<82c59000>] init_module+0x0/0xdc [spidev]
    [ 9.911489] [<82c59098>] init_module+0x98/0xdc [spidev]
    [ 9.916794] [<80155138>] kasprintf+0x1c/0x28
    [ 9.921149] [<80045400>] __wake_up+0x24/0x48
    [ 9.925481] [<82c59000>] init_module+0x0/0xdc [spidev]
    [ 9.930712] [<8000d5c8>] do_one_initcall+0x1e8/0x214
    [ 9.935779] [<80045400>] __wake_up+0x24/0x48
    [ 9.940115] [<82c59000>] init_module+0x0/0xdc [spidev]
    [ 9.945359] [<800340b8>] call_usermodehelper_exec+0x144/0x160
    [ 9.951219] [<80033ba8>] call_usermodehelper_setup+0x38/0xa8
    [ 9.956986] [<80065e4c>] module_sect_show+0x0/0x18
    [ 9.961885] [<8006706c>] do_init_module+0x74/0x1cc
    [ 9.966756] [<8009d864>] __vunmap+0xf0/0x114
    [ 9.971128] [<80068900>] load_module+0x16c0/0x1b68
    [ 9.975992] [<80066438>] unknown_module_param_cb+0x0/0xac
    [ 9.981488] [<8009dd58>] __vmalloc_node+0x34/0x40
    [ 9.986280] [<80068e3c>] SyS_init_module+0x94/0x180
    [ 9.991249] [<80068ed8>] SyS_init_module+0x130/0x180
    [ 9.996312] [<8000655c>] syscall_common+0x30/0x54
    [ 10.001103] [<80008958>] __bzero+0xbc/0x164
    [ 10.005343]
    [ 10.006855] ---[ end trace e32bdc30fd7a92d3 ]---
    [ 10.019010] usbcore: registered new interface driver ums-alauda
    [ 10.028031] usbcore: registered new interface driver ums-cypress
    [ 10.037177] usbcore: registered new interface driver ums-datafab
    [ 10.046038] usbcore: registered new interface driver ums-freecom
    [ 10.055117] usbcore: registered new interface driver ums-isd200
    [ 10.064200] usbcore: registered new interface driver ums-jumpshot
    [ 10.073241] usbcore: registered new interface driver ums-karma
    [ 10.082854] usbcore: registered new interface driver ums-sddr09
    [ 10.091878] usbcore: registered new interface driver ums-sddr55
    [ 10.101242] usbcore: registered new interface driver ums-usbat
    [ 10.113250] usbcore: registered new interface driver usbhid
    [ 10.118913] usbhid: USB HID core driver
    [ 10.126481] usbcore: registered new interface driver usblp
    [ 10.140177] usbcore: registered new interface driver usbserial
    [ 10.146317] usbcore: registered new interface driver usbserial_generic
    [ 10.153103] usbserial: USB Serial support registered for generic
    [ 10.171474] Driver for 1-wire Dallas network protocol.
    [ 10.200940] xt_time: kernel timezone is -0000
    [ 10.207543] usbcore: registered new interface driver ch341
    [ 10.213325] usbserial: USB Serial support registered for ch341-uart
    [ 10.222086] usbcore: registered new interface driver cp210x
    [ 10.227856] usbserial: USB Serial support registered for cp210x
    [ 10.237390] usbcore: registered new interface driver ftdi_sio
    [ 10.243431] usbserial: USB Serial support registered for FTDI USB Serial Device
    [ 10.265446] usbcore: registered new interface driver pl2303
    [ 10.271327] usbserial: USB Serial support registered for pl2303
    [ 10.282734] PPP generic driver version 2.4.2
    [ 10.290267] NET: Registered protocol family 24
    [ 10.308494] usbcore: registered new interface driver snd-usb-audio
    [ 10.325626] usbcore: registered new interface driver uvcvideo
    [ 10.331525] USB Video Class driver (1.1.1)
    [ 10.503596] random: jshn: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [ 10.582031] random: jshn: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
    [ 10.709784] random: jshn: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
    [ 17.404698] EEPROM:Read from [factory] offset 0x0,length 0x400.



  • @Mike-Es Looks like bad power-supply, ain't providing enough current and your omega crashes.



  • @WereCatf: Thanks for your reply. It was the first thing I was thinking about. I have a linear regulator (I don't know the exact model right now, its TO-220 package, rated 2A) with 17V power supply (oficially 12V; regulator needs really big heatsink with this voltage :) ). The chip gives constant 3.27V, with or without load. I had even tried to add a capacitor (22uF) and nothing had changed. I have three omegas (one plus, two "normal") and I have tried both "normal" with the same result.

    How much current do omega need?

    (PS: This forum is one big PITA!)



  • @Mike-Es The Omega2 can spike to something around 250mA when it brings the WiFi up, if there are no extra peripherals to power, like e.g. USB or microSD -- with those, it'd obviously be higher. How much current does your 17V power-supply give out?



  • If information on label is correct, then it should be able to put out about 500mA. I will try to measure it in few days.



  • @Mike-Es I had the same problem of resetting over and over during the boot. The PS is a bench supply from Velleman PS1503SBU. It's rated at 0-15 volts, 3 amps It has a voltage and current control. Set it for 5 vlots out. I watched the DC on a scope set to AC and 100 mv during boot. When the Omega2 resetted, tried to see a voltage interruption or glitch. Nothing. Set scope to different horizontal times. It must happen so fast. Once it booted fully. Tried again, same problem. Now using a Power Dock with 1200 mah lithium battery. No problem.



  • As @WereCatf said, there's a spike in power draw the moment the Omega2 tries to bring the WiFi up.

    And the reset circuitry seems to be very sensitive to even slight drops in supply voltage.

    I had exactly the same situation (endless reboots) in a test with a really stable and way powerful enough lab supply - but I had the voltage set a tiny tiny bit too low. I don't recall the exact value but something ridiculous like 3.25V instead of 3.3V. It was totally reproducible, going up less than a tenth of a volt made the difference.

    So it might well be that your 3.27V is simply not enough.



  • @luz It's not just the voltage, 500mA power-supply is quite little, if it then has to go through a linear voltage-regulator, too. That leaves very little headroom for the Omega2 and he needs a cap on both input and output, not just on the output, and the latter one definitely should be more than 22uF.



  • @WereCatf yes, of course you are right. Proper caps before and after the regulators, and also good, short wiring to the power pins of the Omega are most important!

    My point was just that even if the supply wiring, amperage and caps are ok (which was the case in my setup), the Omega2 is still sensitive to a little bit less than 3.3V. I guess that the network-on spike inevitably causes some voltage drops within the Omega2's internal power wiring and/or the reset trigger level is really very near 3.3V.

    Anyway, don't forget you can always look how Onion did it on the original dock and mini-dock.



  • Hola guys! Thanks for your replies. I've tried today to use better power source and slighly higher voltage and much bigger cap.

    I've used my soundcard power supply (9V, 4A) and MP1584-based chinese step down regulator and 2.2mF capacitor. Voltage was 3.33V.
    And behavior was absolutely the same.

    ... and, while writing this post I've realized, that I have significant voltage drop on these "arduino jumper wires". 3.3V on regulator output, 3.1 and even lower at end of 10cm (+- 4in)!

    So, I shortened the wires to extreme short jumpers... and now, IT WORKS!



  • Mike,

    Put a 2200uF 6V electrolytic capacitor at the output end of the voltage regulator.
    Also, always use thicker power supply wires to alleviate the situation a bit.

    It's the brown out condition where the supply voltage drop in a very brief transit when the Omega 2 board demands more power. The Omega 2 board along really needs a stable 300mA power supply for a sustained period of time.

    ccs_hello


Log in to reply
 

Looks like your connection to Onion Community was lost, please wait while we try to reconnect.