WRT1200AC bricking after restart

Hey guys, sorry to be a bother but I'm having trouble with this problem and have exhausted all my options.

Recently, at night, my router decided to stop working. It only displayed the blinking white power led.

I bought a USB-to-TTL cable to flash via TFTP. First time I did it (all went well), I power cycled the router to make it boot but it didn't.

Now, instead of cycling after flashing, I typed boot in putty and the router started working fine. I could enter via the gateway (which I previously couldn't) and everything was normal. That was at least until I had to reboot the router for the configuration to settle. Then it started with the blinking light again.

I tried flashing and typing boot one more time and same thing happened. All good until reset or power cycle.

So I'm guessing it's a hardware issue but I wanted to know your opinion on the matter. Is there anything I can do?

Disable wifi, try another PSU

Thanks, I'll try and disable wifi before it getting bricked.

Do you think any 12v 2.5a power cord will suffice? I don't have any store to buy an official one in my country.

12V (DC) 2.5A is the rating of the official adapter

With the serial cable plugged in , what do you see in the terminal as it boots? Sounds like the bootloader doesnt know where to find the kernel on its own.

Can you copy and paste the output?

Second, can you do the tftp flash + tell it manually to boot the image and post the output of that too?

1 Like

Hey! Thanks for responding.

Here's the boot section:

 BootROM - 1.73
Booting from NAND flash


General initialization - Version: 1.0.0
Detected Device ID 6820
High speed PHY - Version: 2.0

Init RD NAS topology Serdes Lane 3 is USB3
Serdes Lane 4 is SGMII
board SerDes lanes topology details:
 | Lane #  | Speed |  Type       |
 --------------------------------
 |   0    |  06   |  SATA0      |
 |   1    |  05   |  PCIe0      |
 |   2    |  06   |  SATA1      |
 |   3    |  05   |  USB3 HOST1 |
 |   4    |  05   |  PCIe1      |
 |   5    |  00   |  SGMII2     |
 --------------------------------
:** Link is Gen1, check the EP capability
PCIe, Idx 0: Link upgraded to Gen2 based on client cpabilities
:** Link is Gen1, check the EP capability
PCIe, Idx 1: remains Gen1
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.26.0
mvSysEnvGetTopologyUpdateInfo: TWSI Read failed
DDR3 Training Sequence - Switching XBAR Window to FastPath Window
DDR3 Training Sequence - Ended Successfully
Not detected suspend to RAM indication
BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_
        | | | |___|  _ \ / _ \ / _ \| __|
        | |_| |___| |_) | (_) | (_) | |_
         \___/    |____/ \___/ \___/ \__|
 ** LOADER **


U-Boot 2013.01 (Mar 27 2015 - 16:55:31) Marvell version: 2014_T3.0p6

Boot version : v2.0.13

Board: RD-NAS-88F6820-DDR3
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  512 MiB

Map:   Code:                    0x1fea9000:0x1ff7632c
       BSS:                     0x1ffef6b4
       Stack:                   0x1f9a8f20
       Heap:                    0x1f9a9000:0x1fea9000
raise: Signal # 8 caught
U-ENV offset == 0x200000
raise: Signal # 8 caught
U-ENV offset == 0x200000
       U-Boot Environment:      0x00200000:0x00220000 (NAND)

NAND:  128 MiB
MMC:   mv_sdh: 0
DEVINFO offset == 0x900000
U-ENV offset == 0x200000
U-ENV offset == 0x200000
S-ENV offset == 0x240000


#### auto_recovery ####
[u_env] get auto_recovery == yes
[u_env] get auto_recovery == yes
[u_env] get boot_part == 1
[u_env] get boot_part_ready == 3
auto_recovery enabled:1, boot_part:1, boot_part_ready:3

S-ENV offset == 0x240000
[boot_count_read] block:0x240000, size:128KB, records:64
[boot_count_read_record] boot_count:2, next_record:24

[boot_count_write] erase:0, auto_recovery->block_offset:0x240000 offset=0x24C000

Updating boot_count ...
[boot_count_write] offset:0x24C000 , length:2048
done

PCI-e 0 (IF 0 - bus 0) Root Complex Interface, Detected Link X1, GEN 2.0
PCI-e 1 (IF 1 - bus 1) Root Complex Interface, Detected Link X1, GEN 1.1
USB2.0 0: Host Mode
USB3.0 1: Host Mode
USB3.0 0: Host Mode
Board configuration detected:
mvEthE6171SwitchBasicInit init
Net:
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x01     |
| egiga1 |   SGMII   |     0x00     |
egiga0 [PRIME], egiga1
auto_recovery_check changes bootcmd: run nandboot
Hit any key to stop autoboot:  0
Marvell>>

