Belkin RT3200/Linksys E8450 WiFi AX discussion

@daniel and community
--as followup -

using your tools, I've successfully gone back to original from old backups of mtd0, mtd1, mtd2, mtd3.

i've also successfully gone to the v1.1.1 installer and new ubi fs layout, with current (r25567) snapshot build running well.

the only glitch is seeming impossibility of going back to stck again, since ubifs cannot be detached from the production or recovery image. i await your next update to the installer,
thank you agian for these tools and your expertise

I will would really appreciate if someone can help me. My router seems that is semi bricked. I have described the problem here: https://forum.openwrt.org/t/belkin-rt3200-linksys-e8450-wifi-ax-discussion/94302/4597?u=underworld , however today I wanted to update to the latest snapshot and the router didn't powered on - No LEds.
I plugged it off, waited 5 mins - nothing, after 10 more minutes it powered on. I decided to test and normal reboot. Again the same after 10 mins off the electical network it powered on. I was able to make a kernel print:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.1.80 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r25464-79ee4cb039) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Mon Mar 11 08:58:20 2024
[    0.000000] Machine model: Linksys E8450 (UBI)
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000042ffffff]
[    0.000000]   node   0: [mem 0x0000000043000000-0x000000004302ffff]
[    0.000000]   node   0: [mem 0x0000000043030000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.4
[    0.000000] percpu: Embedded 18 pages/cpu s33896 r8192 d31640 u73728
[    0.000000] pcpu-alloc: s33896 r8192 d31640 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] CPU features: detected: ARM erratum 843419
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129024
[    0.000000] Kernel command line: earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n1 swiotlb=512 ubi.block=0,fit root=/dev/fit0 rootwait
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 500636K/524288K available (8768K kernel code, 910K rwdata, 2480K rodata, 448K init, 310K bss, 23652K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 12.50MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049cda, max_idle_ns: 440795202628 ns
[    0.000000] sched_clock: 56 bits at 13MHz, resolution 80ns, wraps every 4398046511080ns
[    0.008273] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[    0.018674] pid_max: default: 32768 minimum: 301
[    0.023592] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.030939] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.039988] cblist_init_generic: Setting adjustable number of callback queues.
[    0.047277] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.053523] rcu: Hierarchical SRCU implementation.
[    0.058334] rcu: 	Max phase no-delay instances is 1000.
[    0.064057] smp: Bringing up secondary CPUs ...
[    0.069000] Detected VIPT I-cache on CPU1
[    0.069011] CPU features: SANITY CHECK: Unexpected variation in SYS_CNTFRQ_EL0. Boot CPU: 0x00000000bebc20, CPU1: 0x00000000000000
[    0.069033] CPU features: Unsupported CPU feature variation detected.
[    0.069112] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.069182] smp: Brought up 1 node, 2 CPUs
[    0.102105] SMP: Total of 2 processors activated.
[    0.106821] CPU features: detected: 32-bit EL0 Support
[    0.111977] CPU features: detected: CRC32 instructions
[    0.117156] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.125542] CPU: All CPU(s) started at EL2
[    0.129646] alternatives: applying system-wide alternatives
[    0.140075] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.149970] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.156918] pinctrl core: initialized pinctrl subsystem
[    0.163098] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.169378] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.176494] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.184285] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.192688] thermal_sys: Registered thermal governor 'fair_share'
[    0.192694] thermal_sys: Registered thermal governor 'bang_bang'
[    0.198807] thermal_sys: Registered thermal governor 'step_wise'
[    0.204840] thermal_sys: Registered thermal governor 'user_space'
[    0.210948] ASID allocator initialised with 65536 entries
[    0.222885] pstore: Registered ramoops as persistent store backend
[    0.229093] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.254858] cryptd: max_cpu_qlen set to 1000
[    0.260577] SCSI subsystem initialized
[    0.264543] libata version 3.00 loaded.
[    0.269785] clocksource: Switched to clocksource arch_sys_counter
[    0.276659] NET: Registered PF_INET protocol family
[    0.281732] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.289651] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.298066] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.305848] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.313655] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.321007] TCP: Hash tables configured (established 4096 bind 4096)
[    0.327484] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.334060] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.341224] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.346925] PCI: CLS 0 bytes, default 64
[    0.352076] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    0.362328] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.368193] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.412432] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.421233] mt7622-pinctrl 10211000.pinctrl: invalid group "pwm_ch7_2" for function "pwm"
[    0.434156] mt-pmic-pwrap 10001000.pwrap: unexpected interrupt int=0x1
[    0.456680] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.465531] printk: console [ttyS0] disabled
[    0.490011] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 118, base_baud = 1562500) is a ST16650V2
[    0.499336] printk: console [ttyS0] enabled
[    0.507710] printk: bootconsole [uart8250] disabled
[    0.538334] 11004000.serial: ttyS1 at MMIO 0x11004000 (irq = 119, base_baud = 1562500) is a ST16650V2
[    0.548991] mtk_rng 1020f000.rng: registered RNG driver
[    0.549213] random: crng init done
[    0.561297] loop: module loaded
[    0.564701] Loading iSCSI transport class v2.0-870.
[    0.570794] mtk-ecc 1100e000.ecc: probed
[    0.578464] spi-nand spi2.0: Fidelix SPI NAND was found.
[    0.583824] spi-nand spi2.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.591992] mtk-snand 1100d000.spi: ECC strength: 4 bits per 512 bytes
[    0.598868] 2 fixed-partitions partitions found on MTD device spi2.0
[    0.605273] OF: Bad cell count for /spi@1100d000/flash@0/partitions
[    0.611602] OF: Bad cell count for /spi@1100d000/flash@0/partitions
[    0.618107] Creating 2 MTD partitions on "spi2.0":
[    0.622915] 0x000000000000-0x000000080000 : "bl2"
[    0.628805] 0x000000080000-0x000008000000 : "ubi"
[    0.765651] ubi0: default fastmap pool size: 50
[    0.770210] ubi0: default fastmap WL pool size: 25
[    0.774999] ubi0: attaching mtd1
[    1.055693] ubi0: scanning is finished
[    1.064185] ubi0: attached mtd1 (name "ubi", size 127 MiB)
[    1.069683] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.076570] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.083361] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.090320] ubi0: good PEBs: 1020, bad PEBs: 0, corrupted PEBs: 0
[    1.096405] ubi0: user volume: 8, internal volumes: 1, max. volumes count: 128
[    1.103621] ubi0: max/mean erase counter: 6/3, WL threshold: 4096, image sequence number: 1959368087
[    1.112748] ubi0: available PEBs: 0, total reserved PEBs: 1020, PEBs reserved for bad PEB handling: 20
[    1.122058] ubi0: background thread "ubi_bgt0d" started, PID 255
[    1.122280] OF: Bad cell count for /spi@1100d000/flash@0/partitions
[    1.134515] OF: Bad cell count for /spi@1100d000/flash@0/partitions
[    1.141473] block ubiblock0_5: created from ubi0:5(fit)
[    1.318942] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xffffffc0094c0000, irq 126
[    1.328872] i2c_dev: i2c /dev entries driver
[    1.334822] mtk-wdt 10212000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    1.345528] NET: Registered PF_INET6 protocol family
[    1.351460] Segment Routing with IPv6
[    1.355144] In-situ OAM (IOAM) with IPv6
[    1.359102] NET: Registered PF_PACKET protocol family
[    1.364232] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.377489] 8021q: 802.1Q VLAN Support v1.8
[    1.383254] pstore: Using crash dump compression: deflate
[    1.401411] mtk-pcie 1a143000.pcie: host bridge /pcie@1a143000 ranges:
[    1.407962] mtk-pcie 1a143000.pcie: Parsing ranges property...
[    1.413859] mtk-pcie 1a143000.pcie:      MEM 0x0020000000..0x0027ffffff -> 0x0020000000
[    1.676267] mtk-pcie 1a143000.pcie: PCI host bridge to bus 0000:00
[    1.682494] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.687984] pci_bus 0000:00: root bus resource [mem 0x20000000-0x27ffffff]
[    1.694861] pci_bus 0000:00: scanning bus
[    1.699043] pci 0000:00:00.0: [14c3:3258] type 01 class 0x060400
[    1.705238] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x1ffffffff 64bit pref]
[    1.715474] pci_bus 0000:00: fixups for bus
[    1.719670] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[    1.726385] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.734461] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[    1.741590] pci_bus 0000:01: scanning bus
[    1.745746] pci 0000:01:00.0: [14c3:7915] type 00 class 0x000280
[    1.751940] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.759266] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.766595] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.774580] pci 0000:01:00.0: supports D1 D2
[    1.778844] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.785483] pci 0000:01:00.0: PME# disabled
[    1.790022] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.830072] pci_bus 0000:01: fixups for bus
[    1.834274] pci_bus 0000:01: bus scan returning with max=01
[    1.839876] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.846505] pci_bus 0000:00: bus scan returning with max=01
[    1.852112] pci 0000:00:00.0: BAR 0: no space for [mem size 0x200000000 64bit pref]
[    1.859787] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x200000000 64bit pref]
[    1.867796] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
[    1.874603] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit pref]
[    1.882451] pci 0000:01:00.0: BAR 2: assigned [mem 0x20100000-0x20103fff 64bit pref]
[    1.890305] pci 0000:01:00.0: BAR 4: assigned [mem 0x20104000-0x20104fff 64bit pref]
[    1.898140] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.903123] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x201fffff]
[    1.910118] pcieport 0000:00:00.0: assign IRQ: got 130
[    1.915272] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    1.921404] pcieport 0000:00:00.0: enabling bus mastering
[    1.926883] mtk-pcie 1a143000.pcie: msi#0 address_hi 0x0 address_lo 0x44f0d0c0
[    1.934417] pcieport 0000:00:00.0: PME: Signaling with IRQ 130
[    1.940438] pcieport 0000:00:00.0: saving config space at offset 0x0 (reading 0x325814c3)
[    1.948626] pcieport 0000:00:00.0: saving config space at offset 0x4 (reading 0x100006)
[    1.956660] pcieport 0000:00:00.0: saving config space at offset 0x8 (reading 0x6040000)
[    1.964766] pcieport 0000:00:00.0: saving config space at offset 0xc (reading 0x10000)
[    1.972693] pcieport 0000:00:00.0: saving config space at offset 0x10 (reading 0xc)
[    1.980361] pcieport 0000:00:00.0: saving config space at offset 0x14 (reading 0x0)
[    1.988018] pcieport 0000:00:00.0: saving config space at offset 0x18 (reading 0x40010100)
[    1.996292] pcieport 0000:00:00.0: saving config space at offset 0x1c (reading 0x4200000)
[    2.004480] pcieport 0000:00:00.0: saving config space at offset 0x20 (reading 0x20102000)
[    2.012763] pcieport 0000:00:00.0: saving config space at offset 0x24 (reading 0x0)
[    2.020431] pcieport 0000:00:00.0: saving config space at offset 0x28 (reading 0x0)
[    2.028088] pcieport 0000:00:00.0: saving config space at offset 0x2c (reading 0x0)
[    2.035756] pcieport 0000:00:00.0: saving config space at offset 0x30 (reading 0x0)
[    2.043423] pcieport 0000:00:00.0: saving config space at offset 0x34 (reading 0x50)
[    2.051177] pcieport 0000:00:00.0: saving config space at offset 0x38 (reading 0x0)
[    2.058835] pcieport 0000:00:00.0: saving config space at offset 0x3c (reading 0x20182)
[    2.067696] mtk-pcie 1a145000.pcie: host bridge /pcie@1a145000 ranges:
[    2.074298] mtk-pcie 1a145000.pcie: Parsing ranges property...
[    2.080159] mtk-pcie 1a145000.pcie:      MEM 0x0028000000..0x002fffffff -> 0x0028000000
[    2.419835] mtk-pcie 1a145000.pcie: Port1 link down
[    2.424946] mtk-pcie 1a145000.pcie: PCI host bridge to bus 0001:00
[    2.431155] pci_bus 0001:00: root bus resource [bus 00-ff]
[    2.436644] pci_bus 0001:00: root bus resource [mem 0x28000000-0x2fffffff]
[    2.443525] pci_bus 0001:00: scanning bus
[    2.449348] pci_bus 0001:00: fixups for bus
[    2.453538] pci_bus 0001:00: bus scan returning with max=00
[    2.459808] mtk_hsdma 1b007000.dma-controller: MediaTek HSDMA driver registered
[    2.468030] FIT: Detected U-Boot 2024.01-OpenWrt-r25361-a86ff06d2e
[    2.474234] FIT: Selected configuration: "config-1" (OpenWrt linksys_e8450-ubi)
[    2.481557] FIT:           kernel sub-image 0x00001000..0x0057abc9 "kernel-1" (ARM64 OpenWrt Linux-6.1.80) 
[    2.491310] FIT:          flat_dt sub-image 0x0057b000..0x00582abb "fdt-1" (ARM64 OpenWrt linksys_e8450-ubi device tree blob) 
[    2.502707] FIT:       filesystem sub-image 0x00583000..0x00a94fff "rootfs-1" (ARM64 OpenWrt linksys_e8450-ubi rootfs) 
[    2.513974] block ubiblock0_5: mapped 1 uImage.FIT filesystem sub-image as /dev/fit0
[    2.566807] mt7530-mdio mdio-bus:00: configuring for fixed/2500base-x link mode
[    2.576078] mt7530-mdio mdio-bus:00: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    2.585060] mt7530-mdio mdio-bus:00 lan1 (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7531 PHY] (irq=133)
[    2.605674] mt7530-mdio mdio-bus:00 lan2 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=134)
[    2.626039] mt7530-mdio mdio-bus:00 lan3 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=135)
[    2.646450] mt7530-mdio mdio-bus:00 lan4 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=136)
[    2.667163] mt7530-mdio mdio-bus:00 wan (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7531 PHY] (irq=137)
[    2.678590] device eth0 entered promiscuous mode
[    2.683288] DSA: tree 0 setup
[    2.686772] UBI: auto-attach mtd1
[    2.690108] ubi: mtd1 is already attached to ubi0
[    2.694804] UBI error: cannot attach mtd1
[    2.702549] VFS: Mounted root (squashfs filesystem) readonly on device 259:0.
[    2.709931] Freeing unused kernel memory: 448K
[    2.749940] Run /sbin/init as init process
[    2.754051]   with arguments:
[    2.757016]     /sbin/init
[    2.759720]   with environment:
[    2.762910]     HOME=/
[    2.765270]     TERM=linux
[    2.970730] init: Console is alive
[    2.974318] init: - watchdog -
[    3.400901] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.429314] usbcore: registered new interface driver usbfs
[    3.434891] usbcore: registered new interface driver hub
[    3.440281] usbcore: registered new device driver usb
[    3.451936] xhci-mtk 1a0c0000.usb: xHCI Host Controller
[    3.457199] xhci-mtk 1a0c0000.usb: new USB bus registered, assigned bus number 1
[    3.466279] xhci-mtk 1a0c0000.usb: hcc params 0x01403198 hci version 0x96 quirks 0x0000000000210010
[    3.475377] xhci-mtk 1a0c0000.usb: irq 138, io mem 0x1a0c0000
[    3.481233] xhci-mtk 1a0c0000.usb: xHCI Host Controller
[    3.486459] xhci-mtk 1a0c0000.usb: new USB bus registered, assigned bus number 2
[    3.493866] xhci-mtk 1a0c0000.usb: Host supports USB 3.0 SuperSpeed
[    3.500623] hub 1-0:1.0: USB hub found
[    3.504429] hub 1-0:1.0: 2 ports detected
[    3.508884] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.517561] hub 2-0:1.0: USB hub found
[    3.521469] hub 2-0:1.0: 1 port detected
[    3.530645] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.548297] init: - preinit -
[    3.846717] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    3.855297] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    3.863611] mt7530-mdio mdio-bus:00 lan1: configuring for phy/gmii link mode
[    3.871724] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.028379] UBIFS (ubi0:7): Mounting in unauthenticated mode
[    6.034209] UBIFS (ubi0:7): background thread "ubifs_bgt0_7" started, PID 621
[    6.079272] UBIFS (ubi0:7): UBIFS: mounted UBI device 0, volume 7, name "rootfs_data"
[    6.087181] UBIFS (ubi0:7): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    6.097111] UBIFS (ubi0:7): FS size: 95993856 bytes (91 MiB, 756 LEBs), max 767 LEBs, journal size 4825088 bytes (4 MiB, 38 LEBs)
[    6.108777] UBIFS (ubi0:7): reserved for root: 4534026 bytes (4427 KiB)
[    6.115397] UBIFS (ubi0:7): media format: w5/r0 (latest is w5/r0), UUID 21633BBA-1D73-42ED-A317-8762D448EC8D, small LPT model
[    6.127749] mount_root: overlay filesystem has not been fully initialized yet
[    6.135639] mount_root: switching to ubifs overlay
[    6.142829] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    6.324077] urandom-seed: Seed file not found (/etc/urandom.seed)
[    6.379420] procd: - early -
[    6.382481] procd: - watchdog -
[    6.943329] procd: - watchdog -
[    6.946885] procd: - ubus -
[    7.108200] procd: - init -
[    7.429299] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.457057] GACT probability on
[    7.461053] Mirror/redirect action on
[    7.470926] u32 classifier
[    7.473642]     input device check on
[    7.477294]     Actions configured
[    7.495173] Loading modules backported from Linux version v6.6.15-0-g51f354b815c4
[    7.502714] Backport generated by backports.git 193becf2
[    7.590206] mt7622-wmac 18000000.wmac: registering led 'mt76-phy0'
[    7.597044] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    7.608075] urngd: v1.0.2 started.
[    7.612731] mt7915e 0000:01:00.0: assign IRQ: got 130
[    7.617833] mt7915e 0000:01:00.0: enabling device (0000 -> 0002)
[    7.623958] mt7915e 0000:01:00.0: enabling bus mastering
[    7.680032] mt7622-wmac 18000000.wmac: HW/SW Version: 0x8a108a10, Build Time: 20190801210006a
[    7.680032] 
[    7.749861] mt7915e 0000:01:00.0: attaching wed device 0 version 1
[    7.765220] mtk_soc_eth 1b100000.ethernet eth0: Link is Down
[    7.775028] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    7.789947] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    7.798614] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.875479] mt7622-wmac 18000000.wmac: N9 Firmware Version: _reserved_, Build Time: 20220630094834
[    7.909953] mt7915e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220929104113a
[    7.909953] 
[    8.064888] mt7915e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20220929104145
[    8.126658] mt7915e 0000:01:00.0: WA Firmware Version: DEV_000000, Build Time: 20220929104205
[    8.243055] mt7915e 0000:01:00.0: registering led 'mt76-phy1'
[    8.280469] PPP generic driver version 2.4.2
[    8.285930] NET: Registered PF_PPPOX protocol family
[    8.294977] kmodloader: done loading kernel modules from /etc/modules.d/*
[   12.134216] mtk_soc_eth 1b100000.ethernet eth0: Link is Down
[   12.150399] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/2500base-x link mode
[   12.161335] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[   12.167002] mt7530-mdio mdio-bus:00 lan1: configuring for phy/gmii link mode
[   12.182875] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   12.192252] br-lan: port 1(lan1) entered blocking state
[   12.197488] br-lan: port 1(lan1) entered disabled state
[   12.208250] device lan1 entered promiscuous mode
[   12.249313] mt7530-mdio mdio-bus:00 lan2: configuring for phy/gmii link mode
[   12.263000] br-lan: port 2(lan2) entered blocking state
[   12.268246] br-lan: port 2(lan2) entered disabled state
[   12.275725] device lan2 entered promiscuous mode
[   12.291544] mt7530-mdio mdio-bus:00 lan3: configuring for phy/gmii link mode
[   12.302543] br-lan: port 3(lan3) entered blocking state
[   12.307793] br-lan: port 3(lan3) entered disabled state
[   12.315565] device lan3 entered promiscuous mode
[   12.332099] mt7530-mdio mdio-bus:00 lan4: configuring for phy/gmii link mode
[   12.344052] br-lan: port 4(lan4) entered blocking state
[   12.349297] br-lan: port 4(lan4) entered disabled state
[   12.357277] device lan4 entered promiscuous mode
[   14.368014] br-lan: port 5(wl0-ap0) entered blocking state
[   14.373588] br-lan: port 5(wl0-ap0) entered disabled state
[   14.379315] device wl0-ap0 entered promiscuous mode
[   14.384385] br-lan: port 5(wl0-ap0) entered blocking state
[   14.389935] br-lan: port 5(wl0-ap0) entered forwarding state
[   14.396266] br-lan: port 5(wl0-ap0) entered disabled state
[   14.504808] IPv6: ADDRCONF(NETDEV_CHANGE): wl0-ap0: link becomes ready
[   14.511489] br-lan: port 5(wl0-ap0) entered blocking state
[   14.516986] br-lan: port 5(wl0-ap0) entered forwarding state
[   14.525675] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   15.062156] br-lan: port 6(wl1-sta0) entered blocking state
[   15.067741] br-lan: port 6(wl1-sta0) entered disabled state
[   15.073544] device wl1-sta0 entered promiscuous mode
[   15.078607] br-lan: port 6(wl1-sta0) entered blocking state
[   15.084217] br-lan: port 6(wl1-sta0) entered forwarding state
[   15.093935] br-lan: port 6(wl1-sta0) entered disabled state
[   15.150683] br-lan: port 6(wl1-sta0) entered blocking state
[   15.156272] br-lan: port 6(wl1-sta0) entered forwarding state
[   15.211313] br-lan: port 6(wl1-sta0) entered disabled state
[   15.260148] device wl1-sta0 left promiscuous mode
[   15.264873] br-lan: port 6(wl1-sta0) entered disabled state
[   15.367664] br-lan: port 6(wl1-ap0) entered blocking state
[   15.373200] br-lan: port 6(wl1-ap0) entered disabled state
[   15.378921] device wl1-ap0 entered promiscuous mode
[   15.383981] br-lan: port 6(wl1-ap0) entered blocking state
[   15.389478] br-lan: port 6(wl1-ap0) entered forwarding state
[   15.399967] br-lan: port 6(wl1-ap0) entered disabled state
[   16.305648] IPv6: ADDRCONF(NETDEV_CHANGE): wl1-ap0: link becomes ready
[   16.312324] br-lan: port 6(wl1-ap0) entered blocking state
[   16.317820] br-lan: port 6(wl1-ap0) entered forwarding state
[   16.455039] br-lan: port 7(wl1-sta0) entered blocking state
[   16.460653] br-lan: port 7(wl1-sta0) entered disabled state
[   16.466418] device wl1-sta0 entered promiscuous mode
[   16.471590] br-lan: port 7(wl1-sta0) entered blocking state
[   16.477164] br-lan: port 7(wl1-sta0) entered forwarding state
[   16.483279] br-lan: port 7(wl1-sta0) entered disabled state
[   17.599038] br-lan: port 6(wl1-ap0) entered disabled state
[

I hope someone can help me fixing the reboot problem.
Thanks
Kind regards

I think the same is happening to my router. Updated today with my own built (from main) and to my surprise it failed to restart as usual (no LEDs). After switching on off several times without success I tried recovery mode and it started. Then I uploaded again the new built and again no success with restarting. I tried again on and off several times until at last it booted fine... even with the previous configuration in place. I don't know what changed since 3 days ago when I had installed this version without any issue.

I am stuck with this version : OpenWrt SNAPSHOT r25464-79ee4cb039. I have another RT3200 running the same version and it restarts normally ..... so far.
By the way I noticed that it is not a matter of waiting 10 mins, but in fact trying to plug it and out several times until it boots.

My 6.1/UBI RT3200 is a brick again of this same kind after a reboot for an AUC snapshot update. (not the first, I did this successfully after unbricking w/6.1+UBI)
fwiw I had the performance policy applied via rc.local (although I suspect it is unrelated to the MTD situation)

I was prepared for the failure, having read @aDEO 's fail-report. :sweat:

Post #4480 Fixed my issue of:

ERROR:   BL2: Failed to load image id 3 (-2)

I think I'd stay with 23.05.X for a while now, also my ISP upgraded me to 500mbps and I no longer have bufferbloat with WED / HW acceleration enabled :joy:

2 Likes

I am having the same symptoms as you and @Gix

I also see it written about here: https://github.com/dangowrt/owrt-ubi-installer/issues/166#issuecomment-1986844103

2 Likes

Good evening,

I use a Belkin RT3200 since quite a while, Unfortunately, I bricked the device. i was always on SNAPSHOT and updated from time to time via the CLI-utility auc. Since mid February that process stopped working with different error messages so i investigated that and run across the information about the changed UBI-layout https://github.com/dangowrt/owrt-ubi-installer/releases/tag/v1.1.1 and followed the instructions (or at least i thought so), and was able to upgrade again, from kernel 5.15.148 to kernel 6.1.81. I had to reconfigure the wifi, but the rest of the old config was working like before. Anyway, two upgrades later the device would not but start again, no leds.

i connected to the serial port, then did

mtk_uartboot.exe -p bl2-for-mtk_uartboot.bin -s COM3 -a -f openwrt-23.05.2-mediatek-mt7622-linksys_e8450-ubi-bl31-uboot.fip

and got into the U-Boot menu:

( ( ( OpenWrt ) ) ) U-Boot 2023.07.02-OpenWrt-r23630-842932a63d (Nov 14 2023 - 13:38:11 +0000)

here i flashed files via TFTP

  1. Load recovery system via TFTP then write to flash.
  2. Load BL31+U-Boot FIP via TFTP then write to flash.
  3. Load BL2 preloader via TFTP then write to flash.

but when i reboot, the system hangs always here:

F0: 102B 0000
F6: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 0400 0041 [0000]
G0: 1190 0000
T0: 0000 02D4 [000F]
Jump to BL

NOTICE:  BL2: v2.9(release):OpenWrt v2023-07-24-00ac6db3-2 (mt7622-snand-1ddr)
NOTICE:  BL2: Built : 13:38:11, Nov 14 2023
NOTICE:  CPU: MT7622
NOTICE:  WDT: Cold boot
NOTICE:  WDT: disabled
NOTICE:  SPI-NAND: FM35Q1GA (128MB)
ERROR:   BL2: Failed to load image id 3 (-2)

Can there be something done about it?

I backed up the mtd[0-3] files before i did the upgrade from kernel 5.15 to 6.1 along with the change of the UBI-scheme.

1 Like

@daniel Here's another debug output.

How I got there. Started with stock fw 1.2.00.360516, and flashed v1.1.1 signed installer. From the signed installer, flashed a openwrt ubi snapshot from last week (can't remember which date). Configured openwrt like normal, and also set the scheduler to "performance" in rc.local. After a couple of days of everything going fine, I ran attended sysupgrade from luci, and ended up with a dead rt3200 (no leds).

1 Like

Has anyone had success with running the mtk_uartboot utility on a Mac?

I've tried a variety of ways and it always gets stuck right after these messages:

NOTICE:  Starting UART download handshake ...
==================================
BL2 UART DL version: 0x10

After that it just sits with the TX led on the serial device barely flickering.
I've had no trouble running this on Windows, but I have been unable to get putty started quickly enough to see the U-Boot menu, so I thought I'd try a different laptop.

I guess it's time to use Linux unless someone has a solution for MacOS.

This won't work in case you already moved to the new FIP-in-UBI layout which was introduced together with the switch to Linux 6.1. You have to use openwrt-mediatek-mt7622-linksys_e8450-ubi-bl31-uboot.fip from snapshot instead, and then rewrite BL2 and BL31+U-Boot via the bootmenu.

1 Like

Let's do some more empirical science on this anyway flooded thread:

  • I'm using the stock power supply and experienced OKD
  • I'm using the stock power supply and never experienced OKD
  • I'm using a 3rd-party power supply and experienced OKD
  • I'm using a 3rd-party power supply and never experienced OKD
0 voters

@daniel is it considered OKD for those of us who keep having to try 2-3 times to boot but it always, eventually, boots?

Wondering if the culprit for many of our bricks is the factory-supplied power adapter...

@daniel said he ran his routers through the ringer trying to cause bricking and couldn't, but also said he uses a special power adapter that wasn't supplied by Linksys or Belkin.

1 Like

Is it considered OKD if it only happened once that after a power cut, router's LEDs stayed off and after several unplug-plug cycles it booted normally, never to happen again? Not even sure if this was OKD. I'm using 3rd party power adapters on two routers imported from USA to Europe. I don't wish to vote incorrectly...

I have a second RT3200 which is ok. I tried with its adapter also factory, but again I got OKD - well semi-OKD as eventually after several power on - It starts.

I did try to turn my RT3200 off & on at least twice after it bricked, and then once more after leaving it turned off for hours. I did not try unplugging it and plugging it back in, unfortunately.

(I was kind of freaking out the night my RT3200 bricked because my whole house was without a router, so I panicked and just bought a GL-MT3000 as replacement — it's been great. I still plan to repair the bricked RT3200 when I have the chance.)

This is exactly how mine bricked. I had successfully updated to the 6.1 kernel and new UBI layout, and it was running fine for a few days, then I ran my first attended sysupgrade and it never came back on.

Did you force the upgrade? My first attended sysupgrade threw an error and I fixed the message by adding the lines recommended above. I've done 4 upgrades since without any issues.

I feel you though, I had another RT3200 that failed two months ago when rebooting, without any prior issues. At the time I had no idea about any of this, so I panicked and started the RMA process. After long hours with Belkin, I ended up with a non RT3200 replacement (RT3200 and E8450 discontinued) that isn't even supported by OpenWRT.