Hello, I would like to know if there is any firmware for the TP-Link Ex520. It is visually identical to the Ex220 (same number of ports and LEDs), but the processor is different. Below are some pictures and a boot log when starting a serial connection.
Apparently TP-Link already uses modified OpenWrt...
U-Boot 2022.07-rc1 (Oct 15 2024 - 18:29:24 +0800)
CPU: MediaTek MT7981
Model: mt7981-rfb
DRAM: 256 MiB
Core: 36 devices, 16 uclasses, devicetree: embed
Trying 'kernel-1' kernel subimage
Description: ARM64 OpenWrt Linux-5.4.211
Initializing NMBM ...
spi-nand: spi_nand spi_nand@0: GigaDevice SPI NAND was found.
spi-nand: spi_nand spi_nand@0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
Could not find a valid device for nmbm0
Signature found at block 1023 [0x07fe0000]
First info table with writecount 0 found in block 960
Second info table with writecount 0 found in block 963
NMBM has been successfully attached
Loading Environment from MTD... OK
In: serial@11002000
Out: serial@11002000
Err: serial@11002000
Net: eth0: ethernet@15100000
press ctrl-c or t to go to uboot cmdline 0 ubi0: attaching mtd10
ubi0: scanning is finished
ubi0: attached mtd10 (name "misc_isp", size 6 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 48, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 3/2, WL threshold: 4096, image sequence number: 996483222
ubi0: available PEBs: 0, total reserved PEBs: 48, PEBs reserved for bad PEB handling: 19
Read 16 bytes from volume misc_isp to 000000004f7ff928
Aginet wait 6000 ms
timeout
new bootarg:ubi.mtd=ubi0 console=ttyS0,115200n1 loglevel=8 earlycon=uart8250,mmio32,0x11002000 AC=300
Saving Environment to MTD... Erasing on MTD device 'u-boot-env'... OK
Writing to MTD device 'u-boot-env'... OK
OK
new bootarg:ubi.mtd=ubi0 console=ttyS0,115200n1 loglevel=8 earlycon=uart8250,mmio32,0x11002000 AC=300
ubi0: detaching mtd10
ubi0: mtd10 is detached
ubi0: attaching mtd6
ubi0: scanning is finished
ubi0: attached mtd6 (name "ubi0", size 40 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 320, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 451607051
ubi0: available PEBs: 129, total reserved PEBs: 191, PEBs reserved for bad PEB handling: 19
Reading from volume 'uboot' to 0x41dfffc0, size 0x0 ... OK
Reading from volume 'rootfs' to 0x4a000000, size 0x0 ... OK
Reading from volume 'kernel' to 0x46000000, size 0x0 ... OK
## Booting kernel from Legacy Image at 41dfffc0 ...
Image Name: seconduboot
Image Type: ARM Linux Standalone Program (uncompressed)
Data Size: 666328 Bytes = 650.7 KiB
Load Address: 00000000
Entry Point: 41e00000
Verifying Checksum ... OK
Loading Standalone Program
U-Boot 2022.07-rc1 (Oct 15 2024 - 18:28:39 +0800)
CPU: MediaTek MT7981
Model: mt7981-rfb
DRAM: 256 MiB
Core: 36 devices, 16 uclasses, devicetree: embed
Initializing NMBM ...
spi-nand: spi_nand spi_nand@0: GigaDevice SPI NAND was found.
spi-nand: spi_nand spi_nand@0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
Could not find a valid device for nmbm0
Signature found at block 1023 [0x07fe0000]
First info table with writecount 0 found in block 960
Second info table with writecount 0 found in block 963
NMBM has been successfully attached
Loading Environment from MTD... OK
In: serial@11002000
Out: serial@11002000
Err: serial@11002000
Net: eth0: ethernet@15100000
new bootarg:ubi.mtd=ubi0 console=ttyS0,115200n1 loglevel=8 earlycon=uart8250,mmio32,0x11002000 AC=300
second uboot to boot kernel @46000000
## Loading kernel from FIT Image at 46000000 ...
Using 'config-1' configuration
Trying 'kernel-1' kernel subimage
Description: ARM64 OpenWrt Linux-5.4.211
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x460000e8
Data Size: 3743703 Bytes = 3.6 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x48080000
Entry Point: 0x48080000
Hash algo: crc32
Hash value: b9c8a7f7
Hash algo: sha1
Hash value: 3b838fd4ff26839fb73be4e82d5e6648a03ac223
Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 46000000 ...
Using 'config-1' configuration
Trying 'fdt-1' fdt subimage
Description: ARM64 OpenWrt EX520 device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x463921f8
Data Size: 18476 Bytes = 18 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: 87c42ac6
Hash algo: sha1
Hash value: 9cbc5ca1c024f5ac0ef7ca9eb16fd890fc902cc3
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x463921f8
Uncompressing Kernel Image
Loading Device Tree to 000000004f7f3000, end 000000004f7fa82b ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.4.211 (root@7086da4efda9) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16649-bcaabe6d05)) #1 SMP Tue Oct 15 18:31:04 CST 2024
[ 0.000000] Machine model: MediaTek MT7981 RFB
[ 0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options '')
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] On node 0 totalpages: 64592
[ 0.000000] DMA32 zone: 1024 pages used for memmap
[ 0.000000] DMA32 zone: 0 pages reserved
[ 0.000000] DMA32 zone: 64592 pages, LIFO batch:15
[ 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.0
[ 0.000000] percpu: Embedded 20 pages/cpu s44376 r8192 d29352 u81920
[ 0.000000] pcpu-alloc: s44376 r8192 d29352 u81920 alloc=20*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 63568
[ 0.000000] Kernel command line: ubi.mtd=ubi0 console=ttyS0,115200n1 loglevel=8 earlycon=uart8250,mmio32,0x11002000 AC=300
[ 0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 229768K/258368K available (7614K kernel code, 554K rwdata, 2064K rodata, 448K init, 308K bss, 28600K 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] rcu: CONFIG_RCU_FANOUT set to non-default value of 32.
[ 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] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 640 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] GICv3: 16 PPIs implemented
[ 0.000000] GICv3: no VLPI support, no direct LPI support
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[ 0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[ 0.000003] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[ 0.008209] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[ 0.018616] pid_max: default: 32768 minimum: 301
[ 0.023332] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.030594] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.039204] ASID allocator initialised with 65536 entries
[ 0.044713] rcu: Hierarchical SRCU implementation.
[ 0.049830] smp: Bringing up secondary CPUs ...
[ 0.054679] Detected VIPT I-cache on CPU1
[ 0.054702] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[ 0.054723] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.054784] smp: Brought up 1 node, 2 CPUs
[ 0.076384] SMP: Total of 2 processors activated.
[ 0.081105] CPU features: detected: 32-bit EL0 Support
[ 0.086262] CPU features: detected: CRC32 instructions
[ 0.091535] CPU: All CPU(s) started at EL2
[ 0.095651] alternatives: patching kernel code
[ 0.100644] devtmpfs: initialized
[ 0.106064] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.115971] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.122864] pinctrl core: initialized pinctrl subsystem
[ 0.128965] NET: Registered protocol family 16
[ 0.133660] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.140491] cpuidle: using governor ladder
[ 0.144625] cpuidle: using governor menu
[ 0.162300] cryptd: max_cpu_qlen set to 1000
[ 0.168478] SCSI subsystem initialized
[ 0.172401] libata version 3.00 loaded.
[ 0.177353] rbus 18000000.wbsys: PCI host bridge to bus 0000:00
[ 0.183340] pci_bus 0000:00: root bus resource [mem 0x18000000-0x18ffffff]
[ 0.190249] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.195762] pci_bus 0000:00: scanning bus
[ 0.199808] pci 0000:00:00.0: [14c3:7981] type 00 class 0x000280
[ 0.205859] pci 0000:00:00.0: reg 0x10: [mem 0x18000000-0x1800000f 64bit]
[ 0.212680] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x0000000f]
[ 0.218979] pci 0000:00:00.0: reg 0x1c: [mem 0x00000000-0x0000000f]
[ 0.225275] pci 0000:00:00.0: reg 0x20: [mem 0x00000000-0x0000000f]
[ 0.231573] pci 0000:00:00.0: reg 0x24: [mem 0x00000000-0x0000000f]
[ 0.238855] pci_bus 0000:00: fixups for bus
[ 0.243064] pci_bus 0000:00: bus scan returning with max=00
[ 0.249220] clocksource: Switched to clocksource arch_sys_counter
[ 0.256350] thermal_sys: Registered thermal governor 'fair_share'
[ 0.256353] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.262515] thermal_sys: Registered thermal governor 'step_wise'
[ 0.268548] thermal_sys: Registered thermal governor 'user_space'
[ 0.274586] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.280960] NET: Registered protocol family 2
[ 0.291990] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.299618] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.308024] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.315876] TCP bind hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.323072] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.329523] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.336088] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.343193] NET: Registered protocol family 1
[ 0.347588] PCI: CLS 0 bytes, default 64
[ 0.352295] workingset: timestamp_bits=46 max_order=16 bucket_order=0
[ 0.362307] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.368443] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.372996] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.383134] fuse: init (API version 7.31)
[ 0.399774] phy phy-usb-phy@11e10000.1: type_sw - reg 0x218, index 0
[ 0.415352] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 0.423353] printk: console [ttyS0] disabled
[ 0.447771] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 12, base_baud = 2500000) is a ST16650V2
[ 0.456983] printk: console [ttyS0] enabled
[ 0.456983] printk: console [ttyS0] enabled
[ 0.465341] printk: bootconsole [uart8250] disabled
[ 0.465341] printk: bootconsole [uart8250] disabled
[ 0.475928] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.484931] loop: module loaded
[ 0.488198] mediatek,mt2701-ice_debug ice_debug: get dbg_sel clock fail: -2
[ 0.495225] mediatek,mt2701-ice_debug: probe of ice_debug failed with error -2
[ 0.503437] mt7981-pinctrl 11d00000.pinctrl: pin_config_set op failed for pin 19
[ 0.510837] mtk-spi 1100a000.spi: Error applying setting, reverse things back
[ 0.518542] spi-nand spi0.0: GigaDevice SPI NAND was found.
[ 0.524136] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[ 0.534849] tun: Universal TUN/TAP device driver, 1.6
[ 0.540443] [mtk_hw_init] reset_lock:0, force:0
[ 0.544986] [mtk_hw_init] execute fe cold reset
[ 0.560616] phylink_parse_mode_phy check phy-link speed:1000 duplex:1
[ 0.581258] mtk_soc_eth 15100000.ethernet: generated random MAC address 96:ca:93:c7:7b:8e
[ 0.596180] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc011900000, irq 75
[ 0.605268] mtk_soc_eth 15100000.ethernet: generated random MAC address 3a:c1:a8:cb:05:e1
[ 0.613723] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc011900000, irq 75
[ 0.622768] (unnamed net_device) (dummy): netif_napi_add() called with weight 256
[ 0.630435] PPP generic driver version 2.4.2
[ 0.634850] PPP BSD Compression module registered
[ 0.639567] NET: Registered protocol family 24
[ 0.644014] PPTP driver version 0.8.5
[ 0.647993] i2c /dev entries driver
[ 0.652535] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[ 0.660609] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com
[ 0.669467] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[ 0.683062] exFAT: Version 1.3.0
[ 0.687823] GACT probability NOT on
[ 0.691339] Mirror/redirect action on
[ 0.694997] u32 classifier
[ 0.697690] input device check on
[ 0.701379] Actions configured
[ 0.705087] ipip: IPv4 and MPLS over IPv4 tunneling driver
[ 0.710895] gre: GRE over IPv4 demultiplexor driver
[ 0.715763] ip_gre: GRE over IPv4 tunneling driver
[ 0.721603] Initializing XFRM netlink socket
[ 0.726219] NET: Registered protocol family 10
[ 0.731783] Segment Routing with IPv6
[ 0.735646] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 0.742401] NET: Registered protocol family 17
[ 0.746856] NET: Registered protocol family 15
[ 0.751374] Bridge firewalling registered
[ 0.755572] l2tp_core: L2TP core driver, V2.0
[ 0.759940] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[ 0.764716] l2tp_netlink: L2TP netlink interface
[ 0.769363] 8021q: 802.1Q VLAN Support v1.8
[ 0.782937] nmbm nmbm_spim_nand: Signature found at block 1023 [0x07fe0000]
[ 0.790761] nmbm nmbm_spim_nand: First info table with writecount 0 found in block 960
[ 0.801287] nmbm nmbm_spim_nand: Second info table with writecount 0 found in block 963
[ 0.809287] nmbm nmbm_spim_nand: NMBM has been successfully attached
[ 0.815917] 10 fixed-partitions partitions found on MTD device nmbm_spim_nand
[ 0.823051] Creating 10 MTD partitions on "nmbm_spim_nand":
[ 0.828611] 0x000000000000-0x000000200000 : "boot"
[ 0.834071] 0x000000200000-0x000000300000 : "u-boot-env"
[ 0.839984] 0x000000300000-0x000000900000 : "misc_ro"
[ 0.845631] 0x000000900000-0x000000f00000 : "misc_rw"
[ 0.851356] 0x000000f00000-0x000003700000 : "ubi0"
[ 0.856770] 0x000003700000-0x000005f00000 : "ubi1"
[ 0.862222] 0x000005f00000-0x000006500000 : "misc_rw_bak"
[ 0.868220] 0x000006500000-0x000006b00000 : "bflag"
[ 0.873732] 0x000006b00000-0x000007100000 : "misc_isp"
[ 0.879535] 0x000000000000-0x000007800000 : "whole"
[ 1.098090] mt7530 mdio-bus:1f lan0 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[ 1.108872] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[ 1.119668] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[ 1.130399] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[ 1.140316] mt7530 mdio-bus:1f: configuring for fixed/2500base-x link mode
[ 1.147459] DSA: tree 0 setup
[ 1.147710] mt7530 mdio-bus:1f: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 1.157854] ubi0: attaching mtd5
[ 1.287169] ubi0: scanning is finished
[ 1.296273] ubi0: attached mtd5 (name "ubi0", size 40 MiB)
[ 1.301766] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 1.308625] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 1.315402] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 1.322351] ubi0: good PEBs: 320, bad PEBs: 0, corrupted PEBs: 0
[ 1.328342] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[ 1.335551] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 451607051
[ 1.344583] ubi0: available PEBs: 129, total reserved PEBs: 191, PEBs reserved for bad PEB handling: 19
[ 1.353969] ubi0: background thread "ubi_bgt0d" started, PID 768
[ 1.635162] random: crng init done
[ 3.051537] block ubiblock0_2: created from ubi0:2(rootfs)
[ 3.057015] ubiblock: device ubiblock0_2 (rootfs) set to be root filesystem
[ 3.064028] hctosys: unable to open rtc device (rtc0)
[ 3.069620] UBIFS (ubi0:2): static UBI volume - read-only mode
[ 3.075452] UBIFS error (ubi0:2 pid 1): ubifs_mount: cannot mount read-write - read-only media
[ 3.087076] VFS: Mounted root (squashfs filesystem) readonly on device 253:0.
[ 3.097182] devtmpfs: mounted
[ 3.100411] Freeing unused kernel memory: 448K
[ 3.129194] Run /sbin/init as init process
starting pid 777, tty '': '/etc/init.d/rcS'
[ 3.370195] ubi1: attaching mtd3
[ 3.392536] ubi1: scanning is finished
[ 3.401120] ubi1: attached mtd3 (name "misc_ro", size 6 MiB)
[ 3.406771] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 3.413659] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 3.420444] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.427389] ubi1: good PEBs: 48, bad PEBs: 0, corrupted PEBs: 0
[ 3.433298] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 3.440509] ubi1: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 908025214
[ 3.449540] ubi1: available PEBs: 0, total reserved PEBs: 48, PEBs reserved for bad PEB handling: 19
[ 3.458659] ubi1: background thread "ubi_bgt1d" started, PID 792
UBI device number 1, total 48 LEBs (6094848 bytes, 5.8 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
misc_ro found, mounting...
[ 3.496437] UBIFS (ubi1:0): Mounting in unauthenticated mode
[ 3.554633] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "misc_ro", R/O mode
[ 3.562998] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 3.572904] UBIFS (ubi1:0): FS size: 2031616 bytes (1 MiB, 16 LEBs), journal size 888833 bytes (0 MiB, 5 LEBs)
[ 3.582891] UBIFS (ubi1:0): reserved for root: 95957 bytes (93 KiB)
[ 3.589151] UBIFS (ubi1:0): media format: w5/r0 (latest is w5/r0), UUID E9166F47-4C9B-4C5D-81A1-39227D479411, small LPT model
[ 3.605155] ubi2: attaching mtd4
[ 3.627379] ubi2: scanning is finished
[ 3.635879] ubi2: attached mtd4 (name "misc_rw", size 6 MiB)
[ 3.641549] ubi2: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 3.648408] ubi2: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 3.655186] ubi2: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.662136] ubi2: good PEBs: 48, bad PEBs: 0, corrupted PEBs: 0
[ 3.668039] ubi2: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 3.675250] ubi2: max/mean erase counter: 6/2, WL threshold: 4096, image sequence number: 1791277016
[ 3.684367] ubi2: available PEBs: 0, total reserved PEBs: 48, PEBs reserved for bad PEB handling: 19
[ 3.693494] ubi2: background thread "ubi_bgt2d" started, PID 805
UBI device number 2, total 48 LEBs (6094848 bytes, 5.8 MiB), available 0 LEBs (0[ 3.705551] UBIFS (ubi2:0): Mounting in unauthenticated mode
bytes), LEB siz[ 3.712176] UBIFS (ubi2:0): background thread "ubifs_bgt2_0" started, PID 813
e 126976 bytes (124.0 KiB)
misc_rw found, mounting...
[ 3.744709] UBIFS (ubi2:0): recovery needed
[ 3.833976] UBIFS (ubi2:0): recovery completed
[ 3.838510] UBIFS (ubi2:0): UBIFS: mounted UBI device 2, volume 0, name "misc_rw"
[ 3.846003] UBIFS (ubi2:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 3.855910] UBIFS (ubi2:0): FS size: 2031616 bytes (1 MiB, 16 LEBs), journal size 888833 bytes (0 MiB, 5 LEBs)
[ 3.865901] UBIFS (ubi2:0): reserved for root: 95957 bytes (93 KiB)
[ 3.872163] UBIFS (ubi2:0): media format: w5/r0 (latest is w5/r0), UUID 4542EA9A-9C46-4E9F-B3A8-9BA60B01FF75, small LPT model
[ 3.889939] ubi3: attaching mtd7
[ 3.912171] ubi3: scanning is finished
[ 3.920694] ubi3: attached mtd7 (name "misc_rw_bak", size 6 MiB)
[ 3.926692] ubi3: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 3.933564] ubi3: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 3.940342] ubi3: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.947286] ubi3: good PEBs: 48, bad PEBs: 0, corrupted PEBs: 0
[ 3.953195] ubi3: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 3.960404] ubi3: max/mean erase counter: 6/2, WL threshold: 4096, image sequence number: 1373402045
[ 3.969522] ubi3: available PEBs: 0, total reserved PEBs: 48, PEBs reserved for bad PEB handling: 19
[ 3.978642] ubi3: background thread "ubi_bgt3d" started, PID 822
UBI device number 3, total 48 LEBs (6094848 bytes, 5.8 MiB), available 0 LEBs (0[ 3.990838] UBIFS (ubi3:0): Mounting in unauthenticated mode
bytes), LEB siz[ 3.997307] UBIFS (ubi3:0): background thread "ubifs_bgt3_0" started, PID 830
e 126976 bytes (124.0 KiB)
misc_rw_bak found, mounting...
[ 4.021756] UBIFS (ubi3:0): recovery needed
[ 4.095767] UBIFS (ubi3:0): recovery completed
[ 4.100288] UBIFS (ubi3:0): UBIFS: mounted UBI device 3, volume 0, name "misc_rw_bak"
[ 4.108102] UBIFS (ubi3:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 4.118009] UBIFS (ubi3:0): FS size: 2031616 bytes (1 MiB, 16 LEBs), journal size 888833 bytes (0 MiB, 5 LEBs)
[ 4.127996] UBIFS (ubi3:0): reserved for root: 95957 bytes (93 KiB)
[ 4.134257] UBIFS (ubi3:0): media format: w5/r0 (latest is w5/r0), UUID FF0E9549-39B4-469D-B38F-F7A6DABEEFAB, small LPT model
[ 4.152490] ubi4: attaching mtd9
[ 4.174797] ubi4: scanning is finished
[ 4.183358] ubi4: attached mtd9 (name "misc_isp", size 6 MiB)
[ 4.189095] ubi4: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 4.196024] ubi4: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 4.202803] ubi4: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 4.209753] ubi4: good PEBs: 48, bad PEBs: 0, corrupted PEBs: 0
[ 4.215656] ubi4: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 4.222867] ubi4: max/mean erase counter: 3/2, WL threshold: 4096, image sequence number: 996483222
[ 4.231897] ubi4: available PEBs: 0, total reserved PEBs: 48, PEBs reserved for bad PEB handling: 19
[ 4.241021] ubi4: background thread "ubi_bgt4d" started, PID 839
UBI device number 4, total 48 LEBs (6094848 bytes, 5.8 MiB), available 0 LEBs (0[ 4.253239] UBIFS (ubi4:0): Mounting in unauthenticated mode
bytes), LEB size 126976 bytes (124.0 KiB)
misc_isp found, mounting...
[ 4.284008] UBIFS (ubi4:0): recovery needed
[ 4.301408] UBIFS (ubi4:0): recovery deferred
[ 4.305818] UBIFS (ubi4:0): UBIFS: mounted UBI device 4, volume 0, name "misc_isp", R/O mode
[ 4.314267] UBIFS (ubi4:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 4.324174] UBIFS (ubi4:0): FS size: 2031616 bytes (1 MiB, 16 LEBs), journal size 888833 bytes (0 MiB, 5 LEBs)
[ 4.334162] UBIFS (ubi4:0): reserved for root: 95957 bytes (93 KiB)
[ 4.340422] UBIFS (ubi4:0): media format: w5/r0 (latest is w5/r0), UUID 9813CEA7-18FA-419C-953E-0C1626968E36, small LPT model
/etc/init.d/rcS: line 159: udevtrigger: not found
[ 4.469900] Register flash device: flash0
[ 4.497948] creat_domain_proc ok
[ 4.501310] tp_domain init ok
[ 4.526845] TP_DHCP_HOOK Module init
[ 4.558086] device recognition register success
F0: 102B 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 2400 0041 [0000]
G0: 1190 0000
EC: 0000 0000 [1000]
T0: 0000 015E [010F]
Jump to BL
NOTICE: BL2: v2.6(release):f3959dd72-dirty
NOTICE: BL2: Built : 18:30:22, Oct 15 2024
NOTICE: WDT: disabled
NOTICE: EMI: Using DDR3 settings
dump toprgu registers data:
1001c000 | 00000000 0000ffe0 00000000 00000000
1001c010 | 00000fff 00000000 00f00000 00000000
1001c020 | 00000000 00000000 00000000 00000000
1001c030 | 003c0003 003c0003 00000000 00000000
1001c040 | 00000000 00000000 00000000 00000000
1001c050 | 00000000 00000000 00000000 00000000
1001c060 | 00000000 00000000 00000000 00000000
1001c070 | 00000000 00000000 00000000 00000000
1001c080 | 00000000 00000000 00000000 00000000
dump drm registers data:
1001d000 | 00000000 00000000 00000000 00000000
1001d010 | 00000000 00000000 00000000 00000000
1001d020 | 00000000 00000000 00000000 00000000
1001d030 | 00a083f1 000003ff 00100000 00000000
1001d040 | 00000000 00000000 00020303 000000ff
1001d050 | 00000000 00000000 00000000 00000000
1001d060 | 00000002 00000000 00000000 00000000
drm: 500 = 0x8
[DDR Reserve] ddr reserve mode not be enabled yet
DDR RESERVE Success 0
[EMI] ComboMCP not ready, using default setting
BYTE_swap:0
BYTE_swap:0
Window Sum 600, worse bit 3, min window 72
Window Sum 596, worse bit 8, min window 72
Window Sum 410, worse bit 0, min window 50
Window Sum 386, worse bit 9, min window 46
Window Sum 422, worse bit 0, min window 50
Window Sum 400, worse bit 13, min window 48
Window Sum 430, worse bit 0, min window 52
Window Sum 410, worse bit 9, min window 48
Window Sum 440, worse bit 6, min window 52
Window Sum 416, worse bit 9, min window 50
Window Sum 456, worse bit 0, min window 54
Window Sum 432, worse bit 14, min window 50
Window Sum 466, worse bit 6, min window 54
Window Sum 440, worse bit 14, min window 52
Window Sum 472, worse bit 0, min window 58
Window Sum 446, worse bit 9, min window 54
Window Sum 482, worse bit 0, min window 58
Window Sum 454, worse bit 9, min window 54
Window Sum 484, worse bit 0, min window 58
Window Sum 470, worse bit 14, min window 56
Window Sum 492, worse bit 0, min window 60
Window Sum 474, worse bit 9, min window 56
NOTICE: EMI: Detected DRAM size: 256MB
NOTICE: EMI: complex R/W mem test passed
NOTICE: CPU: MT7981 (1300MHz)
NOTICE: SPI_NAND parses attributes from parameter page.
NOTICE: SPI_NAND Detected ID 0xc8
NOTICE: Page size 2048, Block size 131072, size 134217728
NOTICE: Initializing NMBM ...
NOTICE: Signature found at block 1023 [0x07fe0000]
NOTICE: First info table with writecount 0 found in block 960
NOTICE: Second info table with writecount 0 found in block 963
NOTICE: NMBM has been successfully attached in read-only mode
NOTICE: BL2: Booting BL31
NOTICE: BL31: v2.6(release):f3959dd72-dirty
NOTICE: BL31: Built : 18:30:26, Oct 15 2024
NOTICE: Hello BL31!!!
U-Boot 2022.07-rc1 (Oct 15 2024 - 18:29:24 +0800)
CPU: MediaTek MT7981
Model: mt7981-rfb
DRAM: 256 MiB
Core: 36 devices, 16 uclasses, devicetree: embed
Initializing NMBM ...
spi-nand: spi_nand spi_nand@0: GigaDevice SPI NAND was found.
spi-nand: spi_nand spi_nand@0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
Could not find a valid device for nmbm0
Signature found at block 1023 [0x07fe0000]
First info table with writecount 0 found in block 960
Second info table with writecount 0 found in block 963
NMBM has been successfully attached
Loading Environment from MTD... OK
In: serial@11002000
Out: serial@11002000
Err: serial@11002000
Net: eth0: ethernet@15100000
press ctrl-c or t to go to uboot cmdline 0 MT7981> <INTERRUPT>
MT7981>
MT7981>
MT7981> setenv ipaddr 192.168.0.1
MT7981> setenv serverip 192.168.0.2
MT7981> tftpboot 0x80010000 initramfs.bin
Using ethernet@15100000 device
TFTP from server 192.168.0.2; our IP address is 192.168.0.1
Filename 'initramfs.bin'.
TFTP error: trying to overwrite reserved memory...
MT7981>














