[resolved] bad CRC boot loop (again)
-
Got two more Omega2Pro boards yesterday, both refuse to initialise and are stuck in a loop. I made an attempt to recover with a known working firmware (omega2pro-v0.3.1-b211.bin) from USB but the result is the same. It gets to the point when the WiFi driver is loaded. On my one working board it looks like this:
... [ 30.063996] DMA Scheduler Mode=0(LMAC) [ 30.067827] efuse_probe: efuse = 10000012 [ 30.071990] 1. Phy Mode = 14 [ 30.275091] 2. Phy Mode = 14 [ 30.278070] 3. Phy Mode = 14 ...
The two new boards only show this:
... [ 33.426104] DMA Scheduler Mode=0(LMAC) [ 33.429936] efuse_probe: efuse = 10000012 [ 33.434141] 1. Phy Mode = 14 ...
and then reboot on their own.
Any help would be appreciated. Thanks!
--
part of boot log[ 11.891319] block: attempting to load /etc/config/fstab [ 11.902161] block: unable to load configuration (fstab: Entry not found) [ 11.909040] block: no usable configuration [ 11.914186] mount_root: jffs2 not ready yet, using temporary tmpfs overlay [ 11.990535] urandom-seed: Seed file not found (/etc/urandom.seed) [ 12.202673] procd: - early - [ 12.205712] procd: - watchdog - [ 12.879891] procd: - watchdog - [ 12.883434] procd: - ubus - [ 12.982202] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.183456] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.190500] random: ubusd: uninitialized urandom read (4 bytes read) [ 13.197954] procd: - init - Please press Enter to activate this console. [ 13.754276] kmodloader: loading kernel modules from /etc/modules.d/* [ 13.923503] RPC: Registered named UNIX socket transport module. [ 13.929516] RPC: Registered udp transport module. [ 13.934354] RPC: Registered tcp transport module. [ 13.939122] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 13.957342] ntfs: driver 2.1.32 [Flags: R/O MODULE]. [ 14.048594] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 14.710931] [ 14.710931] [ 14.710931] === pAd = c062b000, size = 1178064 === [ 14.710931] [ 14.722242] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628)) [ 14.771773] Linux video capture interface: v2.00 [ 14.789366] hidraw: raw HID events driver (C) Jiri Kosina [ 14.818807] ledchain: pwm_base=0xB0005000 [ 14.823128] ledchain: Device: /dev/ledchain2 [ 14.827459] ledchain: - PWM channel : 2 [ 14.831648] ledchain: - PWM buffer size: 12 [ 14.835885] ledchain: - Number of LEDs : 1 [ 14.840043] ledchain: - Inverted : 0 [ 14.844191] ledchain: - LED type : WS2812 [ 14.848780] ledchain: - Max retries : 3 [ 14.884334] Bluetooth: Core ver 2.22 [ 14.888065] NET: Registered protocol family 31 [ 14.892623] Bluetooth: HCI device and connection manager initialized [ 14.899078] Bluetooth: HCI socket layer initialized [ 14.904040] Bluetooth: L2CAP socket layer initialized [ 14.909197] Bluetooth: SCO socket layer initialized [ 14.917028] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 14.922497] Bluetooth: BNEP filters: protocol multicast [ 14.927807] Bluetooth: BNEP socket layer initialized [ 14.940493] usbcore: registered new interface driver btusb [ 14.950761] usbcore: registered new interface driver cdc_acm [ 14.956512] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 14.969075] Bluetooth: HCI UART driver ver 2.3 [ 14.973674] Bluetooth: HCI UART protocol H4 registered [ 14.978884] Bluetooth: HCI UART protocol BCSP registered [ 14.988930] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 14.995030] Bluetooth: HIDP socket layer initialized [ 15.006037] ip_tables: (C) 2000-2006 Netfilter Core Team [ 15.033901] nf_conntrack version 0.5.0 (1024 buckets, 4096 max) [ 15.132632] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm [ 15.142248] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22 [ 15.148610] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0 on device rt2880-pinmux [ 15.158502] mtk-pwm 10005000.pwm: Error applying setting, reverse things back [ 15.172974] Bluetooth: RFCOMM TTY layer initialized [ 15.177951] Bluetooth: RFCOMM socket layer initialized [ 15.183254] Bluetooth: RFCOMM ver 1.11 [ 15.204404] usbcore: registered new interface driver ums-alauda [ 15.213650] usbcore: registered new interface driver ums-cypress [ 15.223199] usbcore: registered new interface driver ums-datafab [ 15.232401] usbcore: registered new interface driver ums-freecom [ 15.241826] usbcore: registered new interface driver ums-isd200 [ 15.251397] usbcore: registered new interface driver ums-jumpshot [ 15.260767] usbcore: registered new interface driver ums-karma [ 15.270933] usbcore: registered new interface driver ums-sddr09 [ 15.280362] usbcore: registered new interface driver ums-sddr55 [ 15.290235] usbcore: registered new interface driver ums-usbat [ 15.303533] usbcore: registered new interface driver usbhid [ 15.309193] usbhid: USB HID core driver [ 15.317590] usbcore: registered new interface driver usblp [ 15.333230] usbcore: registered new interface driver usbserial [ 15.339241] usbcore: registered new interface driver usbserial_generic [ 15.346034] usbserial: USB Serial support registered for generic [ 15.365738] Driver for 1-wire Dallas network protocol. [ 15.395274] xt_time: kernel timezone is -0000 [ 15.402356] usbcore: registered new interface driver ch341 [ 15.408028] usbserial: USB Serial support registered for ch341-uart [ 15.417550] usbcore: registered new interface driver cp210x [ 15.423388] usbserial: USB Serial support registered for cp210x [ 15.433465] usbcore: registered new interface driver ftdi_sio [ 15.439402] usbserial: USB Serial support registered for FTDI USB Serial Device [ 15.461025] usbcore: registered new interface driver pl2303 [ 15.466778] usbserial: USB Serial support registered for pl2303 [ 15.478724] PPP generic driver version 2.4.2 [ 15.486570] NET: Registered protocol family 24 [ 15.506543] usbcore: registered new interface driver snd-usb-audio [ 15.530170] usbcore: registered new interface driver uvcvideo [ 15.536007] USB Video Class driver (1.1.1) [ 15.547229] usbcore: registered new interface driver option [ 15.553077] usbserial: USB Serial support registered for GSM modem (1-port) [ 15.565778] kmodloader: done loading kernel modules from /etc/modules.d/* [ 15.993003] urandom_read: 5 callbacks suppressed [ 15.993013] random: jshn: uninitialized urandom read (4 bytes read) [ 27.234585] EXT4-fs (mmcblk0p1): recovery complete [ 27.239473] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: [ 32.192064] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready [ 33.064132] [ 33.064132] _ _____ ___ ___ _________ ___ ____ [ 33.064132] | | /| / / _ | / _ \/ _ \ / ___/ __ \/ _ \/ __/ V1.0 [ 33.064132] | |/ |/ / __ |/ , _/ ___/ / /__/ /_/ / , _/ _/ [ 33.064132] |__/|__/_/ |_/_/|_/_/ \___/\____/_/|_/___/ [ 33.064132] Onion Enhanced MT7688 WiFi Driver [ 33.064132] [ 33.490146] DMA Scheduler Mode=0(LMAC) [ 33.493977] efuse_probe: efuse = 10000012 [ 33.498098] 1. Phy Mode = 14 ^@ ____ _ ____ / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _ / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/ \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/ 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: ef, device id 40 19 find flash: W25Q256FV *** 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:Feb 26 2019 Time:13:04:08 ============================================ 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. wifi mac address = 40A36BC32307. ************************************** * Hold Reset button for more options * ************************************** Boot Linux from Flash NO RESET PRESSED. ## Booting image at bc050000 ... Image Name: MIPS OpenWrt Linux-4.14.81 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1572303 Bytes = 1.5 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.14.81 (jenkins@f2c5b085c3c5) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r0+7428-2af79b2e09)) #0 Fri Feb 1 01:17:10 2019 [ 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 Pro [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 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] 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] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0 [ 0.000000] Built 1 zonelists, 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=0003f810 [ 0.000000] Readback ErrCtl register=0003f810 [ 0.000000] Memory: 59740K/65536K available (3613K kernel code, 198K rwdata, 900K rodata, 208K init, 202K bss, 5796K reserved, 0K cma-reserved)
-
We live and learn. Turns out I didn't provide enough power to the board. Everything's OK now.