Belkin RT3200/Linksys E8450 WiFi AX discussion


24.10.0 BL31-UBOOT.FIP Using Serial
PRELOADER.BIN
openwrt-24.10.0-mediatek-mt7622-linksys_e8450-ubi-initramfs-recovery.itb has been installed, but you still need to type boot from the serial to work

The data layout changed drastically between 23.05 and 24.10. You should not have been able to use the 24.10 sysupgrade file on a device running 23.05.x; It should have warned you that it required a special upgrade process and couldn't be done simply by sysupgrade.

If you still forced it to load the file even after seeing the warning that it wasn't compatible, then it's directly by your actions that the router is now in a broken state.

Although I suspect I know the answer already, please tell me that when you initially used that special installation procedure to get it to run 23.05 that you did as the instructions stated and copied the data that was in boot_backup? You're most likely going to need that backed up data now in order to get the router running at 100% again.

We have a boot_backup file mtd0,mtd1,mtd2,mtd3

Excellent. That at least will save you a lot of trouble.

Right now, you have a compatibility issue on the router between what the firmware says should be where and what actually is. This is all because of the change in the data layout. The easiest way to recover from this is within this topic, under the heading of 'Hard Recovery' instructions.

The process laid out will restore you to a fully functional, working copy of 23.05.x. Since you have your backup data, you will need the mtd2 file. That contains the factory volume for your router, and that is the only data that is unique to each device. The process will step you through restoring the 22.x preloader, the 23.05.x fip, the factory data, and the recovery image. You'll then need to install a 23.05.x sysupgrade to ensure the router is fully functional and both wireless radios are visible from luci. Only once you have verified this are you able to move on to upgrading to 24.10.

Note: When you finally tried the 1.1.3 installer, you did so after the damage was already done. Once the factory data is lost, the installer will not work and so you are still left in the unbootable state.

Once you have verified that the router is working properly on 23.05.x, please download a fresh copy of the UBI installer v. 1.1.4.

Just like you did when you initially loaded OpenWRT on the router, follow the installation procedure from that site. The installer version 1.1.4 will perform all necessary steps to prepare you for running OpenWRT 24.10.0.

1 Like

Should I work with mtk_uartboot and serial port connection?

Yes. Using mtk_uartboot ensures you won't be relying on something that may/may not be compatible and may/may not be corrupted on the flash chip. It's much like reloading a PC using its separate recovery media.

Edit: If you're using a slow-to-start terminal program like PuTTY, you might not be able to launch it in time to interrupt the automatic boot process. The window to do so is only 3 seconds. If you run into this issue, there is an alternate .FIP available here:
https://github.com/grauerfuchs/owrt_device_support/raw/refs/heads/main/linksys-e8450-foxed-for-openwrt-23.05-noinit.fip
The above-linked FIP should only be used with mtk_uartboot and when recovering to 23.05.x. It is not compatible with the 24.10 layout and it is not suitable to be burned to the flash because it will not boot as expected by a running firmware environment.

[ 14.129040] platform 1b100000.ethernet: deferred probe pending
File transfer to tftp after openingwrt boot by typing tftpboot from uboot is not possible