tftp flash:

Marvell>> setenv firmwareName caiman.img
Marvell>> setenv ipaddr 192.168.1.1
Marvell>> setenv serverip 192.168.1.2
Marvell>> run update_both_images
## Error: "update_both_images" not defined
Marvell>> env default -a
## Resetting to default environment
Marvell>> setenv serverip 192.168.1.2
Marvell>> run update_both_images
Using egiga0 device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'caiman.img'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##
         6.1 MiB/s
done
Bytes transferred = 9568256 (920000 hex)

NAND erase: device 0 offset 0xa00000, size 0x2800000
Erasing at 0x31e0000 -- 100% complete.
OK

NAND erase: device 0 offset 0x3200000, size 0x2800000
Erasing at 0x59e0000 -- 100% complete.
OK

NAND write: device 0 offset 0xa00000, size 0x920000
 9568256 bytes written: OK

NAND write: device 0 offset 0x3200000, size 0x920000
 9568256 bytes written: OK
Marvell>>

I don't know why I need to reset to default environment for the run to work.

boot:

Marvell>> boot

NAND read: device 0 offset 0xa00000, size 0x600000
 6291456 bytes read: OK
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   ARM OpenWrt Linux-4.14.63
   Created:      2018-08-16   7:51:15 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2478075 Bytes = 2.4 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.63 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7101-a63e38b)) #0 SMP Wed Aug 15 20:42:39 2018
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Linksys WRT1200AC
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] random: get_random_bytes called from 0xc08008d0 with crng_init=0
[    0.000000] percpu: Embedded 12 pages/cpu @dfbd0000 s18892 r8192 d22068 u49152
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock5 ro rootdelay=1 rootfstype=jffs2 earlyprintk mtdparts=armada-nand:2048K(uboot)ro,256K(u_env),256K(s_env),1m@9m(devinfo),40m@10m(kernel),34m@16m(rootfs),40m@50m(alt_kernel),34m@56m(alt_rootfs),80m@10m(ubifs),-@90m(syscfg)
[    0.000000] Bootloader command line (ignored): console=ttyS0,115200 root=/dev/mtdblock5 ro rootdelay=1 rootfstype=jffs2 earlyprintk mtdparts=armada-nand:2048K(uboot)ro,256K(u_env),256K(s_env),1m@9m(devinfo),40m@10m(kernel),34m@16m(rootfs),40m@50m(alt_kernel),34m@56m(alt_rootfs),80m@10m(ubifs),-@90m(syscfg)
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 510904K/524288K available (6144K kernel code, 197K rwdata, 804K rodata, 1024K init, 248K bss, 13384K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0800000 - 0xc0900000   (1024 kB)
[    0.000000]       .data : 0xc0900000 - 0xc0931680   ( 198 kB)
[    0.000000]        .bss : 0xc0931680 - 0xc096f774   ( 249 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000007] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
[    0.000018] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.000033] Switching to timer-based delay loop, resolution 1ns
[    0.000168] Ignoring duplicate/late registration of read_current_timer delay
[    0.000176] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000331] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.000340] pid_max: default: 32768 minimum: 301
[    0.000399] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000405] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000650] CPU: Testing write buffer coherency: ok
[    0.000771] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.000895] Setting up static identity map for 0x100000 - 0x100060
[    0.000977] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.001060] mvebu-pmsu: Initializing Power Management Service Unit
[    0.001111] Hierarchical SRCU implementation.
[    0.001315] smp: Bringing up secondary CPUs ...
[    0.001448] Booting CPU 1
[    0.001617] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.001662] smp: Brought up 1 node, 2 CPUs
[    0.001669] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.001673] CPU: All CPU(s) started in SVC mode.
[    0.003452] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.003509] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.003517] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.003571] pinctrl core: initialized pinctrl subsystem
[    0.003935] NET: Registered protocol family 16
[    0.004526] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.005249] cpuidle: using governor ladder
[    0.005435] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.005443] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.013341] reg-fixed-voltage usb3_1-vbus: could not find pctldev for node /soc/internal-regs/pinctrl@18000/usb3_1-vbus-pins, deferring probe
[    0.013506] SCSI subsystem initialized
[    0.013777] usbcore: registered new interface driver usbfs
[    0.013807] usbcore: registered new interface driver hub
[    0.013842] usbcore: registered new device driver usb
[    0.014575] clocksource: Switched to clocksource arm_global_timer
[    0.014954] NET: Registered protocol family 2
[    0.015232] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.015259] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.015297] TCP: Hash tables configured (established 4096 bind 4096)
[    0.015337] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.015354] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.015427] NET: Registered protocol family 1
[    0.016457] Crashlog allocated RAM at address 0x3f00000
[    0.016662] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.018466] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.018474] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.019705] io scheduler noop registered
[    0.019712] io scheduler deadline registered (default)
[    0.020227] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.021316] mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00
[    0.021326] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.021332] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    0.021338] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.021532] PCI: bus0: Fast back to back transfers disabled
[    0.021539] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.021546] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.021782] PCI: bus1: Fast back to back transfers disabled
[    0.022067] PCI: bus2: Fast back to back transfers disabled
[    0.022099] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe01fffff]
[    0.022106] pci 0000:00:02.0: BAR 8: assigned [mem 0xe0200000-0xe03fffff]
[    0.022114] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit pref]
[    0.022125] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0100000-0xe01fffff 64bit pref]
[    0.022135] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.022142] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe01fffff]
[    0.022151] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0200000-0xe02fffff 64bit pref]
[    0.022163] pci 0000:02:00.0: BAR 2: assigned [mem 0xe0300000-0xe03fffff 64bit pref]
[    0.022174] pci 0000:00:02.0: PCI bridge to [bus 02]
[    0.022180] pci 0000:00:02.0:   bridge window [mem 0xe0200000-0xe03fffff]
[    0.022454] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.085142] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.085267] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.145054] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.145222] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.145987] console [ttyS0] disabled
[    0.166064] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    0.931099] console [ttyS0] enabled
[    0.936258] loop: module loaded
[    0.939739] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    0.948852] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    0.958048] scsi host0: ahci-mvebu
[    0.961622] scsi host1: ahci-mvebu
[    0.965125] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41
[    0.973084] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 41
[    0.981492] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    0.989293] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[    0.995694] nand: AMD/Spansion S34ML01G2
[    0.999638] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.007265] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.014458] Bad block table found at page 65472, version 0x01
[    1.020588] Bad block table found at page 65408, version 0x01
[    1.026651] 10 fixed-partitions partitions found on MTD device pxa3xx_nand-0
[    1.033736] Creating 10 MTD partitions on "pxa3xx_nand-0":
[    1.039260] 0x000000000000-0x000000200000 : "u-boot"
[    1.044508] 0x000000200000-0x000000240000 : "u_env"
[    1.049637] 0x000000240000-0x000000280000 : "s_env"
[    1.054757] 0x000000900000-0x000000a00000 : "devinfo"
[    1.060048] 0x000000a00000-0x000003200000 : "kernel1"
[    1.065443] 0x000001000000-0x000003200000 : "ubi"
[    1.070466] 0x000003200000-0x000005a00000 : "kernel2"
[    1.075860] 0x000003800000-0x000005a00000 : "rootfs2"
[    1.081241] 0x000005a00000-0x000008000000 : "syscfg"
[    1.086557] 0x000000280000-0x000000900000 : "unused_area"
[    1.092558] libphy: Fixed MDIO Bus: probed
[    1.097029] libphy: orion_mdio_bus: probed
[    1.101332] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.110259] mvneta f1070000.ethernet eth0: Using random mac address 4e:d8:77:3a:9b:1f
[    1.119570] mvneta f1034000.ethernet eth1: Using random mac address de:d2:a0:c1:f1:66
[    1.127624] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.134187] ehci-pci: EHCI PCI platform driver
[    1.138689] ehci-platform: EHCI generic platform driver
[    1.144017] ehci-orion: EHCI orion driver
[    1.148151] orion-ehci f1058000.usb: EHCI Host Controller
[    1.153589] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.161256] orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
[    1.194552] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.200750] hub 1-0:1.0: USB hub found
[    1.204534] hub 1-0:1.0: 1 port detected
[    1.208977] usbcore: registered new interface driver usb-storage
[    1.215209] i2c /dev entries driver
[    1.230116] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    1.242589] orion_wdt: Initial timeout 171 sec
[    1.247338] sdhci: Secure Digital Host Controller Interface driver
[    1.253550] sdhci: Copyright(c) Pierre Ossman
[    1.258040] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.267477] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.275172] NET: Registered protocol family 10
[    1.280176] Segment Routing with IPv6
[    1.283890] NET: Registered protocol family 17
[    1.288389] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.301531] 8021q: 802.1Q VLAN Support v1.8
[    1.305812] Registering SWP/SWPB emulation handler
[    1.305859] ata2: SATA link down (SStatus 0 SControl 300)
[    1.305886] ata1: SATA link down (SStatus 0 SControl 300)
[    1.323207] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.328591] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 2
[    1.336189] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.344788] xhci-hcd f10f8000.usb3: irq 43, io mem 0xf10f8000
[    1.350853] hub 2-0:1.0: USB hub found
[    1.354650] hub 2-0:1.0: 1 port detected
[    1.358711] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.364057] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    1.371600] xhci-hcd f10f8000.usb3: Host supports USB 3.0  SuperSpeed
[    1.378117] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.386465] hub 3-0:1.0: USB hub found
[    1.390249] hub 3-0:1.0: 1 port detected
[    1.394574] UBI: auto-attach mtd5
[    1.397908] ubi0: attaching mtd5
[    1.408121] UBI: EOF marker found, PEBs from 20 will be erased
[    1.414100] ubi0: scanning is finished
[    1.418580] random: fast init done
[    1.437280] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 230 LEBs
[    1.444026] ubi0: attached mtd5 (name "ubi", size 34 MiB)
[    1.449464] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.456379] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.463202] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.470205] ubi0: good PEBs: 272, bad PEBs: 0, corrupted PEBs: 0
[    1.476246] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    1.483506] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 398003705
[    1.492601] ubi0: available PEBs: 0, total reserved PEBs: 272, PEBs reserved for bad PEB handling: 20
[    1.501897] ubi0: background thread "ubi_bgt0d" started, PID 696
[    1.508224] block ubiblock0_0: created from ubi0:0(rootfs)
[    1.513744] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    1.521003] mvsw61xx 10.mvsw61xx: Found MV88E6176 at f1072004.mdio-mii:10
[    1.527842] mvsw61xx 10.mvsw61xx: Using direct addressing
[    1.542009] hctosys: unable to open rtc device (rtc0)
[    1.547536] Waiting 1 sec before mounting root device...
[    2.566621] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    2.574440] Freeing unused kernel memory: 1024K
[    2.794936] init: Console is alive
[    2.798435] init: - watchdog -
[    2.997411] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.034300] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.043189] init: - preinit -
[    3.229823] mvneta f1070000.ethernet tmp0: renamed from eth0
[    3.235731] random: procd: uninitialized urandom read (4 bytes read)
[    3.276208] mvneta f1034000.ethernet eth0: renamed from eth1
[    3.316175] mvneta f1070000.ethernet eth1: renamed from tmp0
[    3.622229] random: jshn: uninitialized urandom read (4 bytes read)
[    3.641382] random: jshn: uninitialized urandom read (4 bytes read)
[    3.849919] mvneta f1034000.ethernet eth0: configuring for fixed/sgmii link mode
[    3.857830] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    3.863901] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    3.872203] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
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
[    6.972145] UBIFS (ubi0:1): default file-system created
[    6.977856] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 806
[    7.019607] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    7.027489] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    7.037460] UBIFS (ubi0:1): FS size: 27934720 bytes (26 MiB, 220 LEBs), journal size 1396736 bytes (1 MiB, 11 LEBs)
[    7.047958] UBIFS (ubi0:1): reserved for root: 1319425 bytes (1288 KiB)
[    7.054612] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 90D2CEE4-BF65-4F86-A139-723AE89AEFE9, small LPT model
[    7.066905] mount_root: overlay filesystem has not been fully initialized yet
[    7.074288] mount_root: switching to ubifs overlay
[    7.124987] ubi1: attaching mtd8
[    7.231921] ubi1: scanning is finished
[    7.240313] ubi1: attached mtd8 (name "syscfg", size 38 MiB)
[    7.246013] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    7.252923] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    7.259750] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[    7.266750] ubi1: good PEBs: 296, bad PEBs: 8, corrupted PEBs: 0
[    7.272787] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[    7.280050] ubi1: max/mean erase counter: 11/6, WL threshold: 4096, image sequence number: 1365597470
[    7.289319] ubi1: available PEBs: 0, total reserved PEBs: 296, PEBs reserved for bad PEB handling: 12
[    7.298595] ubi1: background thread "ubi_bgt1d" started, PID 816
UBI device number 1, total 296 LEBs (37584896 bytes, 35.8 MiB), [    7.308997] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 820
available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
[    7.362024] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "syscfg"
[    7.369478] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    7.379452] UBIFS (ubi1:0): FS size: 34283520 bytes (32 MiB, 270 LEBs), journal size 1777664 bytes (1 MiB, 14 LEBs)
[    7.389945] UBIFS (ubi1:0): reserved for root: 1619295 bytes (1581 KiB)
[    7.396598] UBIFS (ubi1:0): media format: w4/r0 (latest is w5/r0), UUID 7F131E2F-42B8-4D29-A65E-D0588881A857, small LPT model
[    7.409201] urandom-seed: Seed file not found (/etc/urandom.seed)
[    7.446685] mvneta f1034000.ethernet eth0: Link is Down
[    7.497101] procd: - early -
[    7.500023] procd: - watchdog -
[    8.105390] procd: - watchdog -
[    8.108646] procd: - ubus -
[    8.151932] urandom_read: 3 callbacks suppressed
[    8.151936] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.163308] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.169796] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.176414] procd: - init -
Please press Enter to activate this console.
[    8.275070] kmodloader: loading kernel modules from /etc/modules.d/*
[    8.282614] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    8.605602] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[    8.613649] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[    8.628505] <<Marvell Mac80211 Wireless PCIE Network Driver version 10.3.8.0-20180615>>
[    8.636581] pci 0000:00:01.0: enabling device (0140 -> 0142)
[    9.724558] ieee80211 phy0: device node: /soc/pcie/pcie@1,0
[    9.748571] ieee80211 phy0: firmware version: 0x702091a
[   10.100563] ieee80211 phy0: firmware region code: 30
[   10.130465] ieee80211 phy0: 2G disabled, 5G enabled
[   10.135394] ieee80211 phy0: 2 TX antennas, 2 RX antennas
[   10.140926] pci 0000:00:02.0: enabling device (0140 -> 0142)
[   11.224578] ieee80211 phy1: device node: /soc/pcie/pcie@2,0
[   11.248577] ieee80211 phy1: firmware version: 0x702091a
[   11.600564] ieee80211 phy1: firmware region code: 30
[   11.628508] ieee80211 phy1: 2G enabled, 5G disabled
[   11.633429] ieee80211 phy1: 2 TX antennas, 2 RX antennas
[   11.640117] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.965964] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[   12.135091] xt_time: kernel timezone is -0000
[   12.305757] PPP generic driver version 2.4.2
[   12.310401] NET: Registered protocol family 24
[   12.315631] kmodloader: done loading kernel modules from /etc/modules.d/*
[   12.572852] random: crng init done
[   12.576276] random: 1 urandom warning(s) missed due to ratelimiting
[   15.067412] mvneta f1034000.ethernet eth0: configuring for fixed/sgmii link mode
[   15.074944] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   15.081153] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   15.097324] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   15.107247] br-lan: port 1(eth0.1) entered blocking state
[   15.112677] br-lan: port 1(eth0.1) entered disabled state
[   15.118253] device eth0.1 entered promiscuous mode
[   15.123069] device eth0 entered promiscuous mode
[   15.139272] br-lan: port 1(eth0.1) entered blocking state
[   15.144727] br-lan: port 1(eth0.1) entered forwarding state
[   15.150405] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   15.171905] mvneta f1070000.ethernet eth1: configuring for fixed/rgmii-id link mode
[   15.180128] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   15.186073] mvneta f1070000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   15.194005] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   16.085152] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

At this state I can handle the router. Once I restart it, it bricks again.

The important thing to see is what happens in the case that you do not not hit any keys to stop autoboot, so it tries to boot by itself. That would be like you want normal operation where someone not having a serial connection plugs in the power and expects it to boot.

Having to reset to default environment seems to mean that something in the saved environment is wrong. For example if there is no boot script in the saved environment, it will stop with a prompt even if no keys were pressed at "hit any key to stop autoboot", because the bootloader doesn't know anything else to do.

1 Like

Sorry. Here you go:

Hit any key to stop autoboot: 0

Error: "altnandboot" not defined

That's what happens.

you will have to save things I think.

1 Like

That did it! Thank you! To think I was about to give up and RMA it.

Seriously, thanks!

1 Like

Doesn't explain why it hangs in the first place however?

I don't really know. Probably a power outage or something?

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.