@ka2107:
Thanks!!! snapshot recovery is running with network and correct mac! And my self build image works.
Also your steps recreated ubi (see log), there are now 7 instead 5 partitions + renamings, boot_backup exists. MTDs are now only 2 instead 3.
Full log of the steps of you post (linebreaks because of serial)
root@OpenWrt:/tmp/x# uname -a
Linux OpenWrt 5.15.162 #0 SMP Mon Jul 15 22:14:18 2024 aarch64 GNU/Linux
root@OpenWrt:/tmp/x# opkg install kmod-mtd-rw_5.15.162+git-20160214-2_aarch64_co
rtex-a53.ipk
Installing kmod-mtd-rw (5.15.162+git-20160214-2) to root...
Configuring kmod-mtd-rw.
root@OpenWrt:/tmp/x# insmod mtd-rw.ko i_want_a_brick=1
[ 112.362461] mtd-rw: mtd0: setting writeable flag
[ 112.367153] mtd-rw: mtd1: setting writeable flag
[ 112.371772] mtd-rw: mtd2: setting writeable flag
root@OpenWrt:/tmp/x# for bl2start in 0x0 0x20000 0x40000 0x60000 ; do
> mtd -p ${bl2start} write /tmp/x/openwrt-22.03.7-mediatek-mt7622-linksys_e8450-
ubi-preloader.bin /dev/mtd0
> sync
> done
Unlocking /dev/mtd0 ...
Writing from /tmp/x/openwrt-22.03.7-mediatek-mt7622-linksys_e8450-ubi-preloader.bin to /dev/mtd0 ...
Unlocking /dev/mtd0 ...
Seeking on mtd device '/dev/mtd0' to: 131072
Writing from /tmp/x/openwrt-22.03.7-mediatek-mt7622-linksys_e8450-ubi-preloader.bin to /dev/mtd0 ...
Unlocking /dev/mtd0 ...
Seeking on mtd device '/dev/mtd0' to: 262144
Writing from /tmp/x/openwrt-22.03.7-mediatek-mt7622-linksys_e8450-ubi-preloader.bin to /dev/mtd0 ...
Unlocking /dev/mtd0 ...
Seeking on mtd device '/dev/mtd0' to: 393216
Writing from /tmp/x/openwrt-22.03.7-mediatek-mt7622-linksys_e8450-ubi-preloader.bin to /dev/mtd0 ...
root@OpenWrt:/tmp/x# mtd write penwrt-23.05.4-mediatek-mt7622-linksys_e8450-ubi-
b^C
root@OpenWrt:/tmp/x# l
/bin/ash: l: not found
root@OpenWrt:/tmp/x# ls -al
drwxr-xr-x 2 root root 120 Jul 15 22:18 .
drwxrwxrwt 18 root root 440 Jul 15 22:15 ..
-rw-r--r-- 1 root root 2346 Aug 26 2024 kmod-mtd-rw_5.15.162+git-20160214-2_aarch64_cortex-a53.ipk
-rw-r--r-- 1 root root 2446 Aug 24 2024 kmod-mtd-rw_6.6.47.2021.02.28~e8776739-r1_aarch64_cortex-a53.ipk
-rw-r--r-- 1 root root 67445 Aug 26 2024 openwrt-22.03.7-mediatek-mt7622-linksys_e8450-ubi-preloader.bin
-rw-r--r-- 1 root root 1020236 Aug 26 2024 openwrt-23.05.4-mediatek-mt7622-linksys_e8450-ubi-bl31-uboot.fip
root@OpenWrt:/tmp/x# mtd write /tmp/x/openwrt-23.05.4-mediatek-mt7622-linksys_e8
450-ubi-bl31-uboot.fip /dev/mtd1
Unlocking /dev/mtd1 ...
Writing from /tmp/x/openwrt-23.05.4-mediatek-mt7622-linksys_e8450-ubi-bl31-uboot.fip to /dev/mtd1 ...
root@OpenWrt:/tmp/x# mtd write ./mtd2 /dev/mtd2
Unlocking /dev/mtd2 ...
Writing from ./mtd2 to /dev/mtd2 ...
root@OpenWrt:/tmp/x# sync
root@OpenWrt:/tmp/x# sysupgrade -F openwrt-mediatek-mt7622-linksys_e8450-ubi-ini
tramfs-recovery-installer.itb
Mon Jul 15 22:21:55 UTC 2024 upgrade: Image metadata not present
Image check failed but --force given - will update anyway!
Cannot save config while running from ramdisk.
Mon Jul 15 22:21:55 UTC 2024 upgrade: Commencing upgrade. Closing all shell sessions.
Command failed: Watchdog handover: fd=3
- watchdog -
Watchdog does not have CARDRESET support
Mon Jul 15 22:21:55 UTC 2024 upgrade: Sending TERM to remaining processes ...
Mon Jul 15 22:21:59 UTC 2024 upgrade: Sending KILL to remaining processes ...
[ 474.011676] stage2 (2975): drop_caches: 3
Mon Jul 15 22:22:05 UTC 2024 upgrade: Switching to ramdisk...
Mon Jul 15 22:22:06 UTC 2024 upgrade: Performing system upgrade...
umount: can't unmount /dev/ubiblock0_3: Invalid argument
[ 475.673518] block ubiblock0_3: released
Volume ID 3, size 118 LEBs (14983168 bytes, 14.2 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "fit", alignment 1
Set volume size to 98787328
Volume ID 4, size 778 LEBs (98787328 bytes, 94.2 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
[ 478.793850] 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 02B0 [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)
NOTICE: BL2: Booting BL31
NOTICE: BL31: v2.9(release):OpenWrt v2023-07-24-00ac6db3-2 (mt7622-snand-1ddr)
NOTICE: BL31: Built : 22:14:18, Jul 15 2024
U-Boot 2023.07.02-OpenWrt-r24012-d8dd03c46f (Jul 15 2024 - 22:14:18 +0000)
CPU: MediaTek MT7622
Model: mt7622-linksys-e8450-ubi
DRAM: 512 MiB
Core: 48 devices, 21 uclasses, devicetree: separate
MMC:
Loading Environment from UBI... SPI-NAND: FM35Q1GA (128MB)
Read 126976 bytes from volume ubootenv to 000000005f7bf200
Read 126976 bytes from volume ubootenv2 to 000000005f7de240
OK
In: serial@11002000
Out: serial@11002000
Err: serial@11002000
reset button found
Loading Environment from UBI... UBI partition 'ubi' already selected
Read 126976 bytes from volume ubootenv to 000000005f7bf200
Read 126976 bytes from volume ubootenv2 to 000000005f7de240
OK
Net:
Error: ethernet@1b100000 address ff:ff:ff:ff:ff:ff illegal value
eth0: ethernet@1b100000
Error: ethernet@1b100000 address ff:ff:ff:ff:ff:ff illegal value
No EFI system partition
No EFI system partition
Failed to persist EFI variables
( ( ( OpenWrt ) ) ) U-Boot 2023.07.02-OpenWrt-r24012-d8dd03c46f (Jul 15 2024 - 22:14:18 +0000)
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
UBI partition 'ubi' already selected
No size specified -> Using max size (14983168)
Read 14983168 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-6.6.45
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x480000fc
Data Size: 4327076 Bytes = 4.1 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x44000000
Entry Point: 0x44000000
Hash algo: crc32
Hash value: 212dd8a0
Hash algo: sha1
Hash value: fc1cc1ac0fb86d7a9086da40b300ece1b699ddf4
Image 1 (initrd-1)
Description: ARM64 OpenWrt linksys_e8450-ubi initrd
Type: RAMDisk Image
Compression: uncompressed
Data Start: 0x484208dc
Data Size: 10578080 Bytes = 10.1 MiB
Architecture: AArch64
OS: Linux
Load Address: unavailable
Entry Point: unavailable
Hash algo: crc32
Hash value: 10fda29c
Hash algo: sha1
Hash value: 97a7c23b9f44412d5cbc074de9a3b5e4af4e1abc
Image 2 (fdt-1)
Description: ARM64 OpenWrt linksys_e8450-ubi device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x48e3728c
Data Size: 31507 Bytes = 30.8 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: 26f862fe
Hash algo: sha1
Hash value: 598b874eb0c650756d2037571ba19d8fa874f1d9
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+
## Loading kernel from FIT Image at 48000000 ...
Using 'config-1' configuration
Trying 'kernel-1' kernel subimage
Description: ARM64 OpenWrt Linux-6.6.45
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x480000fc
Data Size: 4327076 Bytes = 4.1 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x44000000
Entry Point: 0x44000000
Hash algo: crc32
Hash value: 212dd8a0
Hash algo: sha1
Hash value: fc1cc1ac0fb86d7a9086da40b300ece1b699ddf4
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: 0x484208dc
Data Size: 10578080 Bytes = 10.1 MiB
Architecture: AArch64
OS: Linux
Load Address: unavailable
Entry Point: unavailable
Hash algo: crc32
Hash value: 10fda29c
Hash algo: sha1
Hash value: 97a7c23b9f44412d5cbc074de9a3b5e4af4e1abc
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: 0x48e3728c
Data Size: 31507 Bytes = 30.8 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: 26f862fe
Hash algo: sha1
Hash value: 598b874eb0c650756d2037571ba19d8fa874f1d9
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x48e3728c
Working FDT set to 48e3728c
Uncompressing Kernel Image
Loading Ramdisk to 5ddd4000, end 5e7ea8a0 ... OK
Loading Device Tree to 000000005ddc9000, end 000000005ddd3b12 ... OK
Working FDT set to 5ddc9000
Add 'ramoops@42ff0000' node failed: FDT_ERR_EXISTS
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.6.45 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r27137-f51cb74473) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Mon Aug 12 22:48:06 2024
[ 0.000000] Machine model: Linksys E8450 (UBI)
[ 0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options '')
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] OF: reserved mem: 0x0000000042ff0000..0x0000000042ffffff (64 KiB) map non-reusable ramoops@42ff0000
[ 0.000000] OF: reserved mem: 0x0000000043000000..0x000000004302ffff (192 KiB) nomap non-reusable secmon@43000000
[ 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 s35112 r8192 d30424 u73728
[ 0.000000] pcpu-alloc: s35112 r8192 d30424 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] 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] Built 1 zonelists, mobility grouping on. Total pages: 129024
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: area num 2.
[ 0.000000] software IO TLB: mapped [mem 0x000000005f4c0000-0x000000005f5c0000] (1MB)
[ 0.000000] Memory: 489004K/524288K available (8960K kernel code, 912K rwdata, 2572K rodata, 384K init, 309K bss, 35284K 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.
libscan: scanning eraseblock 1019 -- 100 % complete -enlistment delay iseblock 144 -- 14 % complete
ubiformat: 1003 eraseblocks have valid erase counter, mean value is 4
ubiformat: 7 eraseblocks are supposedly empty
ubiformat: 1 bad eraseblocks found, numbers: 229
ubiformat: warning!: 9 of 1019 eraseblocks contain non-UBI data
ubiformat: formatting era[ 13.466562] platform fitblk: deferred probe pending
seblock 808 -- 7[ 13.471921] platform 1b100000.ethernet: deferred probe pending
ubiformat: formatting eraseblock 1019 -- 100 % complete
[ 15.234979] ubi0: default fastmap pool size: 50
[ 15.239586] ubi0: default fastmap WL pool size: 25
[ 15.244383] ubi0: attaching mtd1
[ 15.556215] ubi0: scanning is finished
[ 15.565414] ubi0: attached mtd1 (name "ibu", size 127 MiB)
[ 15.570946] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 15.577826] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 15.584611] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 15.591572] ubi0: good PEBs: 1019, bad PEBs: 1, corrupted PEBs: 0
[ 15.597661] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[ 15.604875] ubi0: max/mean erase counter: 66/4, WL threshold: 4096, image sequence number: 1006343668
[ 15.614096] ubi0: available PEBs: 994, total reserved PEBs: 25, PEBs reserved for bad PEB handling: 19
[ 15.623410] ubi0: background thread "ubi_bgt0d" started, PID 653
UBI device number 0, total 1019 LEBs (129388544 bytes, 123.3 MiB), available 994 LEBs (126214144 bytes, 120.3 MiB), LEB size 126976 bytes (124.0 KiB)
Volume ID 0, size 9 LEBs (1142784 bytes, 1.0 MiB), LEB size 126976 bytes (124.0 KiB), static, name "fip", alignment 1
Volume ID 1, size 5 LEBs (634880 bytes, 620.0 KiB), LEB size 126976 bytes (124.0 KiB), static, name "factory", alignment 1
[ 17.225451] OF: Bad cell count for /spi@1100d000/flash@0/partitions
Volume ID 2, size 1 LEBs (126976 bytes, 124.0 KiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "ubootenv", alignment 1
[ 17.247694] OF: Bad cell count for /spi@1100d000/flash@0/partitions
Volume ID 3, size 1 LEBs (126976 bytes, 124.0 KiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "ubootenv2", alignment 1
write recovery ubi volume
Volume ID 4, size 59 LEBs (7491584 bytes, 7.1 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "recovery", alignment 1
[ 18.988399] block ubiblock0_5: created from ubi0:5(fit)
Volume ID 5, size 1 LEBs (126976 bytes, 124.0 KiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "fit", alignment 1
writing backup files to ubi volume...
Volume ID 6, size 67 LEBs (8507392 bytes, 8.1 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "boot_backup", alignment 1
[ 19.021482] UBIFS (ubi0:6): default file-system created
[ 19.027068] UBIFS (ubi0:6): Mounting in unauthenticated mode
[ 19.032838] UBIFS (ubi0:6): background thread "ubifs_bgt0_6" started, PID 696
[ 19.061340] UBIFS (ubi0:6): UBIFS: mounted UBI device 0, volume 6, name "boot_backup"
[ 19.069245] UBIFS (ubi0:6): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 19.079175] UBIFS (ubi0:6): FS size: 7237632 bytes (6 MiB, 57 LEBs), max 67 LEBs, journal size 1015809 bytes (0 MiB, 6 LEBs)
[ 19.090400] UBIFS (ubi0:6): reserved for root: 341850 bytes (333 KiB)
[ 19.096840] UBIFS (ubi0:6): media format: w5/r0 (latest is w5/r0), UUID AFF70593-FB24-4CB7-8087-091875F9C1DD, small LPT model
[ 19.412797] UBIFS (ubi0:6): un-mount UBI device 0
[ 19.417579] UBIFS (ubi0:6): background thread "ubifs_bgt0_6" stops
[ 24.467277] 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 : 22:48:06, Aug 12 2024
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: 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
NOTICE: UBI: Volume fip (Id #0) size is 1015884 bytes
NOTICE: BL2: Booting BL31
NOTICE: BL31: v2.10.0 (release):OpenWrt v2024.01.17~bacca82a-3 (mt7622-snand-ubi-1ddr)
NOTICE: BL31: Built : 22:48:06, Aug 12 2024
U-Boot 2024.07-OpenWrt-r27137-f51cb74473 (Aug 12 2024 - 22:48:06 +0000)
CPU: MediaTek MT7622
Model: mt7622-linksys-e8450-ubi
DRAM: 512 MiB
Core: 49 devices, 21 uclasses, devicetree: separate
MMC:
Loading Environment from UBI... SPI-NAND: FM35Q1GA (128MB)
Read 126976 bytes from volume ubootenv to 000000005f7bf0c0
Read 126976 bytes from volume ubootenv2 to 000000005f7de100
*** Warning - bad CRC, using default environment
In: serial@11002000
Out: serial@11002000
Err: serial@11002000
reset button found
*** Warning - bad CRC, using default environment
Net:
Error: ethernet@1b100000 No valid MAC address found.
No ethernet found.
No size specified -> Using max size (524288)
Read 524288 bytes from volume factory to 0000000040080000
Saving Environment to UBI... UBI partition 'ubi' already selected
Writing to UBI... done
OK
Saving Environment to UBI... UBI partition 'ubi' already selected
Writing to UBI... done
OK
off
( ( ( OpenWrt ) ) ) U-Boot 2024.07-OpenWrt-r27137-f51cb74473 (Aug 12 2024 - 22:48:06 +0000)
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. Exit
Press UP/DOWN to move, ENTER to select, ESC to quit
UBI partition 'ubi' already selected
No size specified -> Using max size (126976)
Read 126976 bytes from volume fit to 0000000048000000
## Checking Image at 48000000 ...
Unknown image format!
No size specified -> Using max size (7491584)
Read 7491584 bytes from volume recovery to 0000000048000000
## Loading kernel from FIT Image at 48000000 ...
Using 'config-1' configuration
Trying 'kernel-1' kernel subimage
Description: ARM64 OpenWrt Linux-6.6.45
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x480000fc
Data Size: 4327076 Bytes = 4.1 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x44000000
Entry Point: 0x44000000
Hash algo: crc32
Hash value: 212dd8a0
Hash algo: sha1
Hash value: fc1cc1ac0fb86d7a9086da40b300ece1b699ddf4
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: 0x484208dc
Data Size: 3068880 Bytes = 2.9 MiB
Architecture: AArch64
OS: Linux
Load Address: unavailable
Entry Point: unavailable
Hash algo: crc32
Hash value: a6d1879d
Hash algo: sha1
Hash value: 6897752aaaa192b49bfd82083f80c3890a660d52
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: 0x4870ddbc
Data Size: 31553 Bytes = 30.8 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: 96c645f4
Hash algo: sha1
Hash value: 6dfe5855931ce4620c8593e5050d54386555cc87
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x4870ddbc
Working FDT set to 4870ddbc
Uncompressing Kernel Image to 44000000
Loading Ramdisk to 5e50b000, end 5e7f83d0 ... OK
Loading Device Tree to 000000005e500000, end 000000005e50ab40 ... OK
Working FDT set to 5e500000
Add 'ramoops@42ff0000' node failed: FDT_ERR_EXISTS
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.6.45 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r27137-f51cb74473) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Mon Aug 12 22:48:06 2024
[ 0.000000] Machine model: Linksys E8450 (UBI)
[ 0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options '')
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] OF: reserved mem: 0x0000000042ff0000..0x0000000042ffffff (64 KiB) map non-reusable ramoops@42ff0000
[ 0.000000] OF: reserved mem: 0x0000000043000000..0x000000004302ffff (192 KiB) nomap non-reusable secmon@43000000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000005fffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
...
...
...
[ 3.742209] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/2500base-x link mode
[ 3.750958] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 3.926418] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 6.186591] procd: - early -
[ 6.189561] procd: - watchdog -
[ 6.724510] procd: - watchdog -
[ 6.728092] procd: - ubus -
[ 6.783480] procd: - init -
Please press Enter to activate this console.
[ 6.997875] kmodloader: loading kernel modules from /etc/modules.d/*
[ 7.039838] PPP generic driver version 2.4.2
[ 7.045260] NET: Registered PF_PPPOX protocol family
[ 7.054125] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 7.204169] urngd: v1.0.2 started.
[ 11.297044] mtk_soc_eth 1b100000.ethernet eth0: Link is Down
[ 11.314148] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/2500base-x link mode
[ 11.328754] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 11.337625] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[ 11.349769] br-lan: port 1(lan1) entered blocking state
[ 11.355014] br-lan: port 1(lan1) entered disabled state
[ 11.360339] mt7530-mdio mdio-bus:1f lan1: entered allmulticast mode
[ 11.366684] mtk_soc_eth 1b100000.ethernet eth0: entered allmulticast mode
[ 11.375994] mt7530-mdio mdio-bus:1f lan1: entered promiscuous mode
[ 11.400836] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[ 11.412109] br-lan: port 2(lan2) entered blocking state
[ 11.417417] br-lan: port 2(lan2) entered disabled state
[ 11.422683] mt7530-mdio mdio-bus:1f lan2: entered allmulticast mode
[ 11.445154] mt7530-mdio mdio-bus:1f lan2: entered promiscuous mode
[ 11.473337] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 11.486654] br-lan: port 3(lan3) entered blocking state
[ 11.491903] br-lan: port 3(lan3) entered disabled state
[ 11.497248] mt7530-mdio mdio-bus:1f lan3: entered allmulticast mode
[ 11.506744] mt7530-mdio mdio-bus:1f lan3: entered promiscuous mode
[ 11.529857] mt7530-mdio mdio-bus:1f lan4: configuring for phy/gmii link mode
[ 11.545270] br-lan: port 4(lan4) entered blocking state
[ 11.550605] br-lan: port 4(lan4) entered disabled state
[ 11.555899] mt7530-mdio mdio-bus:1f lan4: entered allmulticast mode
[ 11.573765] mt7530-mdio mdio-bus:1f lan4: entered promiscuous mode
[ 11.598716] mt7530-mdio mdio-bus:1f wan: configuring for phy/gmii link mode
[ 14.696622] mt7530-mdio mdio-bus:1f lan3: Link is Up - 1Gbps/Full - flow control off
[ 14.704452] br-lan: port 3(lan3) entered blocking state
[ 14.709722] br-lan: port 3(lan3) entered forwarding state
BusyBox v1.36.1 (2024-08-12 22:48:06 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r27137-f51cb74473
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# ubinfo -a 2>&1 |grep -E "^(N|C)"
Count of UBI devices: 1
Count of bad physical eraseblocks: 1
Count of reserved physical eraseblocks: 19
Current maximum erase counter value: 66
Character device major/minor: 250:0
Name: fip
Character device major/minor: 250:1
Name: factory
Character device major/minor: 250:2
Name: ubootenv
Character device major/minor: 250:3
Name: ubootenv2
Character device major/minor: 250:4
Name: recovery
Character device major/minor: 250:5
Name: fit
Character device major/minor: 250:6
Name: boot_backup
Character device major/minor: 250:7
root@OpenWrt:/# ifconfig br-lan
br-lan Link encap:Ethernet HWaddr C4:41:1E:xx:xx:xx
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fd19:b6b0:cac3::1/60 Scope:Global
inet6 addr: fe80::c641:1eff:fef8:9687/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:814 errors:0 dropped:0 overruns:0 frame:0
TX packets:680 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:122435 (119.5 KiB) TX bytes:627389 (612.6 KiB)
root@OpenWrt:/# cat /proc/mtd
dev: size erasesize name
mtd0: 00080000 00020000 "bl2"
mtd1: 07f80000 00020000 "ubi"
root@OpenWrt:/#
Thanks again!