Omega2+ boot problem
-
I have a problem with my Omega2+. It can't finally boot. I have, already wrote about this problem in this topic
I think, that I used bad power supply, and data in the flash corrupted. Here is log for normal boot:____ _ ____ / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _ / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/ \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/ 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.46 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1311684 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, 128 Starting kernel ... [ 0.000000] Linux version 4.4.46 (root@2272a3272872) (gcc version 5.4.0 (LED7 [ 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 bys [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa2 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jf2 [ 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=0006ad6c [ 0.000000] Readback ErrCtl register=0006ad6c [ 0.000000] Memory: 125556K/131072K available (3025K kernel code, 142K rwdat) [ 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_s [ 0.000010] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405s [ 0.007520] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.070042] pid_max: default: 32768 minimum: 301 [ 0.074637] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.080977] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.094351] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms [ 0.104013] pinctrl core: initialized pinctrl subsystem [ 0.109719] NET: Registered protocol family 16 [ 0.133601] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.139145] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.144576] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.151098] i2c-mt7621 10000900.i2c: clock 100KHz, re-start not support [ 0.158635] clocksource: Switched to clocksource MIPS [ 0.165154] NET: Registered protocol family 2 [ 0.170275] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.176967] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.183147] TCP: Hash tables configured (established 1024 bind 1024) [ 0.189350] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.194953] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.201296] NET: Registered protocol family 1 [ 0.211303] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.217257] Crashlog allocated RAM at address 0x3f00000 [ 0.237561] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.243215] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORI. [ 0.255810] io scheduler noop registered [ 0.259611] io scheduler deadline registered (default) [ 0.265403] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cam [ 0.274485] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22 [ 0.280496] rt2880-pinmux pinctrl: could not request pin 18 (io18) from groux [ 0.289898] mtk-pwm 10005000.pwm: Error applying setting, reverse things back [ 0.297269] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.304879] console [ttyS0] disabled [ 0.308313] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baudA [ 0.317093] console [ttyS0] enabled [ 0.317093] console [ttyS0] enabled [ 0.324086] bootconsole [early0] disabled [ 0.324086] bootconsole [early0] disabled [ 0.332765] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = A [ 0.342283] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = A [ 0.352933] spi-mt7621 10000b00.spi: sys_freq: 193333333 [ 0.363008] m25p80 spi32766.0: using chunked io (size=31) [ 0.368505] m25p80 spi32766.0: mx25l25635e (32768 Kbytes) [ 0.374073] 4 ofpart partitions found on MTD device spi32766.0 [ 0.379997] Creating 4 MTD partitions on "spi32766.0": [ 0.385213] 0x000000000000-0x000000030000 : "u-boot" [ 0.392038] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.399325] 0x000000040000-0x000000050000 : "factory" [ 0.406271] 0x000000050000-0x000002000000 : "firmware" [ 0.454000] 2 uimage-fw partitions found on MTD device firmware [ 0.460050] 0x000000050000-0x000000190404 : "kernel" [ 0.466770] 0x000000190404-0x000002000000 : "rootfs" [ 0.473699] mtd: device 5 (rootfs) set to be root filesystem [ 0.479576] 1 squashfs-split partitions found on MTD device rootfs [ 0.485853] 0x0000006f0000-0x000002000000 : "rootfs_data" [ 0.503287] rt3050-esw 10110000.esw: link changed 0x00 [ 0.511021] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb5 [ 0.519699] i2c /dev entries driver [ 0.523838] mt7621_wdt 10000120.watchdog: Initialized [ 0.530586] NET: Registered protocol family 10 [ 0.539168] NET: Registered protocol family 17 [ 0.543787] bridge: automatic filtering via arp/ip/ip6tables has been deprec. [ 0.556633] 8021q: 802.1Q VLAN Support v1.8 [ 0.567928] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 0.576213] Freeing unused kernel memory: 192K (803d0000 - 80400000) [ 1.568748] init: Console is alive [ 1.572431] init: - watchdog - [ 3.999457] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 4.153562] usbcore: registered new interface driver usbfs [ 4.159302] usbcore: registered new interface driver hub [ 4.164789] usbcore: registered new device driver usb [ 4.176291] exFAT: Version 1.2.9 [ 4.221157] SCSI subsystem initialized [ 4.231907] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.240337] ehci-platform: EHCI generic platform driver [ 4.255991] phy phy-10120000.usbphy.0: remote usb device wakeup disabled [ 4.262809] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz [ 4.268138] ehci-platform 101c0000.ehci: EHCI Host Controller [ 4.274016] ehci-platform 101c0000.ehci: new USB bus registered, assigned bu1 [ 4.282192] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 4.298694] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 4.306197] hub 1-0:1.0: USB hub found [ 4.310434] hub 1-0:1.0: 1 port detected [ 4.319489] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 4.327426] ohci-platform: OHCI generic platform driver [ 4.333087] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 4.340061] ohci-platform 101c1000.ohci: new USB bus registered, assigned bu2 [ 4.348176] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 4.413795] hub 2-0:1.0: USB hub found [ 4.418041] hub 2-0:1.0: 1 port detected [ 4.435356] MTK MSDC device init. [ 4.478808] mtk-sd: MediaTek MT6575 MSDC Driver [ 4.486774] sdhci: Secure Digital Host Controller Interface driver [ 4.493123] sdhci: Copyright(c) Pierre Ossman [ 4.499037] sdhci-pltfm: SDHCI platform and OF driver helper [ 4.509391] usbcore: registered new interface driver usb-storage [ 4.519061] kmodloader: done loading kernel modules from /etc/modules-boot.d* [ 4.536887] init: - preinit - [ 5.380332] 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.58) level [ 9.087473] jffs2: notice: (397) jffs2_build_xattr_subsystem: complete build. [ 9.129653] mount_root: switching to jffs2 overlay [ 9.166852] urandom-seed: Seeding with /etc/urandom.seed [ 9.387873] procd: - early - [ 9.391000] procd: - watchdog - [ 10.118286] procd: - ubus - [ 10.327304] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits) [ 10.337005] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits) [ 10.346294] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits) [ 10.355858] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits) [ 10.365100] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits) [ 10.374849] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits) [ 10.384248] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits) [ 10.393813] procd: - init - Please press Enter to activate this console.
WiFi doesn't start, LED blink rarely. I hit enter in the terminal, but nothing happens.
-
When I turn on Omega holding reset, U-Boot doesn't give me 40 sec to make a choice to reflash from USB stick.
Also, I can't use busybox, it not respond to commands like "firstboot" or "mount_root".____ _ ____ / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _ / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/ \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/ 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 * ************************************** You have 40 seconds left to select a menu option... Please select option: [ Enter ]: Boot Omega2. [ 0 ]: Start Web recovery mode. [ 1 ]: Start command line mode. [ 2 ]: Flash firmware from USB storage. Option [ Boot Linux from Flash. ## Booting image at bc050000 ... Image Name: MIPS LEDE Linux-4.4.46 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1311684 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, 128 Starting kernel ... [ 0.000000] Linux version 4.4.46 (root@2272a3272872) (gcc version 5.4.0 (LED7 [ 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 bys [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa2 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jf2 [ 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=0002ad7f [ 0.000000] Readback ErrCtl register=0002ad7f [ 0.000000] Memory: 125556K/131072K available (3025K kernel code, 142K rwdat) [ 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_s [ 0.000010] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405s [ 0.007520] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.070042] pid_max: default: 32768 minimum: 301 [ 0.074637] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.080977] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.094351] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms [ 0.104013] pinctrl core: initialized pinctrl subsystem [ 0.109719] NET: Registered protocol family 16 [ 0.133602] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.139146] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.144577] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.151099] i2c-mt7621 10000900.i2c: clock 100KHz, re-start not support [ 0.158636] clocksource: Switched to clocksource MIPS [ 0.165154] NET: Registered protocol family 2 [ 0.170275] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.176967] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.183147] TCP: Hash tables configured (established 1024 bind 1024) [ 0.189350] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.194953] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.201296] NET: Registered protocol family 1 [ 0.211302] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.217256] Crashlog allocated RAM at address 0x3f00000 [ 0.237561] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.243216] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORI. [ 0.255811] io scheduler noop registered [ 0.259612] io scheduler deadline registered (default) [ 0.265403] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cam [ 0.274485] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22 [ 0.280495] rt2880-pinmux pinctrl: could not request pin 18 (io18) from groux [ 0.289898] mtk-pwm 10005000.pwm: Error applying setting, reverse things back [ 0.297268] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.304879] console [ttyS0] disabled [ 0.308313] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baudA [ 0.317093] console [ttyS0] enabled [ 0.317093] console [ttyS0] enabled [ 0.324086] bootconsole [early0] disabled [ 0.324086] bootconsole [early0] disabled [ 0.332765] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = A [ 0.342282] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = A [ 0.352933] spi-mt7621 10000b00.spi: sys_freq: 193333333 [ 0.363007] m25p80 spi32766.0: using chunked io (size=31) [ 0.368505] m25p80 spi32766.0: mx25l25635e (32768 Kbytes) [ 0.374073] 4 ofpart partitions found on MTD device spi32766.0 [ 0.379996] Creating 4 MTD partitions on "spi32766.0": [ 0.385213] 0x000000000000-0x000000030000 : "u-boot" [ 0.392038] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.399325] 0x000000040000-0x000000050000 : "factory" [ 0.406271] 0x000000050000-0x000002000000 : "firmware" [ 0.454000] 2 uimage-fw partitions found on MTD device firmware [ 0.460051] 0x000000050000-0x000000190404 : "kernel" [ 0.466771] 0x000000190404-0x000002000000 : "rootfs" [ 0.473700] mtd: device 5 (rootfs) set to be root filesystem [ 0.479577] 1 squashfs-split partitions found on MTD device rootfs [ 0.485853] 0x0000006f0000-0x000002000000 : "rootfs_data" [ 0.503086] rt3050-esw 10110000.esw: link changed 0x00 [ 0.510826] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb5 [ 0.519502] i2c /dev entries driver [ 0.523641] mt7621_wdt 10000120.watchdog: Initialized [ 0.530390] NET: Registered protocol family 10 [ 0.538970] NET: Registered protocol family 17 [ 0.543591] bridge: automatic filtering via arp/ip/ip6tables has been deprec. [ 0.556431] 8021q: 802.1Q VLAN Support v1.8 [ 0.567727] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 0.576011] Freeing unused kernel memory: 192K (803d0000 - 80400000) [ 1.568427] init: Console is alive [ 1.572183] init: - watchdog - [ 4.000694] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 4.154767] usbcore: registered new interface driver usbfs [ 4.160506] usbcore: registered new interface driver hub [ 4.165993] usbcore: registered new device driver usb [ 4.177612] exFAT: Version 1.2.9 [ 4.222563] SCSI subsystem initialized [ 4.233584] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.241801] ehci-platform: EHCI generic platform driver [ 4.257457] phy phy-10120000.usbphy.0: remote usb device wakeup disabled [ 4.264274] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz [ 4.269616] ehci-platform 101c0000.ehci: EHCI Host Controller [ 4.275482] ehci-platform 101c0000.ehci: new USB bus registered, assigned bu1 [ 4.283663] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 4.308676] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 4.316169] hub 1-0:1.0: USB hub found [ 4.320410] hub 1-0:1.0: 1 port detected [ 4.329461] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 4.337392] ohci-platform: OHCI generic platform driver [ 4.343052] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 4.350026] ohci-platform 101c1000.ohci: new USB bus registered, assigned bu2 [ 4.358141] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 4.423802] hub 2-0:1.0: USB hub found [ 4.428047] hub 2-0:1.0: 1 port detected [ 4.445412] MTK MSDC device init. [ 4.488812] mtk-sd: MediaTek MT6575 MSDC Driver [ 4.496803] sdhci: Secure Digital Host Controller Interface driver [ 4.503152] sdhci: Copyright(c) Pierre Ossman [ 4.509060] sdhci-pltfm: SDHCI platform and OF driver helper [ 4.519443] usbcore: registered new interface driver usb-storage [ 4.529134] kmodloader: done loading kernel modules from /etc/modules-boot.d* [ 4.546961] init: - preinit - [ 5.059380] random: procd: uninitialized urandom read (4 bytes read, 9 bits ) [ 5.412922] 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 - failsafe button reset was pressed - - failsafe - [ 8.741323] random: dropbearkey: uninitialized urandom read (32 bytes read, ) Generating key, [ 8.752595] random: dropbearkey: uninitialized urandom read ) this may take a while... [ 10.809596] random: dropbearkey: uninitialized urandom read (32 bytes read, ) Public key portion is: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCS[ 10.911726] random: dropbear: uninit) eaQ3vd15paXP23BjF6p7DbSxjKlVthYNgsEkmBRJQbptb5KtlbzOWAGBlSH/MvYfh06wnqUu6gynwaA) Fingerprint: md5 07:c0:a6:bb:14:08:16:c7:ac:e1:6c:72:79:c1:52:8e BusyBox v1.26.2 () built-in shell (ash) ash: can't access tty; job control turned off _________ / /\ _ ___ ___ ___ / LE / \ | | | __| \| __| / DE / \ | |__| _|| |) | _| /________/ LE \ |____|___|___/|___| lede-project.org \ \ DE / \ LE \ / ----------------------------------------------------------- \ DE \ / Reboot (SNAPSHOT, r3273-a0888ec) \________\/ ----------------------------------------------------------- ================= FAILSAFE MODE active ================ special commands: * firstboot reset settings to factory defaults * mount_root mount root-partition with config files after mount_root: * passwd change root's password * /etc/config directory with config files for more help see: http://wiki.openwrt.org/doc/howto/generic.failsafe ======================================================= root@(none):/# firstboot mount_root [ 79.648670] random: nonblocking pool is initialized
LED blink very fast.
Whether there is another way to flash new firmaware to Omega, via Ethernet or debug interface?
-
@Yuriy-Ney-0 You have got an Omega2+.
I think you don't know it's firmware version.
I guess you doesn't have any dock.
I hope you have already got a good power supply.Fortunately you have a working serial Console.
You hit thef
key and hit theEnter
so the === FAILSAFE MODE active ===.... [ 4.537038] init: - preinit - [ 5.380087] 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.580022] random: procd: uninitialized urandom read (4 bytes read, 10 bits of entropy available) level f - failsafe - [ 8.431052] random: dropbearkey: uninitialized urandom read (32 bytes read, 14 bits of entropy available) Generating key, [ 8.442405] random: dropbearkey: uninitialized urandom read (32 bytes read, 15 bits of entropy available) this may take a while... [ 11.015020] random: dropbearkey: uninitialized urandom read (32 bytes read, 19 bits of entropy available) Public key portion is: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC0[ 11.035501] random: dropbear: uninitialized urandom read (32 bytes read, 19 bits of entropy available) IHJXwzFrPP+yher0iSibgu7BNvjZaEWkSuTC6EEIs70msMOX7XW9ZGvJ9G54VN5agMDoYA0rljHZeXr3RION/mnYJLN32/fEn8/IX+v9XHUmEdnoGeaLzYqO5qf20H0z1l0E7vAz6SGmshMwFeDRK82+E3O/fRBeSdU4yrTk7Q== root@(none) Fingerprint: md5 1b:c7:1b:2e:2e:7e:25:79:6a:f4:bb:37:29:0a:8a:c9 BusyBox v1.26.2 () built-in shell (ash) ash: can't access tty; job control turned off _________ / /\ _ ___ ___ ___ / LE / \ | | | __| \| __| / DE / \ | |__| _|| |) | _| /________/ LE \ |____|___|___/|___| lede-project.org \ \ DE / \ LE \ / ----------------------------------------------------------- \ DE \ / Reboot (SNAPSHOT, r3273-a0888ec) \________\/ ----------------------------------------------------------- ================= FAILSAFE MODE active ================ special commands: * firstboot reset settings to factory defaults * mount_root mount root-partition with config files after mount_root: * passwd change root's password * /etc/config directory with config files for more help see: http://wiki.openwrt.org/doc/howto/generic.failsafe ======================================================= root@(none):/# firstboot [ 31.833161] jffs2reset: This will erase all settings and remove any installed packages. Are you sure? [N/y] y [ 39.963491] jffs2reset: /dev/mtdblock6 is not mounted [ 39.968916] jffs2reset: /dev/mtdblock6 will be erased on next mount root@(none):/# reboot reboot root@(none):/# [ 78.467219] reboot: Restarting system ... ... [ 41.788663] br-wlan: port 2(ra0) entered forwarding state [ 62.738689] random: nonblocking pool is initialized [ 111.401238] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 111.408354] jffs2_build_filesystem(): unlocking the mtd device... done. [ 111.415136] jffs2_build_filesystem(): erasing all blocks after the end marker... done. [ 243.639105] jffs2: notice: (1749) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. BusyBox v1.26.2 () built-in shell (ash) ____ _ ____ / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _ / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/ \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/ W H A T W I L L Y O U I N V E N T ? /___/ ----------------------------------------------------- Ω-ware: 0.1.10 b160 -----------------------------------------------------
Hit the
Enter
, typefirstboot
and hit theEnter
.
'Are you sure? [N/y]' hit they
key.
After the 'jffs2reset: /dev/mtdblock6 will be erased on next mount' message hit theEnter
and typereboot
and hit theEnter
.
Done.Be patient please during the boot process.
If it fails show us the full serial log file please.Good luck!
-
I have an expansion dock, connected to USB port of my desktop.
Yes, I don't know version of firmware
In next log I press f and hit enter and nothing happens.
For falesafe mode I hit reset key.
I try minicom, PuTTY and Arduino IDE terminals to connect to Omega2 serial console, try to use LF, CR and CR+LF to enter a commands.____ _ ____ / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _ / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/ \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/ 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.46 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1311684 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, 128 Starting kernel ... [ 0.000000] Linux version 4.4.46 (root@2272a3272872) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3273-a0888ec) ) #0 Thu Feb 2 23:46:03 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=0006ad6c [ 0.000000] Readback ErrCtl register=0006ad6c [ 0.000000] Memory: 125556K/131072K available (3025K kernel code, 142K rwdata, 728K rodata, 192K init, 196K bss, 5516K 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.000010] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns [ 0.007520] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.070042] pid_max: default: 32768 minimum: 301 [ 0.074637] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.080977] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.094351] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.104013] pinctrl core: initialized pinctrl subsystem [ 0.109719] NET: Registered protocol family 16 [ 0.133599] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.139143] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.144574] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.151095] i2c-mt7621 10000900.i2c: clock 100KHz, re-start not support [ 0.158632] clocksource: Switched to clocksource MIPS [ 0.165150] NET: Registered protocol family 2 [ 0.170271] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.176964] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.183144] TCP: Hash tables configured (established 1024 bind 1024) [ 0.189346] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.194950] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.201293] NET: Registered protocol family 1 [ 0.211298] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.217252] Crashlog allocated RAM at address 0x3f00000 [ 0.237556] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.243212] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.255806] io scheduler noop registered [ 0.259607] io scheduler deadline registered (default) [ 0.265398] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for 10005000.pwm [ 0.274480] rt2880-pinmux pinctrl: pin-18 (10005000.pwm) status -22 [ 0.280491] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0 on device rt2880-pinmux [ 0.289893] mtk-pwm 10005000.pwm: Error applying setting, reverse things back [ 0.297264] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.304874] console [ttyS0] disabled [ 0.308308] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A [ 0.317088] console [ttyS0] enabled [ 0.317088] console [ttyS0] enabled [ 0.324081] bootconsole [early0] disabled [ 0.324081] bootconsole [early0] disabled [ 0.332760] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A [ 0.342277] 10000e00.uart2: ttyS2 at MMIO 0x10000e00 (irq = 30, base_baud = 2500000) is a 16550A [ 0.352928] spi-mt7621 10000b00.spi: sys_freq: 193333333 [ 0.363004] m25p80 spi32766.0: using chunked io (size=31) [ 0.368501] m25p80 spi32766.0: mx25l25635e (32768 Kbytes) [ 0.374069] 4 ofpart partitions found on MTD device spi32766.0 [ 0.379993] Creating 4 MTD partitions on "spi32766.0": [ 0.385209] 0x000000000000-0x000000030000 : "u-boot" [ 0.392034] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.399319] 0x000000040000-0x000000050000 : "factory" [ 0.406265] 0x000000050000-0x000002000000 : "firmware" [ 0.453996] 2 uimage-fw partitions found on MTD device firmware [ 0.460046] 0x000000050000-0x000000190404 : "kernel" [ 0.466767] 0x000000190404-0x000002000000 : "rootfs" [ 0.473696] mtd: device 5 (rootfs) set to be root filesystem [ 0.479573] 1 squashfs-split partitions found on MTD device rootfs [ 0.485849] 0x0000006f0000-0x000002000000 : "rootfs_data" [ 0.503070] rt3050-esw 10110000.esw: link changed 0x00 [ 0.510810] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 0.519486] i2c /dev entries driver [ 0.523625] mt7621_wdt 10000120.watchdog: Initialized [ 0.530373] NET: Registered protocol family 10 [ 0.538955] NET: Registered protocol family 17 [ 0.543576] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 0.556417] 8021q: 802.1Q VLAN Support v1.8 [ 0.567712] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 0.575997] Freeing unused kernel memory: 192K (803d0000 - 80400000) [ 1.568503] init: Console is alive [ 1.572265] init: - watchdog - [ 4.000173] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 4.154659] usbcore: registered new interface driver usbfs [ 4.160404] usbcore: registered new interface driver hub [ 4.165890] usbcore: registered new device driver usb [ 4.177385] exFAT: Version 1.2.9 [ 4.220192] SCSI subsystem initialized [ 4.231144] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.239527] ehci-platform: EHCI generic platform driver [ 4.255178] phy phy-10120000.usbphy.0: remote usb device wakeup disabled [ 4.261996] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz [ 4.267324] ehci-platform 101c0000.ehci: EHCI Host Controller [ 4.273202] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 4.281380] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 4.298670] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 4.306125] hub 1-0:1.0: USB hub found [ 4.310406] hub 1-0:1.0: 1 port detected [ 4.319393] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 4.327345] ohci-platform: OHCI generic platform driver [ 4.333003] ohci-platform 101c1000.ohci: Generic Platform OHCI controller [ 4.339976] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 4.348091] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 4.413794] hub 2-0:1.0: USB hub found [ 4.418037] hub 2-0:1.0: 1 port detected [ 4.435628] MTK MSDC device init. [ 4.478805] mtk-sd: MediaTek MT6575 MSDC Driver [ 4.486824] sdhci: Secure Digital Host Controller Interface driver [ 4.493172] sdhci: Copyright(c) Pierre Ossman [ 4.499104] sdhci-pltfm: SDHCI platform and OF driver helper [ 4.509504] usbcore: registered new interface driver usb-storage [ 4.519205] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 4.537037] init: - preinit - [ 5.380898] 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.581077] random: procd: uninitialized urandom read (4 bytes read, 10 bits of entropy available) level f [ 8.082739] jffs2: notice: (396) 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.125174] mount_root: switching to jffs2 overlay [ 8.162976] urandom-seed: Seeding with /etc/urandom.seed [ 8.384291] procd: - early - [ 8.387327] procd: - watchdog - [ 9.114511] procd: - ubus - [ 9.324001] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available) [ 9.334046] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available) [ 9.343286] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available) [ 9.352893] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available) [ 9.362102] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available) [ 9.371463] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available) [ 9.381230] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available) [ 9.390870] procd: - init - Please press Enter to activate this console.
-
@Yuriy-Ney-0 said in Omega2+ boot problem:
I have an expansion dock, connected to USB port of my desktop.
Yes, I don't know version of firmware
In next log I press f and hit enter and nothing happens.According to the second log file of the other topic you was able to enter into the failsafe mode. You should hit the
f
key and hitEnter
fairly quickly.For failsafe mode I hit reset key.
Why?
I try minicom, PuTTY and Arduino IDE terminals to connect to Omega2 serial console, try to use LF, CR and CR+LF to enter a commands.
Check the host side of your serial
Consoleconnection in some way please. As you know LF (0x0a) is the end of line in Linux but there isn't any problem if you use CR+LF ( 0x0d 0x0a) here.
-
@György-Farkas said in Omega2+ boot problem:
According to the second log file of the other topic you was able to enter into the failsafe mode. You should hit the f key and hit Enter fairly quickly.
For failsafe mode I hit reset key.
Why?
Omega doesn't accept any command via terminal, I do not know why this happens. I have only one way to enter to failsafe mode, press "reset" button.
Also I think, that Omega "tells" me about this problem:ash: can't access tty; job control turned off
I try minicom, PuTTY and Arduino IDE terminals to connect to Omega2 serial console, try to use LF, CR and CR+LF to enter a commands.
Check the host side of your serial Console connection in some way please. As you know LF (0x0a) is the end of line in Linux but there isn't any problem if you use CR+LF ( 0x0d 0x0a) here.
I connect Omega to PC by PL2303 adapter and external power supply and watch the same behavior.