Omega 2+ doesn't boot.



  • Hi!

    My Omega 2+ shuts down during boot unexpectedly. Is a layer-8 error or a firmware bug?


    Scenario:

    Omega 2+ plugged into the power dock with a 1200mAh Li-Po battery plugged in. There are 3 LEDS powered on in the battery meter (about 75%).

    Facts:

    1. I power on the Omega 2+
    2. The LED powers on during two seconds or so.
    3. The LED starts blinking fast.
    4. The led starts blinking a bit slower.
    5. The led shuts down.

    Serial boot log:

    ____       _             ____
    / __ \___  (_)__  ___    / __ \__ _  ___ ___ ____ _
    / /_/ / _ \/ / _ \/ _ \  / /_/ /  ' \/ -_) _ `/ _ `/
    \____/_//_/_/\___/_//_/  \____/_/_/_/\__/\_, /\_,_/
    W H A T  W I L L  Y O U  I N V E N T ? /___/"
    
    Board: Onion Omega2 APSoC DRAM:  128 MB
    relocate_code Pointer at: 87f60000
    flash manufacture id: c2, device id 20 19
    find flash: MX25L25635E
    *** Warning - bad CRC, using default environment
    
    ============================================
    Onion Omega2 UBoot Version: 4.3.0.3
    --------------------------------------------
    ASIC 7628_MP (Port5<->None)
    DRAM component: 1024 Mbits DDR, width 16
    DRAM bus: 16 bit
    Total memory: 128 MBytes
    Flash component: SPI Flash
    Date:Oct 18 2016  Time:17:29:05
    ============================================
    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 = 128 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.42
    Image Type:   MIPS Linux Kernel Image (lzma compressed)
    Data Size:    1306381 Bytes =  1.2 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, 128
    
    Starting kernel ...
    
    [    0.000000] Linux version 4.4.42 (root@2272a3272872) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3009-968fa53) ) #0 Mon Jan 16 19:40:14 2017
    [    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: 08000000 @ 00000000 (usable)
    [    0.000000] Initrd not found or empty - disabling initrd
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
    [    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: 32512
    [    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Writing ErrCtl register=000231ef
    [    0.000000] Readback ErrCtl register=000231ef
    [    0.000000] Memory: 125552K/131072K available (3012K kernel code, 143K rwdata, 724K rodata, 208K init, 196K bss, 5520K 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.007523] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
    [    0.070039] pid_max: default: 32768 minimum: 301
    [    0.074639] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.080978] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.094334] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.103979] pinctrl core: initialized pinctrl subsystem
    [    0.109719] NET: Registered protocol family 16
    [    0.133428] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.138966] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.144400] mt7621_gpio 10000600.gpio: registering 32 gpios
    [    0.150915] i2c-mt7621 10000900.i2c: clock 100KHz, re-start not support
    [    0.158442] clocksource: Switched to clocksource MIPS
    [    0.164815] NET: Registered protocol family 2
    [    0.169920] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.176612] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.182795] TCP: Hash tables configured (established 1024 bind 1024)
    [    0.188999] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.194602] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.200944] NET: Registered protocol family 1
    [    0.210688] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.216639] Crashlog allocated RAM at address 0x3f00000
    [    0.237024] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.242677] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.254843] io scheduler noop registered
    [    0.258643] io scheduler deadline registered (default)
    [    0.264408] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm
    [    0.273489] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22
    [    0.279500] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0  on device rt2880-pinmux
    [    0.288903] mtk-pwm 10005000.pwm: Error applying setting, reverse things back
    [    0.296245] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    0.303809] console [ttyS0] disabled
    [    0.307242] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
    [    0.316022] console [ttyS0] enabled
    [    0.316022] console [ttyS0] enabled
    [    0.323017] bootconsole [early0] disabled
    [    0.323017] bootconsole [early0] disabled
    [    0.331700] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
    [    0.341197] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A
    [    0.351774] spi-mt7621 10000b00.spi: sys_freq: 193333333
    [    0.361854] m25p80 spi32766.0: using chunked io (size=31)
    [    0.367350] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
    [    0.372917] 4 ofpart partitions found on MTD device spi32766.0
    [    0.378846] Creating 4 MTD partitions on "spi32766.0":
    [    0.384064] 0x000000000000-0x000000030000 : "u-boot"
    [    0.390884] 0x000000030000-0x000000040000 : "u-boot-env"
    [    0.398115] 0x000000040000-0x000000050000 : "factory"
    [    0.405158] 0x000000050000-0x000002000000 : "firmware"
    [    0.452888] 2 uimage-fw partitions found on MTD device firmware
    [    0.458938] 0x000000050000-0x00000018ef4d : "kernel"
    [    0.465621] 0x00000018ef4d-0x000002000000 : "rootfs"
    [    0.472574] mtd: device 5 (rootfs) set to be root filesystem
    [    0.478387] 1 squashfs-split partitions found on MTD device rootfs
    [    0.484727] 0x0000006e0000-0x000002000000 : "rootfs_data"
    [    0.501955] rt3050-esw 10110000.esw: link changed 0x00
    [    0.509703] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
    [    0.518302] i2c /dev entries driver
    [    0.522502] mt7621_wdt 10000120.watchdog: Initialized
    [    0.529237] NET: Registered protocol family 10
    [    0.537734] NET: Registered protocol family 17
    [    0.542410] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [    0.555227] 8021q: 802.1Q VLAN Support v1.8
    [    0.566604] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
    [    0.574980] Freeing unused kernel memory: 208K (803cc000 - 80400000)
    [    1.597725] init: Console is alive
    [    1.601503] init: - watchdog -
    [    4.113379] usbcore: registered new interface driver usbfs
    [    4.119127] usbcore: registered new interface driver hub
    [    4.124610] usbcore: registered new device driver usb
    [    4.136014] exFAT: Version 1.2.9
    [    4.179307] SCSI subsystem initialized
    [    4.189691] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    4.197979] ehci-platform: EHCI generic platform driver
    [    4.213664] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
    [    4.220478] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
    [    4.225807] ehci-platform 101c0000.ehci: EHCI Host Controller
    [    4.231679] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
    [    4.239850] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
    [    4.258487] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
    [    4.265905] hub 1-0:1.0: USB hub found
    [    4.270193] hub 1-0:1.0: 1 port detected
    [    4.278842] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    4.286677] ohci-platform: OHCI generic platform driver
    [    4.292320] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
    [    4.299299] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
    [    4.307408] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
    [    4.373592] hub 2-0:1.0: USB hub found
    [    4.377833] hub 2-0:1.0: 1 port detected
    [    4.394756] MTK MSDC device init.
    [    4.438615] mtk-sd: MediaTek MT6575 MSDC Driver
    [    4.446579] sdhci: Secure Digital Host Controller Interface driver
    [    4.452928] sdhci: Copyright(c) Pierre Ossman
    [    4.458862] sdhci-pltfm: SDHCI platform and OF driver helper
    [    4.469250] usbcore: registered new interface driver usb-storage
    [    4.485840] init: - preinit -
    [    5.160232] usb 2-1: new full-speed USB device number 2 using ohci-platform
    [    5.274868] 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[    5.487785] random: procd: uninitialized urandom read (4 bytes read, 10 bits of entropy available)
    level
    [    8.840144] jffs2: notice: (398) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    [    8.857606] mount_root: switching to jffs2 overlay
    [    8.876830] urandom-seed: Seeding with /etc/urandom.seed
    [    8.984799] procd: - early -
    [    8.987833] procd: - watchdog -
    [    9.517187] random: jshn: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
    Failed to connect to ubus
    [    9.642930] procd: - ubus -
    [    9.851612] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [    9.866113] random: jshn: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [    9.875739] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [    9.894307] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [    9.904030] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [    9.913238] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [    9.922629] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [    9.932430] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
    [    9.942103] procd: - init -
    Please press Enter to activate this console.
    [   10.639081] ntfs: driver 2.1.32 [Flags: R/O MODULE].
    [   10.706760] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   10.730593] Ralink/MTK WiFi EEPROM API Build for MT7620.
    [   10.772906] WRTnode AP Driver version: 4.1.0.0
    [   10.853094] Linux video capture interface: v2.00
    [   10.896135] hidraw: raw HID events driver (C) Jiri Kosina
    [   10.940202] Bluetooth: Core ver 2.21
    [   10.943940] NET: Registered protocol family 31
    [   10.948492] Bluetooth: HCI device and connection manager initialized
    [   10.954947] Bluetooth: HCI socket layer initialized
    [   10.959909] Bluetooth: L2CAP socket layer initialized
    [   10.965056] Bluetooth: SCO socket layer initialized
    [   10.973233] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   10.978703] Bluetooth: BNEP filters: protocol multicast
    [   10.984015] Bluetooth: BNEP socket layer initialized
    [   10.995737] usbcore: registered new interface driver btusb
    [   11.005604] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
    [   11.011959] usbcore: registered new interface driver cdc_acm
    [   11.017724] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [   11.030699] Bluetooth: HCI UART driver ver 2.3
    [   11.035221] Bluetooth: HCI UART protocol H4 registered
    [   11.040493] Bluetooth: HCI UART protocol BCSP registered
    [   11.050133] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [   11.056162] Bluetooth: HIDP socket layer initialized
    [   11.064356] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   11.086182] nf_conntrack version 0.5.0 (1965 buckets, 7860 max)
    [   11.116419] Bluetooth: RFCOMM TTY layer initialized
    [   11.121467] Bluetooth: RFCOMM socket layer initialized
    [   11.126701] Bluetooth: RFCOMM ver 1.11
    [   11.138958] spidev spi32766.1: buggy DT: spidev listed directly in DT
    [   11.145504] ------------[ cut here ]------------
    [   11.150255] WARNING: CPU: 0 PID: 517 at drivers/spi/spidev.c:720 init_module+0x733c/0x7dec [spidev]()
    [   11.159610] 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_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_morse ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common 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 configfs autofs4 nls_utf8 nls_iso8859_1 nls_cp437 regmap_i2c dma_shared_buffer ecb cmac mmc_block usb_storage sdhci_pltfm sdhci mtk_sd mmc_core 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
    [   11.266496] CPU: 0 PID: 517 Comm: kmodloader Not tainted 4.4.42 #0
    [   11.272771] Stack : 803680f4 00000000 00000001 803b0000 87da39dc 803b0d83 80349a58 00000205
    \t  80403438 0000000e 0000001a 024000c0 800661d4 8004adf4 8034ef54 803b0000
    \t  00000003 0000000e 8034d358 87511b4c 800661d4 80048d60 00000000 00000000
    \t  00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    \t  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    \t  ...
    [   11.308924] Call Trace:
    [   11.311464] [<800661d4>] module_sect_show+0x0/0x18
    [   11.316329] [<8004adf4>] vprintk_default+0x24/0x30
    [   11.321220] [<800661d4>] module_sect_show+0x0/0x18
    [   11.326081] [<80048d60>] printk+0x2c/0x38
    [   11.330179] [<800253fc>] warn_slowpath_common+0xa0/0xd0
    [   11.335486] [<801499f0>] dump_stack+0x14/0x28
    [   11.339927] [<80014874>] show_stack+0x50/0x84
    [   11.344346] [<800253fc>] warn_slowpath_common+0xa0/0xd0
    [   11.349667] [<8713033c>] init_module+0x733c/0x7dec [spidev]
    [   11.355321] [<87130000>] init_module+0x7000/0x7dec [spidev]
    [   11.360996] [<800254b4>] warn_slowpath_null+0x18/0x24
    [   11.366131] [<801f6670>] of_match_node+0x20/0x44
    [   11.370849] [<87130000>] init_module+0x7000/0x7dec [spidev]
    [   11.376505] [<8713033c>] init_module+0x733c/0x7dec [spidev]
    [   11.382183] [<801bbde8>] devm_kfree+0x20/0x44
    [   11.386639] [<801dd02c>] spi_drv_probe+0x3c/0x84
    [   11.391351] [<801b8918>] driver_probe_device+0x120/0x288
    [   11.396758] [<8008a0e8>] kstrdup+0x44/0x8c
    [   11.400947] [<801dcf2c>] spi_match_device+0x38/0xa8
    [   11.405916] [<801b8afc>] __driver_attach+0x7c/0xb4
    [   11.410810] [<801b6d20>] next_device+0x10/0x30
    [   11.415328] [<801b8a80>] __driver_attach+0x0/0xb4
    [   11.420121] [<801b6ddc>] bus_for_each_dev+0x9c/0xac
    [   11.425096] [<802ed4f4>] klist_add_tail+0x24/0x50
    [   11.429892] [<87130000>] init_module+0x7000/0x7dec [spidev]
    [   11.435546] [<801b6bb0>] bus_get+0x2c/0x50
    [   11.439748] [<801b8010>] bus_add_driver+0xec/0x20c
    [   11.444614] [<800acc64>] exact_match+0x0/0x8
    [   11.448962] [<800ad16c>] exact_lock+0x0/0x24
    [   11.453302] [<87130000>] init_module+0x7000/0x7dec [spidev]
    [   11.458972] [<87130000>] init_module+0x7000/0x7dec [spidev]
    [   11.464624] [<801b9214>] driver_register+0xa8/0xf8
    [   11.469508] [<87129000>] init_module+0x0/0xdc [spidev]
    [   11.474740] [<87130000>] init_module+0x7000/0x7dec [spidev]
    [   11.480421] [<87130000>] init_module+0x7000/0x7dec [spidev]
    [   11.486075] [<87130000>] init_module+0x7000/0x7dec [spidev]
    [   11.491745] [<87129098>] init_module+0x98/0xdc [spidev]
    [   11.497049] [<801555c0>] kasprintf+0x1c/0x28
    [   11.501410] [<8004574c>] __wake_up+0x24/0x48
    [   11.505744] [<87129000>] init_module+0x0/0xdc [spidev]
    [   11.510994] [<8000d890>] do_one_initcall+0x1e8/0x214
    [   11.516049] [<8004574c>] __wake_up+0x24/0x48
    [   11.520408] [<87129000>] init_module+0x0/0xdc [spidev]
    [   11.525642] [<80034404>] call_usermodehelper_exec+0x144/0x160
    [   11.531504] [<80033ef4>] call_usermodehelper_setup+0x38/0xa8
    [   11.537274] [<800661d4>] module_sect_show+0x0/0x18
    [   11.542177] [<800673f4>] do_init_module+0x74/0x1cc
    [   11.547051] [<8009dc18>] __vunmap+0xf0/0x114
    [   11.551436] [<80068c88>] load_module+0x16c0/0x1b68
    [   11.556301] [<800667c0>] unknown_module_param_cb+0x0/0xac
    [   11.561798] [<8009e10c>] __vmalloc_node+0x34/0x40
    [   11.566598] [<800691c4>] SyS_init_module+0x94/0x180
    [   11.571569] [<80069260>] SyS_init_module+0x130/0x180
    [   11.576638] [<8000682c>] syscall_common+0x30/0x54
    [   11.581435] [<80008c58>] __bzero+0xbc/0x164
    [   11.585676]
    [   11.587187] ---[ end trace 5fdf96ed0239fc12 ]---
    [   11.599880] usbcore: registered new interface driver ums-alauda
    [   11.609024] usbcore: registered new interface driver ums-cypress
    [   11.618178] usbcore: registered new interface driver ums-datafab
    [   11.627097] usbcore: registered new interface driver ums-freecom
    [   11.636278] usbcore: registered new interface driver ums-isd200
    [   11.646602] usbcore: registered new interface driver ums-jumpshot
    [   11.655696] usbcore: registered new interface driver ums-karma
    [   11.665444] usbcore: registered new interface driver ums-sddr09
    [   11.674595] usbcore: registered new interface driver ums-sddr55
    [   11.684081] usbcore: registered new interface driver ums-usbat
    [   11.697248] usbcore: registered new interface driver usbhid
    [   11.702980] usbhid: USB HID core driver
    [   11.710660] usbcore: registered new interface driver usblp
    [   11.724651] usbcore: registered new interface driver usbserial
    [   11.730780] usbcore: registered new interface driver usbserial_generic
    [   11.737518] usbserial: USB Serial support registered for generic
    [   11.756600] Driver for 1-wire Dallas network protocol.
    [   11.782899] xt_time: kernel timezone is -0000
    [   11.789658] usbcore: registered new interface driver ch341
    [   11.795344] usbserial: USB Serial support registered for ch341-uart
    [   11.805179] usbcore: registered new interface driver cp210x
    [   11.811050] usbserial: USB Serial support registered for cp210x
    [   11.820649] usbcore: registered new interface driver ftdi_sio
    [   11.826596] usbserial: USB Serial support registered for FTDI USB Serial Device
    [   11.848718] usbcore: registered new interface driver pl2303
    [   11.854511] usbserial: USB Serial support registered for pl2303
    [   11.866578] PPP generic driver version 2.4.2
    [   11.874224] NET: Registered protocol family 24
    [   11.892117] usbcore: registered new interface driver snd-usb-audio
    [   11.909254] usbcore: registered new interface driver uvcvideo
    [   11.915093] USB Video Class driver (1.1.1)
    [   17.192476] EEPROM:Read from [factory] offset 0x0,length 0x400.


  • These situations have mostly been covered before.

    • The spi_dev warning (warning, not error) is the public face of a dispute between kernel developers and packagers, your only immediate choice is to ignore it.

    • You didn't show what happened next (U-Boot again?) but failure after the EEPROM read line is usually an insufficient power source making itself apparent when the radio tries to start up at that point.

    Your use of a LIPO pack may be of concern, first for safety reasons, and next because a single cell pack is too high a voltage to use directly but does not provide sufficient headroom for a regulator. So at minimum you'd need a two cell (series) pack, but using one at all increases the possible consequences of failures and mistakes that might otherwise be comparatively trivial.



  • @Chris-Stratton: Thank you from your prompt reply.

    I'm using the Power dock. It (AFAIK) seems to be designed to use with a 1-cell Li-Po battery. I'm wrong? Why is it unsafe?


    The Power Dock is designed for use with a 3.7V LiPo Battery with a standard 2-pin JST-PH connector (2mm spacing between pins).

    Source: https://wiki.onion.io/Tutorials/Expansions/Using-the-Power-Dock


    After that, nothing happens, The amber LED remains off and it waits quietly until I flip again the power switch in both directions.



  • If they've got a full buck-boost on there it is possible that could work as intended, but there's also a lot that could go wrong with it. I'm not seeing any schematic one could use to tell, though the two inductors are a hopeful sign.

    Is the battery charged?

    Power issues are perhaps the most common failure people have; it may be worth trying something else, at least to determine if it is or isn't a power problem.

    After that, nothing happens, The amber LED remains off and it waits quietly until I flip again the power switch in both directions.

    Hmm, possibly it reboots but then hits a flash-mode reboot bug. Without being able to poke around at your exact system it's hard to know.



  • This post is deleted!


  • @Chris-Stratton Now I boots well after plugging it to the microUSB.

    Before plugging it the voltage on the 3.3V pin was of 2.80V
    Now it has 3.18V. Maybe the battery is nearly uncharged and the charger controller is wrong about the battery status?



  • It's happening again randomly. I don't know what can be the problem.



  • @Chris-Stratton said in Omega 2+ doesn't boot.:

    If they've got a full buck-boost on there it is possible that could work as intended, but there's also a lot that could go wrong with it. I'm not seeing any schematic one could use to tell, though the two inductors are a hopeful sign.

    Well, I think that the only thing that needs buck-boost is the host USB port.
    The Omega 2+ works with 3.3V.
    These inductors should be for the host USB port and the 5V expansions.

    Is the battery charged?

    There are 3 LED lit from the 4 LED battery charge indicator. it should be roughly a 75%, as I said previously.

    Power issues are perhaps the most common failure people have; it may be worth trying something else, at least to determine if it is or isn't a power problem.

    I plugged the USB cable and then it worked well for a while. Then I unplugged the cable and it worked some minutes more. Then it stopped working.

    After that, nothing happens, The amber LED remains off and it waits quietly until I flip again the power switch in both directions.

    Hmm, possibly it reboots but then hits a flash-mode reboot bug. Without being able to poke around at your exact system it's hard to know.

    Maybe. I don't know.



  • The Omega 2+ works with 3.3V.

    You won't get 3.3v after a regulator from a loaded lithium cell over its full useful discharge, especially if you have pulse loads as the MT7688 does - the wifi basically doubles the usual power consumption for brief periods of time.

    However, if you can configure the system to reliably run at say 3.0v and set the regulator there that might be possible. The MT7688 data sheet would at first glance seem to imply this is possible, but without more careful measurements its unclear if the brownout resets are caused by what the voltage drops to or the fact that it drops abruptly. It may be necessary to look very close to the chip to distinguish the two.



  • @Chris-Stratton I assume that if the power dock is designed to work. :-/ Maybe is my fault.



  • @Helio-Machado , I am having the exact same issue: spidev spi32766.1: buggy DT: spidev listed directly in DT, then the stack trace followed by complete device lockup. I'm also using the Power Dock with a 1400mAh 1-cell LiPo. It worked fine initially and I think it started happening after I flashed the latest firmware version.

    Re-flashing the LEDE image doesn't seem to have any effect. Plugging in the charging cable maybe has some effect -- with power plugged in it seems to work most of the times. Still, Power Dock is unusable.



  • @Kiril-Zyapkov said in Omega 2+ doesn't boot.:

    @Helio-Machado , I am having the exact same issue: spidev spi32766.1: buggy DT: spidev listed directly in DT, then the stack trace

    That is actually not an error at all, but a policy war between two factions of developers. It happens even on working units with affected firmware versions. You can ignore it.

    followed by complete device lockup.

    That would be a different problem to identify and investigate

    Plugging in the charging cable maybe has some effect -- with power plugged in it seems to work most of the times. Still, Power Dock is unusable.

    That makes it sound like the actual problem could be power related.


Log in to reply
 

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