This error occurs when I try to refer to the post

        ( ( ( OpenWrt ) ) )       U-Boot 2023.07.02-OpenWrt-r24012-d8dd03c46f (J
      1. Run default boot command.
      2. Boot system via TFTP.
      3. Boot production system from flash.
      4. Boot recovery system from flash.
      5. Load production system via TFTP then write to flash.
      6. Load recovery system via TFTP then write to flash.
      7. Load BL31+U-Boot FIP via TFTP then write to flash.
      8. Load BL2 preloader via TFTP then write to flash.
      9. Reboot.
      a. Reset all settings to factory defaults.
      0. U-Boot console


  Press UP/DOWN to move, ENTER to select, ESC to quit
MT7622> run boot_tftp_write_bl2
Using ethernet@1b100000 device
TFTP from server 192.168.1.254; our IP address is 192.168.1.1
Filename 'openwrt-mediatek-mt7622-linksys_e8450-ubi-preloader.bin'.
Load address: 0x48000000
Loading: ######
         1.2 MiB/s
done
Bytes transferred = 88077 (1580d hex)
Erasing 0x00000000 ... 0x0007ffff (4 eraseblock(s))
Writing 131072 byte(s) (64 page(s)) at offset 0x00000000
Writing 131072 byte(s) (64 page(s)) at offset 0x00020000
Writing 131072 byte(s) (64 page(s)) at offset 0x00040000
Writing 131072 byte(s) (64 page(s)) at offset 0x00060000
MT7622> run boot_tftp_write_fip
Using ethernet@1b100000 device
TFTP from server 192.168.1.254; our IP address is 192.168.1.1
Filename 'openwrt-mediatek-mt7622-linksys_e8450-ubi-bl31-uboot.fip'.
Load address: 0x48000000
Loading: #################################################################
         #####
         8.2 MiB/s
done
Bytes transferred = 1020236 (f914c hex)
Erasing 0x00000000 ... 0x0013ffff (10 eraseblock(s))
Writing 1310720 byte(s) (640 page(s)) at offset 0x00000000
MT7622> ubi detach; mtd erase ubi && ubi part ubi
Erasing 0x00000000 ... 0x07cfffff (1000 eraseblock(s))
MT7622> run boot_tftp_recovery
Using ethernet@1b100000 device
TFTP from server 192.168.1.254; our IP address is 192.168.1.1
Filename 'openwrt-mediatek-mt7622-linksys_e8450-ubi-initramfs-recovery.itb'.
Load address: 0x48000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###############################################################
         4.1 MiB/s
done
Bytes transferred = 7602176 (740000 hex)

## Checking Image at 48000000 ...
   FIT image found
   FIT description: ARM64 OpenWrt FIT (Flattened Image Tree)
    Image 0 (kernel-1)
     Description:  ARM64 OpenWrt Linux-5.15.162
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x480000ec
     Data Size:    3768780 Bytes = 3.6 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   8c2f95d1
     Hash algo:    sha1
     Hash value:   85d02e77cb1c9de9f87489c07d7b5bfd91cd43f1
    Image 1 (initrd-1)
     Description:  ARM64 OpenWrt linksys_e8450-ubi initrd
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x483983f4
     Data Size:    3764256 Bytes = 3.6 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    crc32
     Hash value:   54cb1f18
     Hash algo:    sha1
     Hash value:   e5a91128f51c0df39d98fffe5b6e74814817614c
    Image 2 (fdt-1)
     Description:  ARM64 OpenWrt linksys_e8450-ubi device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x4872f524
     Data Size:    30610 Bytes = 29.9 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   da1cd03e
     Hash algo:    sha1
     Hash value:   b658c77bb8e6d29e886668fe18eec6d6cfd218f9
    Default Configuration: 'config-1'
    Configuration 0 (config-1)
     Description:  OpenWrt linksys_e8450-ubi
     Kernel:       kernel-1
     Init Ramdisk: initrd-1
     FDT:          fdt-1
## Checking hash(es) for FIT Image at 48000000 ...
   Hash(es) for Image 0 (kernel-1): crc32+ sha1+
   Hash(es) for Image 1 (initrd-1): crc32+ sha1+
   Hash(es) for Image 2 (fdt-1): crc32+ sha1+
UBI partition 'ubi' already selected
Creating dynamic volume recovery of size 7602176
7602176 bytes written to volume recovery
## Loading kernel from FIT Image at 48000000 ...
   Using 'config-1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-5.15.162
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x480000ec
     Data Size:    3768780 Bytes = 3.6 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   8c2f95d1
     Hash algo:    sha1
     Hash value:   85d02e77cb1c9de9f87489c07d7b5bfd91cd43f1
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading ramdisk from FIT Image at 48000000 ...
   Using 'config-1' configuration
   Trying 'initrd-1' ramdisk subimage
     Description:  ARM64 OpenWrt linksys_e8450-ubi initrd
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x483983f4
     Data Size:    3764256 Bytes = 3.6 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    crc32
     Hash value:   54cb1f18
     Hash algo:    sha1
     Hash value:   e5a91128f51c0df39d98fffe5b6e74814817614c
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 48000000 ...
   Using 'config-1' configuration
   Trying 'fdt-1' fdt subimage
     Description:  ARM64 OpenWrt linksys_e8450-ubi device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x4872f524
     Data Size:    30610 Bytes = 29.9 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   da1cd03e
     Hash algo:    sha1
     Hash value:   b658c77bb8e6d29e886668fe18eec6d6cfd218f9
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x4872f524
Working FDT set to 4872f524
   Uncompressing Kernel Image
   Loading Ramdisk to 5e450000, end 5e7e7020 ... OK
   Loading Device Tree to 000000005e445000, end 000000005e44f791 ... OK
Working FDT set to 5e445000
Add 'ramoops@42ff0000' node failed: FDT_ERR_EXISTS

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.162 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r24012-d8dd03c46f) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Mon Jul 15 22:14:18 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 s33112 r8192 d32424 u73728
[    0.000000] pcpu-alloc: s33112 r8192 d32424 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] Built 1 zonelists, mobility grouping on.  Total pages: 129024
[    0.000000] Kernel command line: earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n1 swiotlb=512
[    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: 498368K/524288K available (8384K kernel code, 904K rwdata, 1436K rodata, 448K init, 307K bss, 25920K 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: 0xffffffc008010000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    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.000001] sched_clock: 56 bits at 12MHz, resolution 80ns, wraps every 4398046511080ns
[    0.008246] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[    0.018644] pid_max: default: 32768 minimum: 301
[    0.023553] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.030899] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.040043] rcu: Hierarchical SRCU implementation.
[    0.045333] smp: Bringing up secondary CPUs ...
[    0.050236] Detected VIPT I-cache on CPU1
[    0.050246] CPU features: SANITY CHECK: Unexpected variation in SYS_CNTFRQ_EL0. Boot CPU: 0x00000000bebc20, CPU1: 0x00000000000000
[    0.050267] CPU features: Unsupported CPU feature variation detected.
[    0.050296] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.050369] smp: Brought up 1 node, 2 CPUs
[    0.083294] SMP: Total of 2 processors activated.
[    0.088011] CPU features: detected: 32-bit EL0 Support
[    0.093167] CPU features: detected: CRC32 instructions
[    0.098348] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.106793] CPU: All CPU(s) started at EL2
[    0.110905] alternatives: patching kernel code
[    0.119805] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.129709] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.136668] pinctrl core: initialized pinctrl subsystem
[    0.142782] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.149063] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.156195] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.163983] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.172220] thermal_sys: Registered thermal governor 'fair_share'
[    0.172224] thermal_sys: Registered thermal governor 'bang_bang'
[    0.178336] thermal_sys: Registered thermal governor 'step_wise'
[    0.184368] thermal_sys: Registered thermal governor 'user_space'
[    0.190596] ASID allocator initialised with 65536 entries
[    0.202536] pstore: Registered ramoops as persistent store backend
[    0.208746] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.236688] cryptd: max_cpu_qlen set to 1000
[    0.243617] SCSI subsystem initialized
[    0.247580] libata version 3.00 loaded.
[    0.252692] clocksource: Switched to clocksource arch_sys_counter
[    0.259451] NET: Registered PF_INET protocol family
[    0.264477] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.272257] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.280664] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.288443] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.296247] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.303467] TCP: Hash tables configured (established 4096 bind 4096)
[    0.309924] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.316490] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.323635] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.329332] PCI: CLS 0 bytes, default 64
[    0.333478] Unpacking initramfs...
[    0.345252] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    0.355477] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.361346] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.404103] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.412948] mt7622-pinctrl 10211000.pinctrl: invalid group "pwm_ch7_2" for function "pwm"
[    0.425914] mt-pmic-pwrap 10001000.pwrap: unexpected interrupt int=0x1
[    0.440930] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.449631] printk: console [ttyS0] disabled
[    0.474133] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 125, base_baud = 1562500) is a ST16650V2
[    0.483466] printk: console [ttyS0] enabled
[    0.483466] printk: console [ttyS0] enabled
[    0.491839] printk: bootconsole [uart8250] disabled
[    0.491839] printk: bootconsole [uart8250] disabled
[    0.522426] 11004000.serial: ttyS1 at MMIO 0x11004000 (irq = 126, base_baud = 1562500) is a ST16650V2
[    0.532597] 1100c000.serial: ttyS2 at MMIO 0x1100c000 (irq = 130, base_baud = 17499995) is a MediaTek BTIF
[    0.542468] serial serial0: tty port ttyS2 registered
[    0.548849] mtk_rng 1020f000.rng: registered RNG driver
[    0.554576] random: crng init done
[    0.562297] loop: module loaded
[    0.565492] Loading iSCSI transport class v2.0-870.
[    0.572125] mtk-ecc 1100e000.ecc: probed
[    0.579557] spi-nand spi2.0: Fidelix SPI NAND was found.
[    0.584951] spi-nand spi2.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.593124] mtk-snand 1100d000.spi: ECC strength: 4 bits per 512 bytes
[    1.354702] Freeing initrd memory: 3676K
[    1.367627] 4 fixed-partitions partitions found on MTD device spi2.0
[    1.374037] OF: Bad cell count for /spi@1100d000/flash@0/partitions
[    1.380321] OF: Bad cell count for /spi@1100d000/flash@0/partitions
[    1.386880] Creating 4 MTD partitions on "spi2.0":
[    1.391675] 0x000000000000-0x000000080000 : "bl2"
[    1.397964] 0x000000080000-0x0000001c0000 : "fip"
[    1.404521] 0x0000001c0000-0x0000002c0000 : "factory"
[    1.411115] 0x000000300000-0x000008000000 : "ubi"
[    1.676725] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xffffffc008d00000, irq 141
[    1.686654] i2c_dev: i2c /dev entries driver
[    1.692237] mtk-wdt 10212000.watchdog: IRQ index 0 not found
[    1.698116] mtk-wdt 10212000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    1.708256] NET: Registered PF_INET6 protocol family
[    1.714262] Segment Routing with IPv6
[    1.717941] In-situ OAM (IOAM) with IPv6
[    1.721894] NET: Registered PF_PACKET protocol family
[    1.727004] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.740148] 8021q: 802.1Q VLAN Support v1.8
[    1.745561] pstore: Using crash dump compression: deflate
[    1.760906] mtk-pcie 1a143000.pcie: host bridge /pcie@1a143000 ranges:
[    1.767483] mtk-pcie 1a143000.pcie: Parsing ranges property...
[    1.773334] mtk-pcie 1a143000.pcie:      MEM 0x0020000000..0x0027ffffff -> 0x0020000000
[    1.909203] mtk-pcie 1a143000.pcie: PCI host bridge to bus 0000:00
[    1.915427] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.920916] pci_bus 0000:00: root bus resource [mem 0x20000000-0x27ffffff]
[    1.927794] pci_bus 0000:00: scanning bus
[    1.932000] pci 0000:00:00.0: [14c3:3258] type 01 class 0x060400
[    1.938184] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x1ffffffff 64bit pref]
[    1.948209] pci_bus 0000:00: fixups for bus
[    1.952415] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[    1.959135] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.967217] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[    1.974344] pci_bus 0000:01: scanning bus
[    1.978571] pci 0000:01:00.0: [14c3:7915] type 00 class 0x000280
[    1.984766] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.992094] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.999424] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    2.007400] pci 0000:01:00.0: supports D1 D2
[    2.011665] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    2.018310] pci 0000:01:00.0: PME# disabled
[    2.022825] 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)
[    2.066149] pci_bus 0000:01: fixups for bus
[    2.070360] pci_bus 0000:01: bus scan returning with max=01
[    2.075971] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.082610] pci_bus 0000:00: bus scan returning with max=01
[    2.088207] pci 0000:00:00.0: BAR 0: no space for [mem size 0x200000000 64bit pref]
[    2.095863] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x200000000 64bit pref]
[    2.103871] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
[    2.110658] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit pref]
[    2.118490] pci 0000:01:00.0: BAR 2: assigned [mem 0x20100000-0x20103fff 64bit pref]
[    2.126319] pci 0000:01:00.0: BAR 4: assigned [mem 0x20104000-0x20104fff 64bit pref]
[    2.134147] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.139110] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x201fffff]
[    2.146044] pcieport 0000:00:00.0: assign IRQ: got 146
[    2.151189] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    2.157302] pcieport 0000:00:00.0: enabling bus mastering
[    2.162741] mtk-pcie 1a143000.pcie: msi#0 address_hi 0x0 address_lo 0x44d3d0c0
[    2.170140] pcieport 0000:00:00.0: PME: Signaling with IRQ 146
[    2.176082] pcieport 0000:00:00.0: saving config space at offset 0x0 (reading 0x325814c3)
[    2.184281] pcieport 0000:00:00.0: saving config space at offset 0x4 (reading 0x100006)
[    2.192281] pcieport 0000:00:00.0: saving config space at offset 0x8 (reading 0x6040000)
[    2.200370] pcieport 0000:00:00.0: saving config space at offset 0xc (reading 0x10000)
[    2.208285] pcieport 0000:00:00.0: saving config space at offset 0x10 (reading 0xc)
[    2.215939] pcieport 0000:00:00.0: saving config space at offset 0x14 (reading 0x0)
[    2.223596] pcieport 0000:00:00.0: saving config space at offset 0x18 (reading 0x40010100)
[    2.231853] pcieport 0000:00:00.0: saving config space at offset 0x1c (reading 0x4200000)
[    2.240027] pcieport 0000:00:00.0: saving config space at offset 0x20 (reading 0x20102000)
[    2.248292] pcieport 0000:00:00.0: saving config space at offset 0x24 (reading 0x0)
[    2.255946] pcieport 0000:00:00.0: saving config space at offset 0x28 (reading 0x0)
[    2.263600] pcieport 0000:00:00.0: saving config space at offset 0x2c (reading 0x0)
[    2.271249] pcieport 0000:00:00.0: saving config space at offset 0x30 (reading 0x0)
[    2.278902] pcieport 0000:00:00.0: saving config space at offset 0x34 (reading 0x50)
[    2.286642] pcieport 0000:00:00.0: saving config space at offset 0x38 (reading 0x0)
[    2.294295] pcieport 0000:00:00.0: saving config space at offset 0x3c (reading 0x20192)
[    2.302884] mtk-pcie 1a145000.pcie: host bridge /pcie@1a145000 ranges:
[    2.309438] mtk-pcie 1a145000.pcie: Parsing ranges property...
[    2.315282] mtk-pcie 1a145000.pcie:      MEM 0x0028000000..0x002fffffff -> 0x0028000000
[    2.542765] mtk-pcie 1a145000.pcie: Port1 link down
[    2.547846] mtk-pcie 1a145000.pcie: PCI host bridge to bus 0001:00
[    2.554055] pci_bus 0001:00: root bus resource [bus 00-ff]
[    2.559546] pci_bus 0001:00: root bus resource [mem 0x28000000-0x2fffffff]
[    2.566428] pci_bus 0001:00: scanning bus
[    2.572221] pci_bus 0001:00: fixups for bus
[    2.576410] pci_bus 0001:00: bus scan returning with max=00
[    2.582602] mtk_hsdma 1b007000.dma-controller: MediaTek HSDMA driver registered
[    2.662334] mt7530-mdio mdio-bus:00: configuring for fixed/2500base-x link mode
[    2.671606] mt7530-mdio mdio-bus:00: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    2.680579] mt7530-mdio mdio-bus:00 lan1 (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7531 PHY] (irq=147)
[    2.701141] mt7530-mdio mdio-bus:00 lan2 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=148)
[    2.721768] mt7530-mdio mdio-bus:00 lan3 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=149)
[    2.742171] mt7530-mdio mdio-bus:00 lan4 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=150)
[    2.762788] mt7530-mdio mdio-bus:00 wan (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7531 PHY] (irq=151)
[    2.774056] DSA: tree 0 setup
[    2.777813] UBI: auto-attach mtd3
[    2.781145] ubi0: default fastmap pool size: 50
[    2.785685] ubi0: default fastmap WL pool size: 25
[    2.790471] ubi0: attaching mtd3
[    3.091823] ubi0: scanning is finished
[    3.100596] ubi0: attached mtd3 (name "ubi", size 125 MiB)
[    3.106119] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.113002] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.119784] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.126752] ubi0: good PEBs: 1000, bad PEBs: 0, corrupted PEBs: 0
[    3.132847] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[    3.140062] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[    3.148415] ubi0: available PEBs: 914, total reserved PEBs: 86, PEBs reserved for bad PEB handling: 20
[    3.157731] ubi0: background thread "ubi_bgt0d" started, PID 518
[    3.158134] clk: Disabling unused clocks
[    3.168725] Freeing unused kernel memory: 448K
[    3.173231] Run /init as init process
[    3.176885]   with arguments:
[    3.179841]     /init
[    3.182104]   with environment:
[    3.185240]     HOME=/
[    3.187590]     TERM=linux
[    3.372502] init: Console is alive
[    3.376163] init: - watchdog -
[    3.382954] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.393641] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.409942] init: - preinit -
[    3.481086] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    3.489566] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    3.496599] mt7530-mdio mdio-bus:00 lan1: configuring for phy/gmii link mode
[    3.506105] 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
[    5.576452] procd: - early -
[    5.579425] procd: - watchdog -
[    6.110234] procd: - watchdog -
[    6.113805] procd: - ubus -
[    6.170114] procd: - init -
Please press Enter to activate this console.
[    6.340948] kmodloader: loading kernel modules from /etc/modules.d/*
[    6.356706] Loading modules backported from Linux version v6.1.97-0-g7753af06eebfb
[    6.364341] Backport generated by backports.git v6.1.97-1-0-g2431d56e
[    6.416846] mt7622-wmac 18000000.wmac: registering led 'mt76-phy0'
[    6.423723] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    6.463083] mt7622-wmac 18000000.wmac: HW/SW Version: 0x8a108a10, Build Time: 20190801210006a
[    6.463083]
[    6.477209] PPP generic driver version 2.4.2
[    6.482176] NET: Registered PF_PPPOX protocol family
[    6.490956] kmodloader: done loading kernel modules from /etc/modules.d/*
[    6.501650] mt7622-wmac 18000000.wmac: N9 Firmware Version: _reserved_, Build Time: 20220630094834
[    6.601403] urngd: v1.0.2 started.
[   12.112510] mtk_soc_eth 1b100000.ethernet eth0: Link is Down
[   12.127459] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/2500base-x link mode
[   12.136245] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[   12.145542] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   12.152670] mt7530-mdio mdio-bus:00 lan1: configuring for phy/gmii link mode
[   12.164119] br-lan: port 1(lan1) entered blocking state
[   12.169366] br-lan: port 1(lan1) entered disabled state
[   12.178142] device lan1 entered promiscuous mode
[   12.182820] device eth0 entered promiscuous mode
[   12.206901] mt7530-mdio mdio-bus:00 lan2: configuring for phy/gmii link mode
[   12.222035] br-lan: port 2(lan2) entered blocking state
[   12.227376] br-lan: port 2(lan2) entered disabled state
[   12.235622] device lan2 entered promiscuous mode
[   12.250937] mt7530-mdio mdio-bus:00 lan3: configuring for phy/gmii link mode
[   12.263436] br-lan: port 3(lan3) entered blocking state
[   12.268683] br-lan: port 3(lan3) entered disabled state
[   12.276620] device lan3 entered promiscuous mode
[   12.289499] mt7530-mdio mdio-bus:00 lan4: configuring for phy/gmii link mode
[   12.302168] br-lan: port 4(lan4) entered blocking state
[   12.307517] br-lan: port 4(lan4) entered disabled state
[   12.317050] device lan4 entered promiscuous mode
[   12.333919] mt7530-mdio mdio-bus:00 wan: configuring for phy/gmii link mode
[   15.628380] mt7530-mdio mdio-bus:00 lan3: Link is Up - 1Gbps/Full - flow control rx/tx
[   15.636408] br-lan: port 3(lan3) entered blocking state
[   15.641646] br-lan: port 3(lan3) entered forwarding state
[   15.649354] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   16.210902] mt7530-mdio mdio-bus:00 wan: Link is Up - 1Gbps/Full - flow control rx/tx
[   16.218862] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
Watchdog handover: fd=3
- watchdog -
Watchdog does not have CARDRESET support
Fri May 16 03:41:30 UTC 2025 upgrade: Sending TERM to remaining processes ...
Fri May 16 03:41:34 UTC 2025 upgrade: Sending KILL to remaining processes ...
[   68.597618] stage2 (3158): drop_caches: 3
Fri May 16 03:41:40 UTC 2025 upgrade: Switching to ramdisk...
Fri May 16 03:41:41 UTC 2025 upgrade: Performing system upgrade...
Volume ID 1, size 82 LEBs (10412032 bytes, 9.9 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "fit", alignment 1
Set volume size to 105644032
Volume ID 2, size 832 LEBs (105644032 bytes, 100.7 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs_data", alignment 1
sysupgrade successful
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
[   72.185350] reboot: Restarting system

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

NOTICE:  BL2: v2.10.0   (release):OpenWrt v2024.01.17~bacca82a-3 (mt7622-snand-ubi-1ddr)
NOTICE:  BL2: Built : 16:38:32, Apr 13 2025
NOTICE:  WDT: [40000000] Software reset (reboot)
NOTICE:  CPU: MT7622
NOTICE:  SPI-NAND: adjusting SPI-NAND pin drive strength to 12mA
NOTICE:  SPI-NAND: FM35Q1GA (128MB)
NOTICE:  UBI: scanning [0x80000 - 0x8000000] ...
NOTICE:  UBI: Bad VID magic in block 0 610240b9
NOTICE:  UBI: Bad VID magic in block 1 fd030091
NOTICE:  UBI: Bad VID magic in block 2 9f0600f9
NOTICE:  UBI: Bad VID magic in block 3 e31440b9
NOTICE:  UBI: Bad VID magic in block 4 00040054
NOTICE:  UBI: Bad VID magic in block 5 80d7039b
NOTICE:  UBI: Bad VID magic in block 6 00457272
NOTICE:  UBI: Bad VID magic in block 7 00000000
NOTICE:  UBI: Bad VID magic in block 8 0fde87a4
NOTICE:  UBI: Bad VID magic in block 9 ae9bd710
NOTICE:  UBI: Bad EC magic in block 10 22760200
NOTICE:  UBI: Bad EC magic in block 11 ffffffff
NOTICE:  UBI: Bad EC magic in block 12 ffffffff
NOTICE:  UBI: Bad EC magic in block 13 ffffffff
NOTICE:  UBI: Bad EC magic in block 14 ffffffff
NOTICE:  UBI: Bad EC magic in block 15 ffffffff
NOTICE:  UBI: Bad EC magic in block 16 ffffffff
NOTICE:  UBI: Bad EC magic in block 17 ffffffff
NOTICE:  UBI: scanning is finished
NOTICE:  UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
NOTICE:  UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
ERROR:   UBI error: No volume named fip could be found
NOTICE:  UBI: scanning [0x80000 - 0x8000000] ...
NOTICE:  UBI: Bad VID magic in block 0 610240b9
NOTICE:  UBI: Bad VID magic in block 1 fd030091
NOTICE:  UBI: Bad VID magic in block 2 9f0600f9
NOTICE:  UBI: Bad VID magic in block 3 e31440b9
NOTICE:  UBI: Bad VID magic in block 4 00040054
NOTICE:  UBI: Bad VID magic in block 5 80d7039b
NOTICE:  UBI: Bad VID magic in block 6 00457272
NOTICE:  UBI: Bad VID magic in block 7 00000000
NOTICE:  UBI: Bad VID magic in block 8 0fde87a4
NOTICE:  UBI: Bad VID magic in block 9 ae9bd710
NOTICE:  UBI: Bad EC magic in block 10 22760200
NOTICE:  UBI: Bad EC magic in block 11 ffffffff
NOTICE:  UBI: Bad EC magic in block 12 ffffffff
NOTICE:  UBI: Bad EC magic in block 13 ffffffff
NOTICE:  UBI: Bad EC magic in block 14 ffffffff
NOTICE:  UBI: Bad EC magic in block 15 ffffffff
NOTICE:  UBI: Bad EC magic in block 16 ffffffff
NOTICE:  UBI: Bad EC magic in block 17 ffffffff
NOTICE:  UBI: scanning is finished
NOTICE:  UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
NOTICE:  UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
ERROR:   UBI error: No volume named fip could be found
ERROR:   BL2: Failed to load image id 3 (-2)

Error when upgrading openwrt-22.03.7-mediatek-mt7622-linksys_e8450-ubi-preloader.bin in OpenWRT recovery environment The same problem occurs in the latest 24.10.1.

After referring to Belkin RT3200/Linksys E8450 WiFi AX discussion - #4328 by 981213, I attempted to boot and successfully entered recovery mode. In this mode, 5GHz is properly activated and the error
[14.129040] platform 1b100000.ethernet: deferred probe pending
does not occur. There's also no "ERROR: BL2: Failed to load image" problem.

After entering recovery mode, when I tried to install openwrt-23.05.5-mediatek-mt7622-linksys_e8450-ubi-squashfs-sysupgrade.itb, the problem occurred again. The logs are here.

Filename 'openwrt-mediatek-mt7622-linksys_e8450-ubi-initramfs-recovery.itb'.
Load address: 0x48000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###############################################################
         1.3 MiB/s
done
Bytes transferred = 7602176 (740000 hex)

## Checking Image at 48000000 ...
   FIT image found
   FIT description: ARM64 OpenWrt FIT (Flattened Image Tree)
    Image 0 (kernel-1)
     Description:  ARM64 OpenWrt Linux-5.15.162
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x480000ec
     Data Size:    3768780 Bytes = 3.6 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   8c2f95d1
     Hash algo:    sha1
     Hash value:   85d02e77cb1c9de9f87489c07d7b5bfd91cd43f1
    Image 1 (initrd-1)
     Description:  ARM64 OpenWrt linksys_e8450-ubi initrd
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x483983f4
     Data Size:    3764256 Bytes = 3.6 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    crc32
     Hash value:   54cb1f18
     Hash algo:    sha1
     Hash value:   e5a91128f51c0df39d98fffe5b6e74814817614c
    Image 2 (fdt-1)
     Description:  ARM64 OpenWrt linksys_e8450-ubi device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x4872f524
     Data Size:    30610 Bytes = 29.9 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   da1cd03e
     Hash algo:    sha1
     Hash value:   b658c77bb8e6d29e886668fe18eec6d6cfd218f9
    Default Configuration: 'config-1'
    Configuration 0 (config-1)
     Description:  OpenWrt linksys_e8450-ubi
     Kernel:       kernel-1
     Init Ramdisk: initrd-1
     FDT:          fdt-1
## Checking hash(es) for FIT Image at 48000000 ...
   Hash(es) for Image 0 (kernel-1): crc32+ sha1+
   Hash(es) for Image 1 (initrd-1): crc32+ sha1+
   Hash(es) for Image 2 (fdt-1): crc32+ sha1+
UBI partition 'ubi' already selected
Creating dynamic volume recovery of size 7602176
7602176 bytes written to volume recovery
## Loading kernel from FIT Image at 48000000 ...
   Using 'config-1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-5.15.162
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x480000ec
     Data Size:    3768780 Bytes = 3.6 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   8c2f95d1
     Hash algo:    sha1
     Hash value:   85d02e77cb1c9de9f87489c07d7b5bfd91cd43f1
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading ramdisk from FIT Image at 48000000 ...
   Using 'config-1' configuration
   Trying 'initrd-1' ramdisk subimage
     Description:  ARM64 OpenWrt linksys_e8450-ubi initrd
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x483983f4
     Data Size:    3764256 Bytes = 3.6 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    crc32
     Hash value:   54cb1f18
     Hash algo:    sha1
     Hash value:   e5a91128f51c0df39d98fffe5b6e74814817614c
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 48000000 ...
   Using 'config-1' configuration
   Trying 'fdt-1' fdt subimage
     Description:  ARM64 OpenWrt linksys_e8450-ubi device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x4872f524
     Data Size:    30610 Bytes = 29.9 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   da1cd03e
     Hash algo:    sha1
     Hash value:   b658c77bb8e6d29e886668fe18eec6d6cfd218f9
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x4872f524
Working FDT set to 4872f524
   Uncompressing Kernel Image
   Loading Ramdisk to 5e453000, end 5e7ea020 ... OK
   Loading Device Tree to 000000005e448000, end 000000005e452791 ... OK
Working FDT set to 5e448000
Add 'ramoops@42ff0000' node failed: FDT_ERR_EXISTS

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.162 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r24012-d8dd03c46f) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Mon Jul 15 22:14:18 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 s33112 r8192 d32424 u73728
[    0.000000] pcpu-alloc: s33112 r8192 d32424 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] Built 1 zonelists, mobility grouping on.  Total pages: 129024
[    0.000000] Kernel command line: earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n1 swiotlb=512
[    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: 498368K/524288K available (8384K kernel code, 904K rwdata, 1436K rodata, 448K init, 307K bss, 25920K 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: 0xffffffc008010000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    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 12MHz, resolution 80ns, wraps every 4398046511080ns
[    0.008246] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[    0.018643] pid_max: default: 32768 minimum: 301
[    0.023554] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.030901] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.040038] rcu: Hierarchical SRCU implementation.
[    0.045324] smp: Bringing up secondary CPUs ...
[    0.050227] Detected VIPT I-cache on CPU1
[    0.050236] CPU features: SANITY CHECK: Unexpected variation in SYS_CNTFRQ_EL0. Boot CPU: 0x00000000bebc20, CPU1: 0x00000000000000
[    0.050256] CPU features: Unsupported CPU feature variation detected.
[    0.050286] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.050357] smp: Brought up 1 node, 2 CPUs
[    0.083282] SMP: Total of 2 processors activated.
[    0.087998] CPU features: detected: 32-bit EL0 Support
[    0.093154] CPU features: detected: CRC32 instructions
[    0.098336] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.106781] CPU: All CPU(s) started at EL2
[    0.110894] alternatives: patching kernel code
[    0.119807] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.129711] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.136671] pinctrl core: initialized pinctrl subsystem
[    0.142786] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.149062] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.156192] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.163980] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.172214] thermal_sys: Registered thermal governor 'fair_share'
[    0.172218] thermal_sys: Registered thermal governor 'bang_bang'
[    0.178330] thermal_sys: Registered thermal governor 'step_wise'
[    0.184361] thermal_sys: Registered thermal governor 'user_space'
[    0.190591] ASID allocator initialised with 65536 entries
[    0.202499] pstore: Registered ramoops as persistent store backend
[    0.208708] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.236581] cryptd: max_cpu_qlen set to 1000
[    0.243544] SCSI subsystem initialized
[    0.247513] libata version 3.00 loaded.
[    0.252617] clocksource: Switched to clocksource arch_sys_counter
[    0.259364] NET: Registered PF_INET protocol family
[    0.264398] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.272180] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.280588] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.288367] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.296171] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.303390] TCP: Hash tables configured (established 4096 bind 4096)
[    0.309849] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.316417] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.323566] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.329263] PCI: CLS 0 bytes, default 64
[    0.333411] Unpacking initramfs...
[    0.345288] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    0.355474] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.361341] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.404280] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.413079] mt7622-pinctrl 10211000.pinctrl: invalid group "pwm_ch7_2" for function "pwm"
[    0.426063] mt-pmic-pwrap 10001000.pwrap: unexpected interrupt int=0x1
[    0.440736] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.449203] printk: console [ttyS0] disabled
[    0.473739] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 125, base_baud = 1562500) is a ST16650V2
[    0.483078] printk: console [ttyS0] enabled
[    0.483078] printk: console [ttyS0] enabled
[    0.491454] printk: bootconsole [uart8250] disabled
[    0.491454] printk: bootconsole [uart8250] disabled
[    0.522108] 11004000.serial: ttyS1 at MMIO 0x11004000 (irq = 126, base_baud = 1562500) is a ST16650V2
[    0.532169] 1100c000.serial: ttyS2 at MMIO 0x1100c000 (irq = 130, base_baud = 17499995) is a MediaTek BTIF
[    0.542015] serial serial0: tty port ttyS2 registered
[    0.548406] mtk_rng 1020f000.rng: registered RNG driver
[    0.554134] random: crng init done
[    0.561380] loop: module loaded
[    0.564570] Loading iSCSI transport class v2.0-870.
[    0.570833] mtk-ecc 1100e000.ecc: probed
[    0.578212] spi-nand spi2.0: Fidelix SPI NAND was found.
[    0.583572] spi-nand spi2.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.591724] mtk-snand 1100d000.spi: ECC strength: 4 bits per 512 bytes
[    1.358799] Freeing initrd memory: 3676K
[    1.372184] 4 fixed-partitions partitions found on MTD device spi2.0
[    1.378602] OF: Bad cell count for /spi@1100d000/flash@0/partitions
[    1.384896] OF: Bad cell count for /spi@1100d000/flash@0/partitions
[    1.391450] Creating 4 MTD partitions on "spi2.0":
[    1.396252] 0x000000000000-0x000000080000 : "bl2"
[    1.401997] 0x000000080000-0x0000001c0000 : "fip"
[    1.408501] 0x0000001c0000-0x0000002c0000 : "factory"
[    1.415254] 0x000000300000-0x000008000000 : "ubi"
[    1.676666] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xffffffc008d20000, irq 141
[    1.686568] i2c_dev: i2c /dev entries driver
[    1.692149] mtk-wdt 10212000.watchdog: IRQ index 0 not found
[    1.698014] mtk-wdt 10212000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    1.708123] NET: Registered PF_INET6 protocol family
[    1.714082] Segment Routing with IPv6
[    1.717759] In-situ OAM (IOAM) with IPv6
[    1.721718] NET: Registered PF_PACKET protocol family
[    1.726840] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.740025] 8021q: 802.1Q VLAN Support v1.8
[    1.745430] pstore: Using crash dump compression: deflate
[    1.760626] mtk-pcie 1a143000.pcie: host bridge /pcie@1a143000 ranges:
[    1.767230] mtk-pcie 1a143000.pcie: Parsing ranges property...
[    1.773084] mtk-pcie 1a143000.pcie:      MEM 0x0020000000..0x0027ffffff -> 0x0020000000
[    1.909121] mtk-pcie 1a143000.pcie: PCI host bridge to bus 0000:00
[    1.915343] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.920830] pci_bus 0000:00: root bus resource [mem 0x20000000-0x27ffffff]
[    1.927708] pci_bus 0000:00: scanning bus
[    1.931923] pci 0000:00:00.0: [14c3:3258] type 01 class 0x060400
[    1.938109] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x1ffffffff 64bit pref]
[    1.948130] pci_bus 0000:00: fixups for bus
[    1.952338] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[    1.959059] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.967140] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[    1.974266] pci_bus 0000:01: scanning bus
[    1.978494] pci 0000:01:00.0: [14c3:7915] type 00 class 0x000280
[    1.984688] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.992015] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.999344] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    2.007320] pci 0000:01:00.0: supports D1 D2
[    2.011585] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    2.018230] pci 0000:01:00.0: PME# disabled
[    2.022738] 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)
[    2.066080] pci_bus 0000:01: fixups for bus
[    2.070291] pci_bus 0000:01: bus scan returning with max=01
[    2.075904] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.082542] pci_bus 0000:00: bus scan returning with max=01
[    2.088137] pci 0000:00:00.0: BAR 0: no space for [mem size 0x200000000 64bit pref]
[    2.095793] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x200000000 64bit pref]
[    2.103801] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
[    2.110587] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit pref]
[    2.118418] pci 0000:01:00.0: BAR 2: assigned [mem 0x20100000-0x20103fff 64bit pref]
[    2.126246] pci 0000:01:00.0: BAR 4: assigned [mem 0x20104000-0x20104fff 64bit pref]
[    2.134074] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.139037] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x201fffff]
[    2.145969] pcieport 0000:00:00.0: assign IRQ: got 146
[    2.151114] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    2.157226] pcieport 0000:00:00.0: enabling bus mastering
[    2.162663] mtk-pcie 1a143000.pcie: msi#0 address_hi 0x0 address_lo 0x44d430c0
[    2.170066] pcieport 0000:00:00.0: PME: Signaling with IRQ 146
[    2.176007] pcieport 0000:00:00.0: saving config space at offset 0x0 (reading 0x325814c3)
[    2.184203] pcieport 0000:00:00.0: saving config space at offset 0x4 (reading 0x100006)
[    2.192204] pcieport 0000:00:00.0: saving config space at offset 0x8 (reading 0x6040000)
[    2.200293] pcieport 0000:00:00.0: saving config space at offset 0xc (reading 0x10000)
[    2.208208] pcieport 0000:00:00.0: saving config space at offset 0x10 (reading 0xc)
[    2.215862] pcieport 0000:00:00.0: saving config space at offset 0x14 (reading 0x0)
[    2.223518] pcieport 0000:00:00.0: saving config space at offset 0x18 (reading 0x40010100)
[    2.231775] pcieport 0000:00:00.0: saving config space at offset 0x1c (reading 0x4200000)
[    2.239949] pcieport 0000:00:00.0: saving config space at offset 0x20 (reading 0x20102000)
[    2.248213] pcieport 0000:00:00.0: saving config space at offset 0x24 (reading 0x0)
[    2.255867] pcieport 0000:00:00.0: saving config space at offset 0x28 (reading 0x0)
[    2.263520] pcieport 0000:00:00.0: saving config space at offset 0x2c (reading 0x0)
[    2.271169] pcieport 0000:00:00.0: saving config space at offset 0x30 (reading 0x0)
[    2.278822] pcieport 0000:00:00.0: saving config space at offset 0x34 (reading 0x50)
[    2.286562] pcieport 0000:00:00.0: saving config space at offset 0x38 (reading 0x0)
[    2.294215] pcieport 0000:00:00.0: saving config space at offset 0x3c (reading 0x20192)
[    2.302797] mtk-pcie 1a145000.pcie: host bridge /pcie@1a145000 ranges:
[    2.309346] mtk-pcie 1a145000.pcie: Parsing ranges property...
[    2.315190] mtk-pcie 1a145000.pcie:      MEM 0x0028000000..0x002fffffff -> 0x0028000000
[    2.542713] mtk-pcie 1a145000.pcie: Port1 link down
[    2.547795] mtk-pcie 1a145000.pcie: PCI host bridge to bus 0001:00
[    2.554006] pci_bus 0001:00: root bus resource [bus 00-ff]
[    2.559495] pci_bus 0001:00: root bus resource [mem 0x28000000-0x2fffffff]
[    2.566377] pci_bus 0001:00: scanning bus
[    2.572171] pci_bus 0001:00: fixups for bus
[    2.576358] pci_bus 0001:00: bus scan returning with max=00
[    2.582550] mtk_hsdma 1b007000.dma-controller: MediaTek HSDMA driver registered
[    2.662292] mt7530-mdio mdio-bus:00: configuring for fixed/2500base-x link mode
[    2.671564] mt7530-mdio mdio-bus:00: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    2.680533] mt7530-mdio mdio-bus:00 lan1 (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7531 PHY] (irq=147)
[    2.701122] mt7530-mdio mdio-bus:00 lan2 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=148)
[    2.721744] mt7530-mdio mdio-bus:00 lan3 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=149)
[    2.742148] mt7530-mdio mdio-bus:00 lan4 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=150)
[    2.762740] mt7530-mdio mdio-bus:00 wan (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7531 PHY] (irq=151)
[    2.774013] DSA: tree 0 setup
[    2.777725] UBI: auto-attach mtd3
[    2.781055] ubi0: default fastmap pool size: 50
[    2.785624] ubi0: default fastmap WL pool size: 25
[    2.790414] ubi0: attaching mtd3
[    3.095765] ubi0: scanning is finished
[    3.105226] ubi0: attached mtd3 (name "ubi", size 125 MiB)
[    3.110727] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.117612] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.124411] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.131368] ubi0: good PEBs: 1000, bad PEBs: 0, corrupted PEBs: 0
[    3.137464] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    3.144687] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[    3.153037] ubi0: available PEBs: 896, total reserved PEBs: 104, PEBs reserved for bad PEB handling: 20
[    3.162431] ubi0: background thread "ubi_bgt0d" started, PID 516
[    3.162844] clk: Disabling unused clocks
[    3.173447] Freeing unused kernel memory: 448K
[    3.177937] Run /init as init process
[    3.181589]   with arguments:
[    3.184564]     /init
[    3.186827]   with environment:
[    3.189957]     HOME=/
[    3.192307]     TERM=linux
[    3.376100] init: Console is alive
[    3.379658] init: - watchdog -
[    3.388539] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.398847] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.415582] init: - preinit -
[    3.480265] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    3.488856] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    3.496115] mt7530-mdio mdio-bus:00 lan1: configuring for phy/gmii link mode
[    3.505129] 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

[    5.578123] procd: - early -
[    5.581106] procd: - watchdog -
[    6.111308] procd: - watchdog -
[    6.114896] procd: - ubus -
[    6.171206] procd: - init -
Please press Enter to activate this console.
[    6.360913] kmodloader: loading kernel modules from /etc/modules.d/*
[    6.370155] Loading modules backported from Linux version v6.1.97-0-g7753af06eebfb
[    6.377778] Backport generated by backports.git v6.1.97-1-0-g2431d56e
[    6.433033] mt7622-wmac 18000000.wmac: registering led 'mt76-phy0'
[    6.439863] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    6.473022] mt7622-wmac 18000000.wmac: HW/SW Version: 0x8a108a10, Build Time: 20190801210006a
[    6.473022]
[    6.483526] PPP generic driver version 2.4.2
[    6.488555] NET: Registered PF_PPPOX protocol family
[    6.496399] mt7622-wmac 18000000.wmac: N9 Firmware Version: _reserved_, Build Time: 20220630094834
[    6.511776] kmodloader: done loading kernel modules from /etc/modules.d/*
[    6.600733] urngd: v1.0.2 started.
[   11.789058] mtk_soc_eth 1b100000.ethernet eth0: Link is Down
[   11.808566] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/2500base-x link mode
[   11.818507] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[   11.828249] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   11.836902] mt7530-mdio mdio-bus:00 lan1: configuring for phy/gmii link mode
[   11.849015] br-lan: port 1(lan1) entered blocking state
[   11.854357] br-lan: port 1(lan1) entered disabled state
[   11.861528] device lan1 entered promiscuous mode
[   11.866229] device eth0 entered promiscuous mode
[   11.888460] mt7530-mdio mdio-bus:00 lan2: configuring for phy/gmii link mode
[   11.900913] br-lan: port 2(lan2) entered blocking state
[   11.906222] br-lan: port 2(lan2) entered disabled state
[   11.919697] device lan2 entered promiscuous mode
[   11.934426] mt7530-mdio mdio-bus:00 lan3: configuring for phy/gmii link mode
[   11.944459] br-lan: port 3(lan3) entered blocking state
[   11.949706] br-lan: port 3(lan3) entered disabled state
[   11.957747] device lan3 entered promiscuous mode
[   11.971562] mt7530-mdio mdio-bus:00 lan4: configuring for phy/gmii link mode
[   11.983027] br-lan: port 4(lan4) entered blocking state
[   11.988271] br-lan: port 4(lan4) entered disabled state
[   11.996598] device lan4 entered promiscuous mode
[   12.012382] mt7530-mdio mdio-bus:00 wan: configuring for phy/gmii link mode
[   15.297808] mt7530-mdio mdio-bus:00 lan3: Link is Up - 1Gbps/Full - flow control rx/tx
[   15.305845] br-lan: port 3(lan3) entered blocking state
[   15.311084] br-lan: port 3(lan3) entered forwarding state
[   15.318389] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   15.891983] mt7530-mdio mdio-bus:00 wan: Link is Up - 1Gbps/Full - flow control rx/tx
[   15.899932] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
Watchdog handover: fd=3
- watchdog -
Watchdog does not have CARDRESET support
Fri May 16 06:10:59 UTC 2025 upgrade: Sending TERM to remaining processes ...
Fri May 16 06:11:03 UTC 2025 upgrade: Sending KILL to remaining processes ...
[  113.714982] stage2 (3095): drop_caches: 3
Fri May 16 06:11:09 UTC 2025 upgrade: Switching to ramdisk...
Fri May 16 06:11:11 UTC 2025 upgrade: Performing system upgrade...
Volume ID 3, size 84 LEBs (10665984 bytes, 10.1 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "fit", alignment 1
Set volume size to 103104512
Volume ID 4, size 812 LEBs (103104512 bytes, 98.3 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs_data", alignment 1
sysupgrade successful
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
[  117.415258] reboot: Restarting system

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

NOTICE:  BL2: v2.10.0   (release):OpenWrt v2024.01.17~bacca82a-3 (mt7622-snand-ubi-1ddr)
NOTICE:  BL2: Built : 16:38:32, Apr 13 2025
NOTICE:  WDT: [40000000] Software reset (reboot)
NOTICE:  CPU: MT7622
NOTICE:  SPI-NAND: adjusting SPI-NAND pin drive strength to 12mA
NOTICE:  SPI-NAND: FM35Q1GA (128MB)
NOTICE:  UBI: scanning [0x80000 - 0x8000000] ...
NOTICE:  UBI: Bad VID magic in block 0 610240b9
NOTICE:  UBI: Bad VID magic in block 1 fd030091
NOTICE:  UBI: Bad VID magic in block 2 9f0600f9
NOTICE:  UBI: Bad VID magic in block 3 e31440b9
NOTICE:  UBI: Bad VID magic in block 4 00040054
NOTICE:  UBI: Bad VID magic in block 5 80d7039b
NOTICE:  UBI: Bad VID magic in block 6 00457272
NOTICE:  UBI: Bad VID magic in block 7 00000000
NOTICE:  UBI: Bad VID magic in block 8 4de6e745
NOTICE:  UBI: Bad VID magic in block 9 6c9f8f7d
NOTICE:  UBI: Bad EC magic in block 10 22760200
NOTICE:  UBI: Bad EC magic in block 11 ffffffff
NOTICE:  UBI: Bad EC magic in block 12 ffffffff
NOTICE:  UBI: Bad EC magic in block 13 ffffffff
NOTICE:  UBI: Bad EC magic in block 14 ffffffff
NOTICE:  UBI: Bad EC magic in block 15 ffffffff
NOTICE:  UBI: Bad EC magic in block 16 ffffffff
NOTICE:  UBI: Bad EC magic in block 17 ffffffff
NOTICE:  UBI: scanning is finished
NOTICE:  UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
NOTICE:  UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
ERROR:   UBI error: No volume named fip could be found
NOTICE:  UBI: scanning [0x80000 - 0x8000000] ...
NOTICE:  UBI: Bad VID magic in block 0 610240b9
NOTICE:  UBI: Bad VID magic in block 1 fd030091
NOTICE:  UBI: Bad VID magic in block 2 9f0600f9
NOTICE:  UBI: Bad VID magic in block 3 e31440b9
NOTICE:  UBI: Bad VID magic in block 4 00040054
NOTICE:  UBI: Bad VID magic in block 5 80d7039b
NOTICE:  UBI: Bad VID magic in block 6 00457272
NOTICE:  UBI: Bad VID magic in block 7 00000000
NOTICE:  UBI: Bad VID magic in block 8 4de6e745
NOTICE:  UBI: Bad VID magic in block 9 6c9f8f7d
NOTICE:  UBI: Bad EC magic in block 10 22760200
NOTICE:  UBI: Bad EC magic in block 11 ffffffff
NOTICE:  UBI: Bad EC magic in block 12 ffffffff
NOTICE:  UBI: Bad EC magic in block 13 ffffffff
NOTICE:  UBI: Bad EC magic in block 14 ffffffff
NOTICE:  UBI: Bad EC magic in block 15 ffffffff
NOTICE:  UBI: Bad EC magic in block 16 ffffffff
NOTICE:  UBI: Bad EC magic in block 17 ffffffff
NOTICE:  UBI: scanning is finished
NOTICE:  UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
NOTICE:  UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
ERROR:   UBI error: No volume named fip could be found
ERROR:   BL2: Failed to load image id 3 (-2)

The bl2 (preloader) you wrote to the flash chip is the wrong one. The version you installed is for OpenWRT 24.10 and newer, but the 23.05 firmware needs the bl2 from OpenWRT 22.x instead.



Uploading: image.png…
mt7915e 5g router not working
The update is complete.

UBI partition 'ubi' already selected
No size specified -> Using max size (10031104)
Read 10031104 bytes from volume fit to 0000000048000000

## Checking Image at 48000000 ...
   FIT image found
   FIT description: ARM64 OpenWrt FIT (Flattened Image Tree)
    Image 0 (kernel-1)
     Description:  ARM64 OpenWrt Linux-5.15.162
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x48001000
     Data Size:    5153038 Bytes = 4.9 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   31717dff
     Hash algo:    sha1
     Hash value:   e7316542ecff499c124a4d665cd2fd9c1694018c
    Image 1 (fdt-1)
     Description:  ARM64 OpenWrt linksys_e8450-ubi device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x484ec000
     Data Size:    30610 Bytes = 29.9 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   da1cd03e
     Hash algo:    sha1
     Hash value:   b658c77bb8e6d29e886668fe18eec6d6cfd218f9
    Image 2 (rootfs-1)
     Description:  ARM64 OpenWrt linksys_e8450-ubi rootfs
     Type:         Filesystem Image
     Compression:  uncompressed
     Data Start:   0x484f4000
     Data Size:    4714496 Bytes = 4.5 MiB
     Hash algo:    crc32
     Hash value:   9742c780
     Hash algo:    sha1
     Hash value:   15542e24997b6319124cf8a4f20b3e6a26327339
    Default Configuration: 'config-1'
    Configuration 0 (config-1)
     Description:  OpenWrt linksys_e8450-ubi
     Kernel:       kernel-1
     FDT:          fdt-1
     Loadables:    rootfs-1
## Checking hash(es) for FIT Image at 48000000 ...
   Hash(es) for Image 0 (kernel-1): crc32+ sha1+
   Hash(es) for Image 1 (fdt-1): crc32+ sha1+
   Hash(es) for Image 2 (rootfs-1): crc32+ sha1+
No size specified -> Using max size (103739392)
Creating dynamic volume rootfs_data of size 103739392
## Loading kernel from FIT Image at 48000000 ...
   Using 'config-1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-5.15.162
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x48001000
     Data Size:    5153038 Bytes = 4.9 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   31717dff
     Hash algo:    sha1
     Hash value:   e7316542ecff499c124a4d665cd2fd9c1694018c
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 48000000 ...
   Using 'config-1' configuration
   Trying 'fdt-1' fdt subimage
     Description:  ARM64 OpenWrt linksys_e8450-ubi device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x484ec000
     Data Size:    30610 Bytes = 29.9 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   da1cd03e
     Hash algo:    sha1
     Hash value:   b658c77bb8e6d29e886668fe18eec6d6cfd218f9
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x484ec000
Working FDT set to 484ec000
## Loading loadables from FIT Image at 48000000 ...
   Trying 'rootfs-1' loadables subimage
     Description:  ARM64 OpenWrt linksys_e8450-ubi rootfs
     Type:         Filesystem Image
     Compression:  uncompressed
     Data Start:   0x484f4000
     Data Size:    4714496 Bytes = 4.5 MiB
     Hash algo:    crc32
     Hash value:   9742c780
     Hash algo:    sha1
     Hash value:   15542e24997b6319124cf8a4f20b3e6a26327339
   Verifying Hash Integrity ... crc32+ sha1+ OK

Error: ethernet@1b100000 address ff:ff:ff:ff:ff:ff illegal value
   Uncompressing Kernel Image
   Loading Device Tree to 000000005e7e3000, end 000000005e7ed791 ... OK
Working FDT set to 5e7e3000
Add 'ramoops@42ff0000' node failed: FDT_ERR_EXISTS

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.162 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r24012-d8dd03c46f) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Mon Jul 15 22:14:18 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 s33112 r8192 d32424 u73728
[    0.000000] pcpu-alloc: s33112 r8192 d32424 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] Built 1 zonelists, mobility grouping on.  Total pages: 129024
[    0.000000] Kernel command line: earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n1 swiotlb=512
[    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: 502052K/524288K available (8384K kernel code, 904K rwdata, 1432K rodata, 448K init, 307K bss, 22236K 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: 0xffffffc008010000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    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 12MHz, resolution 80ns, wraps every 4398046511080ns
[    0.008245] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[    0.018643] pid_max: default: 32768 minimum: 301
[    0.023555] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.030901] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.040043] rcu: Hierarchical SRCU implementation.
[    0.045326] smp: Bringing up secondary CPUs ...
[    0.050229] Detected VIPT I-cache on CPU1
[    0.050240] CPU features: SANITY CHECK: Unexpected variation in SYS_CNTFRQ_EL0. Boot CPU: 0x00000000bebc20, CPU1: 0x00000000000000
[    0.050261] CPU features: Unsupported CPU feature variation detected.
[    0.050291] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.050362] smp: Brought up 1 node, 2 CPUs
[    0.083287] SMP: Total of 2 processors activated.
[    0.088004] CPU features: detected: 32-bit EL0 Support
[    0.093160] CPU features: detected: CRC32 instructions
[    0.098343] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.106788] CPU: All CPU(s) started at EL2
[    0.110900] alternatives: patching kernel code
[    0.119826] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.129730] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.136689] pinctrl core: initialized pinctrl subsystem
[    0.142800] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.149072] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.156210] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.163999] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.172225] thermal_sys: Registered thermal governor 'fair_share'
[    0.172229] thermal_sys: Registered thermal governor 'bang_bang'
[    0.178341] thermal_sys: Registered thermal governor 'step_wise'
[    0.184371] thermal_sys: Registered thermal governor 'user_space'
[    0.190597] ASID allocator initialised with 65536 entries
[    0.202514] pstore: Registered ramoops as persistent store backend
[    0.208723] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.236666] cryptd: max_cpu_qlen set to 1000
[    0.243556] SCSI subsystem initialized
[    0.247515] libata version 3.00 loaded.
[    0.252656] clocksource: Switched to clocksource arch_sys_counter
[    0.259371] NET: Registered PF_INET protocol family
[    0.264447] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.272183] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.280591] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.288370] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.296174] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.303386] TCP: Hash tables configured (established 4096 bind 4096)
[    0.309852] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.316430] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.323577] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.329288] PCI: CLS 0 bytes, default 64
[    0.335769] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    0.345903] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.351768] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.394939] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.403565] mt7622-pinctrl 10211000.pinctrl: invalid group "pwm_ch7_2" for function "pwm"
[    0.416576] mt-pmic-pwrap 10001000.pwrap: unexpected interrupt int=0x1
[    0.431665] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.440392] printk: console [ttyS0] disabled
[    0.464933] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 125, base_baud = 1562500) is a ST16650V2
[    0.474260] printk: console [ttyS0] enabled
[    0.474260] printk: console [ttyS0] enabled
[    0.482624] printk: bootconsole [uart8250] disabled
[    0.482624] printk: bootconsole [uart8250] disabled
[    0.513215] 11004000.serial: ttyS1 at MMIO 0x11004000 (irq = 126, base_baud = 1562500) is a ST16650V2
[    0.523337] 1100c000.serial: ttyS2 at MMIO 0x1100c000 (irq = 130, base_baud = 17499995) is a MediaTek BTIF
[    0.533170] serial serial0: tty port ttyS2 registered
[    0.539028] mtk_rng 1020f000.rng: registered RNG driver
[    0.542854] random: crng init done
[    0.551675] loop: module loaded
[    0.554864] Loading iSCSI transport class v2.0-870.
[    0.560916] mtk-ecc 1100e000.ecc: probed
[    0.568376] spi-nand spi2.0: Fidelix SPI NAND was found.
[    0.573748] spi-nand spi2.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.581882] mtk-snand 1100d000.spi: ECC strength: 4 bits per 512 bytes
[    0.588761] 4 fixed-partitions partitions found on MTD device spi2.0
[    0.595185] OF: Bad cell count for /spi@1100d000/flash@0/partitions
[    0.601471] OF: Bad cell count for /spi@1100d000/flash@0/partitions
[    0.608034] Creating 4 MTD partitions on "spi2.0":
[    0.612848] 0x000000000000-0x000000080000 : "bl2"
[    0.618746] 0x000000080000-0x0000001c0000 : "fip"
[    0.625258] 0x0000001c0000-0x0000002c0000 : "factory"
[    0.631785] 0x000000300000-0x000008000000 : "ubi"
[    0.894049] mtk_soc_eth 1b100000.ethernet: generated random MAC address b2:8c:f6:9b:8e:54
[    0.904891] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xffffffc0094a0000, irq 141
[    0.914787] i2c_dev: i2c /dev entries driver
[    0.920341] mtk-wdt 10212000.watchdog: IRQ index 0 not found
[    0.926204] mtk-wdt 10212000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    0.936306] NET: Registered PF_INET6 protocol family
[    0.942125] Segment Routing with IPv6
[    0.945876] In-situ OAM (IOAM) with IPv6
[    0.949831] NET: Registered PF_PACKET protocol family
[    0.954926] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.968159] 8021q: 802.1Q VLAN Support v1.8
[    0.973683] pstore: Using crash dump compression: deflate
[    0.989953] mtk-pcie 1a143000.pcie: host bridge /pcie@1a143000 ranges:
[    0.996558] mtk-pcie 1a143000.pcie: Parsing ranges property...
[    1.002401] mtk-pcie 1a143000.pcie:      MEM 0x0020000000..0x0027ffffff -> 0x0020000000
[    1.139151] mtk-pcie 1a143000.pcie: PCI host bridge to bus 0000:00
[    1.145405] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.150908] pci_bus 0000:00: root bus resource [mem 0x20000000-0x27ffffff]
[    1.157810] pci_bus 0000:00: scanning bus
[    1.161894] pci 0000:00:00.0: [14c3:3258] type 01 class 0x060400
[    1.167966] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x1ffffffff 64bit pref]
[    1.179057] pci_bus 0000:00: fixups for bus
[    1.183310] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[    1.190023] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.198067] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[    1.205026] pci_bus 0000:01: scanning bus
[    1.209289] pci 0000:01:00.0: [14c3:7915] type 00 class 0x000280
[    1.215525] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.222894] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.230242] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.238303] pci 0000:01:00.0: supports D1 D2
[    1.242580] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.249253] pci 0000:01:00.0: PME# disabled
[    1.253788] 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.296112] pci_bus 0000:01: fixups for bus
[    1.300324] pci_bus 0000:01: bus scan returning with max=01
[    1.305936] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.312575] pci_bus 0000:00: bus scan returning with max=01
[    1.318170] pci 0000:00:00.0: BAR 0: no space for [mem size 0x200000000 64bit pref]
[    1.325826] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x200000000 64bit pref]
[    1.333835] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
[    1.340621] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit pref]
[    1.348454] pci 0000:01:00.0: BAR 2: assigned [mem 0x20100000-0x20103fff 64bit pref]
[    1.356282] pci 0000:01:00.0: BAR 4: assigned [mem 0x20104000-0x20104fff 64bit pref]
[    1.364108] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.369070] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x201fffff]
[    1.375999] pcieport 0000:00:00.0: assign IRQ: got 146
[    1.381141] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    1.387255] pcieport 0000:00:00.0: enabling bus mastering
[    1.392692] mtk-pcie 1a143000.pcie: msi#0 address_hi 0x0 address_lo 0x44d6d0c0
[    1.400102] pcieport 0000:00:00.0: PME: Signaling with IRQ 146
[    1.406046] pcieport 0000:00:00.0: saving config space at offset 0x0 (reading 0x325814c3)
[    1.414241] pcieport 0000:00:00.0: saving config space at offset 0x4 (reading 0x100006)
[    1.422242] pcieport 0000:00:00.0: saving config space at offset 0x8 (reading 0x6040000)
[    1.430330] pcieport 0000:00:00.0: saving config space at offset 0xc (reading 0x10000)
[    1.438245] pcieport 0000:00:00.0: saving config space at offset 0x10 (reading 0xc)
[    1.445898] pcieport 0000:00:00.0: saving config space at offset 0x14 (reading 0x0)
[    1.453555] pcieport 0000:00:00.0: saving config space at offset 0x18 (reading 0x40010100)
[    1.461812] pcieport 0000:00:00.0: saving config space at offset 0x1c (reading 0x4200000)
[    1.469987] pcieport 0000:00:00.0: saving config space at offset 0x20 (reading 0x20102000)
[    1.478251] pcieport 0000:00:00.0: saving config space at offset 0x24 (reading 0x0)
[    1.485905] pcieport 0000:00:00.0: saving config space at offset 0x28 (reading 0x0)
[    1.493559] pcieport 0000:00:00.0: saving config space at offset 0x2c (reading 0x0)
[    1.501208] pcieport 0000:00:00.0: saving config space at offset 0x30 (reading 0x0)
[    1.508862] pcieport 0000:00:00.0: saving config space at offset 0x34 (reading 0x50)
[    1.516601] pcieport 0000:00:00.0: saving config space at offset 0x38 (reading 0x0)
[    1.524255] pcieport 0000:00:00.0: saving config space at offset 0x3c (reading 0x20192)
[    1.532820] mtk-pcie 1a145000.pcie: host bridge /pcie@1a145000 ranges:
[    1.539372] mtk-pcie 1a145000.pcie: Parsing ranges property...
[    1.545215] mtk-pcie 1a145000.pcie:      MEM 0x0028000000..0x002fffffff -> 0x0028000000
[    1.772728] mtk-pcie 1a145000.pcie: Port1 link down
[    1.777804] mtk-pcie 1a145000.pcie: PCI host bridge to bus 0001:00
[    1.784012] pci_bus 0001:00: root bus resource [bus 00-ff]
[    1.789499] pci_bus 0001:00: root bus resource [mem 0x28000000-0x2fffffff]
[    1.796376] pci_bus 0001:00: scanning bus
[    1.801814] pci_bus 0001:00: fixups for bus
[    1.806001] pci_bus 0001:00: bus scan returning with max=00
[    1.812181] mtk_hsdma 1b007000.dma-controller: MediaTek HSDMA driver registered
[    1.870592] mt7530-mdio mdio-bus:00: configuring for fixed/2500base-x link mode
[    1.879864] mt7530-mdio mdio-bus:00: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    1.888837] mt7530-mdio mdio-bus:00 lan1 (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7531 PHY] (irq=147)
[    1.909393] mt7530-mdio mdio-bus:00 lan2 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=148)
[    1.929816] mt7530-mdio mdio-bus:00 lan3 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=149)
[    1.950164] mt7530-mdio mdio-bus:00 lan4 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=150)
[    1.970725] mt7530-mdio mdio-bus:00 wan (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7531 PHY] (irq=151)
[    1.982024] DSA: tree 0 setup
[    1.985752] UBI: auto-attach mtd3
[    1.989084] ubi0: default fastmap pool size: 50
[    1.993619] ubi0: default fastmap WL pool size: 25
[    1.998402] ubi0: attaching mtd3
[    2.300163] ubi0: scanning is finished
[    2.309499] ubi0: attached mtd3 (name "ubi", size 125 MiB)
[    2.315020] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.321893] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.328680] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.335652] ubi0: good PEBs: 1000, bad PEBs: 0, corrupted PEBs: 0
[    2.341739] ubi0: user volume: 5, internal volumes: 1, max. volumes count: 128
[    2.348962] ubi0: max/mean erase counter: 3/2, WL threshold: 4096, image sequence number: 438452711
[    2.358007] ubi0: available PEBs: 0, total reserved PEBs: 1000, PEBs reserved for bad PEB handling: 20
[    2.367321] ubi0: background thread "ubi_bgt0d" started, PID 513
[    2.374438] FIT: Selected configuration: "config-1" (OpenWrt linksys_e8450-ubi)
[    2.381767] FIT:           kernel sub-image 0x00001000..0x004eb10d "kernel-1" (ARM64 OpenWrt Linux-5.15.162)

This is expected, if you didn't restore the mtd2 backup into the 'factory' mtd partition. The 5GHz radio disappears when it can't load its eeprom, and the eeprom is within the factory data.

Despite the restoration of mt2 partition, it does not work. May I know the details of how to do it?

First, we should check to make sure the data is valid. It's possible the data itself is corrupted.

If you're familiar with a hex editor, open up the mtd2 file and take a look at the first few bytes. They should be 22 76 02 00 and then the MAC address associated with the 2.4GHz radio. If the first four are something else, please post the first line here since it might identify what data it really is.


mtd2 This is the content that was opened as a hex editor.

2.4gHz MAC address

Ok, so your file is correct but it wasn't successfully loaded onto the router. There are two ways to load the data. Since you already have OpenWRT up and running, you can copy the mtd2 file onto the router and then write it with the help of the mtd-rw.ko kernel module (you'll need to install the package and load the module), or it can be done from U-Boot and TFTP just like how you restored the firmware.

The hard recovery instructions post contains the instructions for restoring the factory data over TFTP and U-Boot. However, since it didn't work for you, I can only assume that something went wrong and you didn't see it, or that you accidentally skipped over it.

Sorry for hijack this part of the conversation but I have a somewhat related question.

I'm runing just fine 24.10.1 and used the 1.1.3 installer when it came out.

I know theres no need to update the U-Boot and recovery environment because it's working fine. But I have a serial adapter and I'm familiar with disassembling our beloved RT3200 and I'd like to learn how to work on the U-Boot menu and take advantage of updating those components.

But seeing this and the other thread that one E8450 got bricked and the NAND is toast, what are your thoughts? Do I leave it like that? Or is relatively safe to upgrade the components of the firmware to 24.10.1 versions? I know I must follow the hard recovery parts. I was mosly interested in updated the recovery (use TFTP server and select the appropiate entry on the menu, serving the kernel file from the FW Selector).

Thanks in advance.

MT7622> tftpboot 0x48000000 mtd2
Using ethernet@1b100000 device
TFTP from server 192.168.1.254; our IP address is 192.168.1.1
Filename 'mtd2'.
Load address: 0x48000000
Loading: #################################################################
         #######
         2.6 MiB/s
done
Bytes transferred = 1048576 (100000 hex)
MT7622> reboot
Unknown command 'reboot' - try 'help'
MT7622> reset
resetting ...

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

NOTICE:  BL2: v2.4(release):OpenWrt v2021-05-08-d2c75b21-3 (mt7622-snand-1ddr)
NOTICE:  BL2: Built : 22:25:54, Jul 15 2024
NOTICE:  SPI-NAND: FM35Q1GA (128MB)
ERROR:   BL2: Failed to load image id 3 (-2)

I installed mtd2 using the tftpboot command, but I get an error. What's the reason

It's not a hijack; This thread was made for general discussion regarding this model router. It simply also happens to be the place where people come to ask questions, and so troubleshooting happens. :slight_smile:

The person whose router is indicating all bad blocks is in a very unusual situation. It's the first time I've ever seen a router end up like that, and there are only a couple possible reasons I can see for it. Either way, with how so many people have used this model and with the large number of known installs and updates, this is the first reporting of such an issue. Therefore, it stands to reason that most people will never see that issue occur at all.

As for your router, the only real difference in 1.1.3 vs, 1.1.4 is indeed only the recovery environment that gets installed. 1.1.3 was a snapshot version, and 1.1.4 loaded 24.10.0. Updating the recovery environment is quite easy since everything else is compatible and effectively equal. All you need to do is give the 24.10.1 recovery file the proper name, place it on TFTP, and then run that option from the U-Boot menu. Since the changes made are entirely within UBI, even bad blocks won't give it any trouble. The only thing that might be a problem is if the size has changed. If so, you may need to delete the rootfs_data volume (all user data) in order to get it to work.

2 Likes

You're not issuing the right commands. tftpboot only loads the file into memory. It doesn't write anything into flash. Go back to the 'hard recovery' post and look at the whole command line for restoring the factory partition. It contains multiple commands in a single line. If separating each command out onto a separate line is helpful, here's what it's doing:

tftpboot factory.bin
mtd erase factory
mtd write factory $loadaddr 0 $filesize

The command you issued is only the first command of the three, and all three are necessary.

As for the error, I think you may have done something similar with the rest of the commands. The error you're getting is the BL2 not being able to find the FIP in the appropriate fip partition of MTD space. This suggests it may not have been written properly to flash, either.

1 Like

So, in a nutshell I should do the following:

  1. Connect the serial cable and LAN cable to my laptop and set up the LAN to 192.168.1.254 and the TFTP server. Get the kernel file from the 24.10.1 Firmware Selector.
  2. Run the mtk_uartboot program to get to the boot menu.
  3. Use option 6 (Load recovery system via TFTP then write to flash).
  4. Wait for the TFTP to upload and the router write its stuff and reboot? (option 9)

The router should go back to a woking 24.10.1 state right? If there's no space what is the procedure?