Just like other Xiaomi routers, setting uart_en=1 in the Bdata partition will enable UART output.
Here's the bootlog (full version:https://pastebin.com/zJSmqNY1):
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 024F [010F]
Jump to BL
NOTICE: BL2: v2.6(release):12dffbfc4a-dirty
NOTICE: BL2: Built : 05:20:26, Jul 15 2022
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 | 00a003f1 000000ff 00100000 00000000
1001d040 | 00027e71 000200a0 00020303 000000ff
1001d050 | 00000000 00000000 00000000 00000000
1001d060 | 00000002 00000000 00000000 00000000
drm: 500 = 0xc
[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 552, worse bit 0, min window 68
Window Sum 548, worse bit 8, min window 68
Window Sum 410, worse bit 3, min window 48
Window Sum 396, worse bit 9, min window 46
Window Sum 416, worse bit 3, min window 48
Window Sum 410, worse bit 9, min window 48
Window Sum 430, worse bit 3, min window 52
Window Sum 416, worse bit 9, min window 48
Window Sum 426, worse bit 8, min window 52
Window Sum 444, worse bit 1, min window 54
Window Sum 440, worse bit 9, min window 52
Window Sum 450, worse bit 3, min window 54
Window Sum 458, worse bit 3, min window 54
Window Sum 454, worse bit 8, min window 54
Window Sum 466, worse bit 3, min window 56
Window Sum 466, worse bit 0, min window 58
Window Sum 458, worse bit 8, min window 54
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):12dffbfc4a-dirty
NOTICE: BL31: Built : 05:20:26, Jul 15 2022
NOTICE: Hello BL31!!!
In: serial@11002000
Out: serial@11002000
Err: serial@11002000
Net: eth0: ethernet@15100000
*** U-Boot Boot Menu ***
1. Startup system (Default)
2. Startup firmware0
3. Startup firmware1
4. Upgrade firmware
5. Upgrade ATF BL2
6. Upgrade ATF FIP
7. Upgrade single image
8. Load image
0. U-Boot console
Press UP/DOWN to move, ENTER to select, ESC/CTRL+C to quit
detect button reset released!
Reading from 0x0 to 0x4f7fdd7c, size 0x4 ... OK
Reading from 0x0 to 0x4f7fdd7c, size 0x4 ... OK
Saving Environment to MTD... Erasing on MTD device 'nmbm0'... OK
Writing to MTD device 'nmbm0'... OK
OK
Booting System 0
ubi0: attaching mtd9
ubi0: scanning is finished
ubi0: attached mtd9 (name "ubi", size 34 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: 272, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 857011981
ubi0: available PEBs: 89, total reserved PEBs: 183, PEBs reserved for bad PEB handling: 19
Reading from volume 'kernel' to 0x46000000, size 0x0 ... OK
## Loading kernel from FIT Image at 46000000 ...
Using 'config@1' configuration
Trying 'kernel@1' kernel subimage
Description: ARM64 OpenWrt Linux-5.4.171
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x460000e8
Data Size: 2807637 Bytes = 2.7 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x48080000
Entry Point: 0x48080000
Hash algo: crc32
Hash value: 4c33dcef
Hash algo: sha1
Hash value: 57975b670389b6b2ad4f6fe4b35937373b81c98b
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 mt7981-WR30U device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x462ad97c
Data Size: 19313 Bytes = 18.9 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: c8120657
Hash algo: sha1
Hash value: 94cb2bc6ce380ee7365388796f0b71f4663ea59b
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x462ad97c
Uncompressing Kernel Image
Loading Device Tree to 000000004f7f1000, end 000000004f7f8b70 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.4.171 (jenkins@ab8877e1f9e4) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 unknown)) #0 SMP Fri Jul 15 05:20:26 2022
[ 0.000000] Machine model: MediaTek MT7981 RFB
[ 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 s43736 r8192 d29992 u81920
[ 0.000000] pcpu-alloc: s43736 r8192 d29992 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: 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: console=ttyS0,115200n1 loglevel=8 swiotlb=512 rootfstype=squashfs firmware=0 mtd=ubi uart_en=1
[ 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: 244536K/258368K available (5758K kernel code, 412K rwdata, 1636K rodata, 384K init, 276K bss, 13832K 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 25 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] random: get_random_bytes called from start_kernel+0x2d4/0x454 with crng_init=0
[ 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.000131] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=52000)
[ 0.000138] pid_max: default: 32768 minimum: 301
[ 0.000216] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.000222] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.001040] ASID allocator initialised with 65536 entries
[ 0.001095] rcu: Hierarchical SRCU implementation.
[ 0.001372] smp: Bringing up secondary CPUs ...
[ 0.001634] Detected VIPT I-cache on CPU1
[ 0.001653] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[ 0.001674] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.001730] smp: Brought up 1 node, 2 CPUs
[ 0.001738] SMP: Total of 2 processors activated.
[ 0.001743] CPU features: detected: 32-bit EL0 Support
[ 0.001747] CPU features: detected: CRC32 instructions
[ 0.001845] CPU: All CPU(s) started at EL2
[ 0.001854] alternatives: patching kernel code
[ 0.004145] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.004160] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.004242] pinctrl core: initialized pinctrl subsystem
[ 0.004753] NET: Registered protocol family 16
[ 0.004988] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.005758] pstore: Registered ramoops as persistent store backend
[ 0.005766] ramoops: using 0x10000@0x42ff0000, ecc: 0
[ 0.018446] rbus 18000000.wbsys: PCI host bridge to bus 0000:00
[ 0.018458] pci_bus 0000:00: root bus resource [mem 0x18000000-0x18ffffff]
[ 0.018465] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.018471] pci_bus 0000:00: scanning bus
[ 0.018488] pci 0000:00:00.0: [14c3:7981] type 00 class 0x000280
[ 0.018501] pci 0000:00:00.0: reg 0x10: [mem 0x18000000-0x1800000f 64bit]
[ 0.018508] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x0000000f]
[ 0.018514] pci 0000:00:00.0: reg 0x1c: [mem 0x00000000-0x0000000f]
[ 0.018520] pci 0000:00:00.0: reg 0x20: [mem 0x00000000-0x0000000f]
[ 0.018527] pci 0000:00:00.0: reg 0x24: [mem 0x00000000-0x0000000f]
[ 0.019495] pci_bus 0000:00: fixups for bus
[ 0.019502] pci_bus 0000:00: bus scan returning with max=00
[ 0.019878] clocksource: Switched to clocksource arch_sys_counter
[ 0.020444] thermal_sys: Registered thermal governor 'fair_share'
[ 0.020447] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.020457] thermal_sys: Registered thermal governor 'step_wise'
[ 0.020461] thermal_sys: Registered thermal governor 'user_space'
[ 0.020464] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.020686] NET: Registered protocol family 2
[ 0.020758] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.021009] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.021022] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.021040] TCP bind hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.021065] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.021120] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.021134] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.021205] NET: Registered protocol family 1
[ 0.021229] PCI: CLS 0 bytes, default 64
[ 0.022059] workingset: timestamp_bits=46 max_order=16 bucket_order=0
[ 0.025460] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.038433] phy phy-usb-phy@11e10000.1: type_sw - reg 0x218, index 0
[ 0.047639] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 0.048317] printk: console [ttyS0] disabled
[ 0.068434] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 12, base_baud = 2500000) is a ST16650V2
[ 0.659736] printk: console [ttyS0] enabled
[ 0.664565] mtk_rng trng@1020f000: registered RNG driver
[ 0.664582] random: fast init done
[ 0.670025] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.673338] random: crng init done
[ 0.681205] loop: module loaded
[ 0.686027] mediatek,mt2701-ice_debug ice_debug: get dbg_sel clock fail: -2
[ 0.692992] mediatek,mt2701-ice_debug: probe of ice_debug failed with error -2
[ 0.700923] mt7981-pinctrl 11d00000.pinctrl: pin_config_set op failed for pin 19
[ 0.708320] mtk-spi 1100a000.spi: Error applying setting, reverse things back
[ 0.715990] spi-nand spi0.0: GigaDevice SPI NAND was found.
[ 0.721603] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[ 0.731071] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[ 0.738852] libphy: Fixed MDIO Bus: probed
[ 0.743184] tun: Universal TUN/TAP device driver, 1.6
[ 0.748563] [mtk_hw_init] reset_lock:0, force:0
[ 0.753116] [mtk_hw_init] execute fe cold reset
[ 0.768824] libphy: mdio: probed
[ 0.772368] mtk_soc_eth 15100000.ethernet: generated random MAC address 52:ea:39:70:2c:13
[ 0.780839] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc011400000, irq 75
[ 0.789912] mtk_soc_eth 15100000.ethernet: generated random MAC address a6:71:8f:f9:a9:8c
[ 0.798352] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc011400000, irq 75
[ 0.807394] (unnamed net_device) (dummy): netif_napi_add() called with weight 256
[ 0.815032] i2c /dev entries driver
[ 0.819464] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[ 0.827965] NET: Registered protocol family 10
[ 0.833111] Segment Routing with IPv6
[ 0.836872] NET: Registered protocol family 17
[ 0.841351] Bridge firewalling registered
[ 0.845354] 8021q: 802.1Q VLAN Support v1.8
[ 0.850128] pstore: Using crash dump compression: deflate
[ 0.863855] nmbm nmbm_spim_nand: Signature found at block 1023 [0x07fe0000]
[ 0.871715] nmbm nmbm_spim_nand: First info table with writecount 0 found in block 960
[ 0.882319] nmbm nmbm_spim_nand: Second info table with writecount 0 found in block 963
[ 0.890323] nmbm nmbm_spim_nand: NMBM has been successfully attached
[ 0.896929] 12 fixed-partitions partitions found on MTD device nmbm_spim_nand
[ 0.904064] Creating 12 MTD partitions on "nmbm_spim_nand":
[ 0.909636] 0x000000000000-0x000000100000 : "BL2"
[ 0.914837] 0x000000100000-0x000000140000 : "Nvram"
[ 0.920180] 0x000000140000-0x000000180000 : "Bdata"
[ 0.925498] 0x000000180000-0x000000380000 : "Factory"
[ 0.931003] 0x000000380000-0x000000580000 : "FIP"
[ 0.936180] 0x000000580000-0x0000005c0000 : "crash"
[ 0.941514] 0x0000005c0000-0x000000600000 : "crash_log"
[ 0.947182] 0x000000600000-0x000002800000 : "ubi"
[ 0.952386] 0x000002800000-0x000004a00000 : "ubi1"
[ 0.957688] 0x000004a00000-0x000006a00000 : "overlay"
[ 0.963245] 0x000006a00000-0x000007600000 : "data"
[ 0.968521] 0x000007600000-0x000007640000 : "KF"
[ 1.539880] mt753x gsw@0: LAN/WAN VLAN setting=llllw
[ 1.545118] mt753x gsw@0: Switch is MediaTek MT7531AE rev 1
[ 1.554544] mt753x gsw@0: HWSTRAP=0xff XTAL=25MHz
[ 3.585131] libphy: mt753x_mdio: probed
[ 5.208244] mt753x gsw@0: >>>>>>>>>>>>>>>>>>>>>>>>>>>>> START CALIBRATION:
[ 5.216221] mt753x gsw@0: -------- gephy-calbration (port:0) --------
[ 5.231423] CALDLY = 40
[ 5.276226] 0x1e-e0 = 2626
[ 5.280624] 0x1f-115 = 4
[ 5.283144] GE Rext AnaCal Done! (6)(0x26)
[ 5.356330] GE R50 AnaCal Done! (12) (0x30)(0xb0)
[ 5.420456] GE R50 AnaCal Done! (11) (0x31)(0xb1)
[ 5.484584] GE R50 AnaCal Done! (11) (0x31)(0xb1)
[ 5.553264] GE R50 AnaCal Done! (12) (0x30)(0xb0)
[ 5.561114] GE 1e_174(0xb0b1), 1e_175(0xb1b0)
[ 5.612050] GE Tx offset AnaCal Done! (pair-0)(5)(0x24) 0x1e_172=0x2420
[ 5.632364] GE Tx offset AnaCal Done! (pair-1)(1)(0x1) 0x1e_172=0x2401
[ 5.670807] GE Tx offset AnaCal Done! (pair-2)(5)(0x24) 0x1e_173=0x2420
[ 5.695675] GE Tx offset AnaCal Done! (pair-3)(2)(0x2) 0x1e_173=0x2402
[ 5.843863] GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x9826)
[ 5.938449] GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x2323)
[ 6.047813] GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x252d)
[ 6.140192] GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x232b)
[ 6.186902] PORT 0 RX_DC_OFFSET
[ 6.199570] before pairA output = e
[ 6.204834] after pairA output = 1
[ 6.209930] before pairB output = 1d
[ 6.215279] after pairB output = 0
[ 6.220375] before pairC output = f
[ 6.225637] after pairC output = fe
[ 6.230819] before pairD output = 1e
[ 6.236170] after pairD output = fe
[ 6.239902] mt753x gsw@0: -------- gephy-calbration (port:1) --------
[ 6.255106] CALDLY = 40
[ 6.326333] GE R50 AnaCal Done! (13) (0x26)(0xa6)
[ 6.395015] GE R50 AnaCal Done! (12) (0x30)(0xb0)
[ 6.459141] GE R50 AnaCal Done! (11) (0x31)(0xb1)
[ 6.527817] GE R50 AnaCal Done! (12) (0x30)(0xb0)
[ 6.535667] GE 1e_174(0xa6b0), 1e_175(0xb1b0)
[ 6.572939] GE Tx offset AnaCal Done! (pair-0)(2)(0x21) 0x1e_172=0x2120
[ 6.602363] GE Tx offset AnaCal Done! (pair-1)(3)(0x22) 0x1e_172=0x2122
[ 6.640897] GE Tx offset AnaCal Done! (pair-2)(5)(0x24) 0x1e_173=0x2420
[ 6.674875] GE Tx offset AnaCal Done! (pair-3)(4)(0x23) 0x1e_173=0x2423
[ 6.800494] GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x8c23)
[ 6.900749] GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x2525)
[ 7.027102] GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x2931)
[ 7.142130] GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x272f)
[ 7.188840] PORT 1 RX_DC_OFFSET
[ 7.201507] before pairA output = 1e
[ 7.206857] after pairA output = 0
[ 7.211953] before pairB output = f
[ 7.217211] after pairB output = 0
[ 7.222306] before pairC output = f
[ 7.227568] after pairC output = 0
[ 7.232663] before pairD output = 1e
[ 7.238012] after pairD output = 0
[ 7.241662] mt753x gsw@0: -------- gephy-calbration (port:2) --------
[ 7.256866] CALDLY = 40
[ 7.318983] GE R50 AnaCal Done! (11) (0x31)(0xb1)
[ 7.378556] GE R50 AnaCal Done! (10) (0x32)(0xb2)
[ 7.433577] GE R50 AnaCal Done! (9) (0x34)(0xb4)
[ 7.483958] GE R50 AnaCal Done! (8) (0x35)(0xb5)
[ 7.491721] GE 1e_174(0xb1b2), 1e_175(0xb4b5)
[ 7.542659] GE Tx offset AnaCal Done! (pair-0)(5)(0x24) 0x1e_172=0x2420
[ 7.581196] GE Tx offset AnaCal Done! (pair-1)(5)(0x24) 0x1e_172=0x2424
[ 7.633392] GE Tx offset AnaCal Done! (pair-2)(8)(0x27) 0x1e_173=0x2720
[ 7.662814] GE Tx offset AnaCal Done! (pair-3)(3)(0x22) 0x1e_173=0x2722
[ 7.754454] GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x781e)
[ 7.883021] GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x2929)
[ 7.986721] GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x262e)
[ 8.016810] GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1820)
[ 8.063520] PORT 2 RX_DC_OFFSET
[ 8.076187] before pairA output = f
[ 8.081445] after pairA output = 0
[ 8.086541] before pairB output = 1d
[ 8.091889] after pairB output = ff
[ 8.097067] before pairC output = 1e
[ 8.102416] after pairC output = 1
[ 8.107512] before pairD output = 1e
[ 8.112863] after pairD output = 0
[ 8.116512] mt753x gsw@0: -------- gephy-calbration (port:3) --------
[ 8.131714] CALDLY = 40
[ 8.180173] GE R50 AnaCal Done! (8) (0x35)(0xb5)
[ 8.221438] GE R50 AnaCal Done! (6) (0x40)(0xc0)
[ 8.267256] GE R50 AnaCal Done! (7) (0x37)(0xb7)
[ 8.313074] GE R50 AnaCal Done! (7) (0x37)(0xb7)
[ 8.320837] GE 1e_174(0xb5c0), 1e_175(0xb7b7)
[ 8.362660] GE Tx offset AnaCal Done! (pair-0)(3)(0x22) 0x1e_172=0x2220
[ 8.405749] GE Tx offset AnaCal Done! (pair-1)(6)(0x25) 0x1e_172=0x2225
[ 8.430616] GE Tx offset AnaCal Done! (pair-2)(2)(0x21) 0x1e_173=0x2120
[ 8.460036] GE Tx offset AnaCal Done! (pair-3)(3)(0x22) 0x1e_173=0x2122
[ 8.534691] GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x5415)
[ 8.606633] GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x2020)
[ 8.653711] GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x1c24)
[ 8.717773] GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1f27)
[ 8.764478] PORT 3 RX_DC_OFFSET
[ 8.777140] before pairA output = e
[ 8.782401] after pairA output = 0
[ 8.787496] before pairB output = f
[ 8.792758] after pairB output = 1
[ 8.797853] before pairC output = d
[ 8.803115] after pairC output = 0
[ 8.808211] before pairD output = 1d
[ 8.813555] after pairD output = ff
[ 8.817292] mt753x gsw@0: -------- gephy-calbration (port:4) --------
[ 8.832494] CALDLY = 40
[ 8.876393] GE R50 AnaCal Done! (7) (0x37)(0xb7)
[ 8.922210] GE R50 AnaCal Done! (7) (0x37)(0xb7)
[ 8.963475] GE R50 AnaCal Done! (6) (0x40)(0xc0)
[ 9.013849] GE R50 AnaCal Done! (8) (0x35)(0xb5)
[ 9.021612] GE 1e_174(0xb7b7), 1e_175(0xc0b5)
[ 9.077101] GE Tx offset AnaCal Done! (pair-0)(6)(0x25) 0x1e_172=0x2520
[ 9.111078] GE Tx offset AnaCal Done! (pair-1)(4)(0x23) 0x1e_172=0x2523
[ 9.145055] GE Tx offset AnaCal Done! (pair-2)(4)(0x23) 0x1e_173=0x2320
[ 9.192698] GE Tx offset AnaCal Done! (pair-3)(7)(0x26) 0x1e_173=0x2326
[ 9.278676] GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x4c13)
[ 9.344954] GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1010)
[ 9.386370] GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x151d)
[ 9.416461] GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x1921)
[ 9.463168] PORT 4 RX_DC_OFFSET
[ 9.475835] before pairA output = c
[ 9.481092] after pairA output = 0
[ 9.486188] before pairB output = 1d
[ 9.491537] after pairB output = fe
[ 9.496718] before pairC output = 1e
[ 9.502066] after pairC output = ff
[ 9.507249] before pairD output = c
[ 9.512511] after pairD output = 1
[ 9.518372] UBI: auto-attach mtd8
[ 9.521715] ubi0: attaching mtd8
[ 9.635999] ubi0: scanning is finished
[ 9.644777] ubi0: attached mtd8 (name "ubi", size 34 MiB)
[ 9.650177] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 9.657046] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 9.663823] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 9.670778] ubi0: good PEBs: 272, bad PEBs: 0, corrupted PEBs: 0
[ 9.676773] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 9.683984] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 857011981
[ 9.693014] ubi0: available PEBs: 89, total reserved PEBs: 183, PEBs reserved for bad PEB handling: 19
[ 9.702313] ubi0: background thread "ubi_bgt0d" started, PID 647
[ 9.708865] block ubiblock0_1: created from ubi0:1(rootfs)
[ 9.714365] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[ 9.734594] Failed to lock mtd obr
[ 9.737760] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 9.748475] Freeing unused kernel memory: 384K
[ 9.775871] Run /sbin/init as init process
[ 10.031356] init: Console is alive
[ 10.034896] init: - watchdog -
[ 10.396142] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 10.418814] conninfra@(mtk_conninfra_drv_init:644) Before platform_driver_register
[ 10.426481] Get Index(0-TOP_MISC_BASE) phy_addr(0x11d10000) vir_addr=(0xffffffc01094d000) size=(0x1000)
[ 10.435868] Get Index(1-TOPRGU_BASE) phy_addr(0x1001c000) vir_addr=(0xffffffc010955000) size=(0x1000)
[ 10.445075] Get Index(2-GPIO_BASE) phy_addr(0x11d00000) vir_addr=(0xffffffc01095d000) size=(0x1000)
[ 10.454108] Get Index(3-IOCFG_TR_BASE) phy_addr(0x11f00000) vir_addr=(0xffffffc01095f000) size=(0x1000)
[ 10.463486] Get Index(4-IOCFG_TL_BASE) phy_addr(0x11f10000) vir_addr=(0xffffffc010961000) size=(0x1000)
[ 10.472869] Get Index(5-INFRACFG_AO_BASE) phy_addr(0x10003000) vir_addr=(0xffffffc010963000) size=(0x1000)
[ 10.482509] Get Index(6-CONN_INFRA_CFG_BASE) phy_addr(0x18001000) vir_addr=(0xffffffc010965000) size=(0x1000)
[ 10.492409] Get Index(7-CONN_INFRA_SYSRAM_BASE) phy_addr(0x18050000) vir_addr=(0xffffffc01096d000) size=(0x1000)
[ 10.502569] Get Index(8-CONN_INFRA_CLKGEN_ON_TOP_BASE) phy_addr(0x18009000) vir_addr=(0xffffffc010975000) size=(0x1000)
[ 10.513336] Get Index(9-CONN_HOST_CSR_TOP_BASE) phy_addr(0x18060000) vir_addr=(0xffffffc01097d000) size=(0x1000)
[ 10.523496] Get Index(10-CONN_INFRA_BUS_CR_BASE) phy_addr(0x1800e000) vir_addr=(0xffffffc01097f000) size=(0x1000)
[ 10.533743] Get Index(11-CONN_INFRA_RGU_BASE) phy_addr(0x18000000) vir_addr=(0xffffffc010981000) size=(0x1000)
[ 10.543729] Get Index(12-CONN_WT_SLP_CTL_REG_BASE) phy_addr(0x18005000) vir_addr=(0xffffffc010983000) size=(0x1000)
[ 10.554149] Get Index(13-INST2_CONN_WT_SLP_CTL_REG_BASE) phy_addr(0x18085000) vir_addr=(0xffffffc010985000) size=(0x1000)
[ 10.565090] Get Index(14-CONN_RF_SPI_MST_REG_BASE) phy_addr(0x18004000) vir_addr=(0xffffffc010987000) size=(0x1000)
[ 10.575513] Get Index(15-INST2_CONN_RF_SPI_MST_REG_BASE) phy_addr(0x18084000) vir_addr=(0xffffffc010989000) size=(0x1000)
[ 10.586454] Get Index(16-CONN_SEMAPHORE_BASE) phy_addr(0x18070000) vir_addr=(0xffffffc0109d0000) size=(0x10000)
[ 10.596528] Get Index(17-CONN_AFE_CTL_BASE) phy_addr(0x18003000) vir_addr=(0xffffffc0109e1000) size=(0x1000)
[ 10.606341] Get Index(18-CONN_AFE_CTL_2ND_BASE) phy_addr(0x18083000) vir_addr=(0xffffffc0109e3000) size=(0x1000)
[ 10.616502] Get Index(19-WF_TOP_SLPPROT_ON_BASE) phy_addr(0x184c0000) vir_addr=(0xffffffc010c10000) size=(0x10000)
[ 10.626835] Get Index(20-WF_TOP_CFG_BASE) phy_addr(0x184b0000) vir_addr=(0xffffffc0109e5000) size=(0x1000)
[ 10.636475] Get Index(21-WF_MCU_CONFIG_LS_BASE) phy_addr(0x184f0000) vir_addr=(0xffffffc0109e7000) size=(0x1000)
[ 10.646635] Get Index(22-WF_MCU_BUS_CR_BASE) phy_addr(0x18400000) vir_addr=(0xffffffc0109e9000) size=(0x1000)
[ 10.656535] Get Index(23-WF_MCUSYS_INFRA_BUS_FULL_U_DEBUG_CTRL_AO_BASE) phy_addr(0x18500000) vir_addr=(0xffffffc0109eb000) size=(0x1000)
[ 10.668776] Get Index(24-WF_TOP_CFG_ON_BASE) phy_addr(0x184c0000) vir_addr=(0xffffffc010c40000) size=(0x10000)
[ 10.678764] conninfra@(consys_plt_hw_init:162) adie_cfg_type = 1, one_adie_dbdc = 1
[ 10.686412] [emi_mng_init] gConEmiPhyBase = [0x47c80000] size = [0x100000] fw size = [0x100000] ops=[00000000d8811b64]
[ 10.697181] conninfra@(mtk_conninfra_drv_init:650) After platform_driver_register
[ 10.705017] ConnInfra Dev: init (0)
[ 10.709944] conninfra@(_consys_polling_chipid_int:306) Read CONNSYS HW IP version successfully! (0x02090000)
[ 10.719784] conninfra@(connsys_d_die_cfg:365) D-die efuse: 0x00000000
[ 10.727241] conninfra@(_connsys_a_die_cfg_7976:919) adie_idx[0], A-die CHIP ID = 0x7976, HW Version = 0x8a10
[ 10.738060] conninfra@(consys_spi_write_nolock:501) addr=0x0a00, val=0xffffffff
[ 10.746362] conninfra@(consys_spi_write_nolock:501) addr=0x04ac, val=0x0000001c
[ 10.754666] conninfra@(consys_spi_write_nolock:501) addr=0x0144, val=0x00000002
[ 10.763976] conninfra@(consys_spi_write_nolock:501) addr=0x0148, val=0x00000000
[ 10.773284] conninfra@(consys_spi_write_nolock:501) addr=0x0148, val=0x43a60000
[ 10.786624] conninfra@(connsys_a_die_efuse_read_nolock:737) efuse = [0x00000001, 0x00c40000, 0x008700b9, 0x00000000]
[ 10.798136] conninfra@(consys_spi_write_nolock:501) addr=0x0144, val=0x00000002
[ 10.807446] conninfra@(consys_spi_write_nolock:501) addr=0x0148, val=0x23a6003a
[ 10.816755] conninfra@(consys_spi_write_nolock:501) addr=0x0148, val=0x63a7003a
[ 10.830095] conninfra@(connsys_a_die_efuse_read_nolock:737) efuse = [0x00000001, 0x00c40000, 0x008700b9, 0x00000000]
[ 10.841606] conninfra@(consys_spi_write_nolock:501) addr=0x0144, val=0x00000002
[ 10.850916] conninfra@(consys_spi_write_nolock:501) addr=0x0148, val=0x23a7003a
[ 10.860225] conninfra@(consys_spi_write_nolock:501) addr=0x0148, val=0x63ac003a
[ 10.873564] conninfra@(connsys_a_die_efuse_read_nolock:737) efuse = [0x00000001, 0x00c40000, 0x008700b9, 0x00000000]
[ 10.885075] conninfra@(consys_spi_write_nolock:501) addr=0x0038, val=0x4a563b00
[ 10.893377] conninfra@(consys_spi_write_nolock:501) addr=0x065c, val=0x1d59080f
[ 10.901679] conninfra@(consys_spi_write_nolock:501) addr=0x0664, val=0x34c00fe0
[ 10.909984] conninfra@(consys_spi_write_nolock:501) addr=0x0070, val=0x88888005
[ 10.919245] conninfra@(consys_spi_write_nolock:501) addr=0x0070, val=0x00000005
[ 10.927481] conninfra@(_consys_polling_chipid_int:306) Read CONNSYS HW IP version successfully! (0x02090000)
[ 10.937294] conninfra@(_consys_hw_conninfra_wakeup:470) conninfra_wakeup refcnt=[0]->[1] wakeup!!
[ 10.946157] conninfra@(_consys_hw_conninfra_sleep:490) conninfra_sleep refcnt=[1]->[0] sleep!!
[ 10.954756] conninfra@(opfunc_power_on_internal:241) [Conninfra Pwr On] BT=[0] FM=[0] GPS=[0] WF=[0] CONNINFRA=[1]
[ 10.965714] Button Hotplug driver version 0.4.1
[ 10.973889] mediatek_soc_hnat 15100000.hnat: wan = eth1
[ 10.979123] mediatek_soc_hnat 15100000.hnat: lan = eth0
[ 10.984348] mediatek_soc_hnat 15100000.hnat: ppd = eth0
[ 10.989565] mediatek_soc_hnat 15100000.hnat: gmac num = 2
[ 10.994955] mediatek_soc_hnat 15100000.hnat: ppe num = 1
[ 11.000812] mediatek_soc_hnat 15100000.hnat: PPE0 entry number = 8192
[ 11.017576] mediatek_soc_hnat 15100000.hnat: PPE0 hwnat start
[ 11.035869] hnat roaming work enable
[ 11.042339] warp_module_init(): module init and register callback for warp
[ 11.049235] create warp_ctrl ok!!!
[ 11.052667] wed_get_slot_map(): assign slot_id:0 for entry: 0!
[ 11.058504] wed_get_slot_map(): assign slot_id:1 for entry: 1!
[ 11.064835] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 11.075080] init: - preinit -
[ 11.336784] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[ 11.345114] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
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
[ 14.447789] mount_root: mounting /dev/root
[ 14.812376] ubi1: attaching mtd10
[ 14.920511] ubi1: scanning is finished
[ 14.929454] ubi1: attached mtd10 (name "overlay", size 32 MiB)
[ 14.935291] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 14.942160] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 14.948938] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 14.955888] ubi1: good PEBs: 256, bad PEBs: 0, corrupted PEBs: 0
[ 14.961884] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 14.969095] ubi1: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 310177179
[ 14.978126] ubi1: available PEBs: 0, total reserved PEBs: 256, PEBs reserved for bad PEB handling: 19
[ 14.987337] ubi1: background thread "ubi_bgt1d" started, PID 758
UBI device number 1, total 256 LEBs (32505856 bytes, 31.0 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
ubimkvol: error!: UBI device doe[ 15.006621] UBIFS (ubi1:0): Mounting in unauthenticated mode
s not have free [ 15.012904] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 769
logical eraseblocks
[ 15.065780] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "data"
[ 15.073011] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 15.082914] UBIFS (ubi1:0): FS size: 28315648 bytes (27 MiB, 223 LEBs), journal size 1396736 bytes (1 MiB, 11 LEBs)
[ 15.093335] UBIFS (ubi1:0): reserved for root: 1337417 bytes (1306 KiB)