Seems it's not a DHCP server issue as the uploaded firmware just resets, that explains the no-carrier
on the network interface.
Should a different FIP be flashed to the board? I try to catch the command line of u-boot but seems it's set to zero so neither Enter nor Ctrl+C pops the shell.
mtk_uartboot -s /dev/ttyUSB2 --payload bl2-mt7981-bga-ddr3-ram.bin --aarch64 --fip openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-ubootmod-bl31-uboot.fip && screen -L /dev/ttyUSB2 115200
...
NOTICE: BL31: v2.12.0(release):OpenWrt v2025.02.12~e0907706-1 (mt7981-spim-nand-ddr3)
NOTICE: BL31: Built : 18:23:15, Mar 29 2025
U-Boot 2025.01-OpenWrt-r29105-6ac09b940f (Mar 29 2025 - 18:23:15 +0000)
CPU: MediaTek MT7981
Model: Xiaomi Router AX3000T
DRAM: 256 MiB
Core: 39 devices, 18 uclasses, devicetree: embed
Loading Environment from UBI... 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
ubi0 error: ubi_add_to_av: two LEBs with same sequence number 1
eraseblock attaching information dump:
ec 1
pnum 0
lnum 0
scrub 0
sqnum 1
Volume identifier header dump:
magic 55424921
version 1
vol_type 1
copy_flag 0
compat 5
vol_id 2147479551
lnum 0
data_size 0
used_ebs 0
data_pad 0
sqnum 1
hdr_crc 65b3bd2d
Volume identifier header hexdump:
00000000: 55 42 49 21 01 01 00 05 7f ff ef ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 UBI!............................
00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 65 b3 bd 2d ............................e..-
ubi0 error: ubi_attach_mtd_dev: failed to attach mtd8, error -22
UBI error: cannot attach mtd8
UBI error: cannot initialize UBI, error -22
UBI init error 22
Please check, if the correct MTD partition is used (size big enough?)
** Cannot find mtd partition "ubi"
In: serial@11002000
Out: serial@11002000
Err: serial@11002000
reset button found
Loading Environment from UBI... ubi0 error: ubi_add_to_av: two LEBs with same sequence number 1
eraseblock attaching information dump:
ec 1
pnum 0
lnum 0
scrub 0
sqnum 1
Volume identifier header dump:
magic 55424921
version 1
vol_type 1
copy_flag 0
compat 5
vol_id 2147479551
lnum 0
data_size 0
used_ebs 0
data_pad 0
sqnum 1
hdr_crc 65b3bd2d
Volume identifier header hexdump:
00000000: 55 42 49 21 01 01 00 05 7f ff ef ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 UBI!............................
00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 65 b3 bd 2d ............................e..-
ubi0 error: ubi_attach_mtd_dev: failed to attach mtd8, error -22
UBI error: cannot attach mtd8
UBI error: cannot initialize UBI, error -22
UBI init error 22
Please check, if the correct MTD partition is used (size big enough?)
** Cannot find mtd partition "ubi"
Net: MediaTek MT7531
Warning: ethernet@15100000 (eth0) using random MAC address - 32:dc:d9:f0:2f:96
eth0: ethernet@15100000
Error, no UBI device selected!
Error, no UBI device selected!
Erasing 0x00000000 ... 0x06ffffff (896 eraseblock(s))
resetting ...
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):9548a30134d-dirty
NOTICE: BL2: Built : 02:27:18, Jan 24 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 | 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 596, worse bit 2, min window 72
Window Sum 580, worse bit 8, min window 72
Window Sum 414, worse bit 6, min window 50
Window Sum 344, worse bit 15, min window 38
Window Sum 430, worse bit 0, min window 52
Window Sum 346, worse bit 10, min window 42
Window Sum 354, worse bit 15, min window 42
Window Sum 436, worse bit 0, min window 52
Window Sum 452, worse bit 0, min window 54
Window Sum 368, worse bit 9, min window 44
Window Sum 380, worse bit 15, min window 44
Window Sum 384, worse bit 15, min window 44
Window Sum 392, worse bit 11, min window 46
Window Sum 458, worse bit 2, 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):9548a30134d-dirty
NOTICE: BL31: Built : 02:27:18, Jan 24 2024
NOTICE: Hello BL31!!