I got below log from tll:
U-Boot SPL 2018.09-g6c1f25b (Mar 29 2021 - 10:59:27 +0800)
Trying to boot from NAND
U-Boot 2018.09-g6c1f25b (Mar 29 2021 - 10:59:27 +0800)
CPU: MediaTek MT7621AT ver 1, eco 3
Clocks: CPU: 1100MHz, DDR: 1200MHz, Bus: 275MHz, XTAL: 40MHz
Model: MediaTek MT7621 reference board (NAND)
DRAM: 256 MiB
NAND: 128 MiB
Loading Environment from NAND... OK
In: uartlite0@1e000c00
Out: uartlite0@1e000c00
Err: uartlite0@1e000c00
Net: Factory: using factory mac
NAND read: device 0 offset 0x100000, size 0x20000
131072 bytes read: OK
Warning: eth@1e100000 (eth0) using random MAC address - e6:67:1e:09:d0:93
eth0: eth@1e100000
Hit any key to stop autoboot: 0
gpio: pin 7 (gpio 7) value is 1
gpio: pin 8 (gpio 8) value is 1
gpio: pin 6 (gpio 6) value is 1
gpio: pin 8 (gpio 8) value is 0
*** U-Boot Boot Menu ***
1. Factory Network Boot
2. Auto Dual System Boot
3. Upgrade firmware
4. Upgrade bootloader
5. Upgrade bootloader (advanced mode)
6. Load image
7. Main system
8. Boot From Firmware2
0. U-Boot console
Press UP/DOWN to move, ENTER to select
Factory: go as factory_boot=1
NAND read: device 0 offset 0x100000, size 0x20000
131072 bytes read: OK
Factory: using ipaddr 192.168.1.81
Using eth@1e100000 device
TFTP from server 192.168.1.254; our IP address is 192.168.1.81
Filename 'factory.bin'.
Load address: 0x80010000
Loading: ## Warning: gatewayip needed but not set
Warning: gatewayip needed but not set
Warning: gatewayip needed but not set
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##
1.4 MiB/s
done
Bytes transferred = 5747056 (57b170 hex)
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Select Firmware1 to start
Loading from nand0, offset 0x180000
Fit image detected...
FIT description: MIPS OpenWrt FIT (Flattened Image Tree)
Image 0 (kernel@1)
Description: MIPS OpenWrt Linux-4.4.198
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x800100e4
Data Size: 1778037 Bytes = 1.7 MiB
Architecture: MIPS
OS: Linux
Load Address: 0x81001000
Entry Point: 0x81001000
Hash algo: crc32
Hash value: ee918762
Hash algo: sha1
Hash value: 9f662a207692eb5396903f673db8a433a7c28519
Image 1 (fdt@1)
Description: MIPS OpenWrt mt7621-wr1800k-ax-nand device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x801c23a4
Data Size: 11582 Bytes = 11.3 KiB
Architecture: MIPS
Hash algo: crc32
Hash value: e1348a4d
Hash algo: sha1
Hash value: 1545970876c589c4e5952a1acf2cdd0db6c2230a
Default Configuration: 'config@1'
Configuration 0 (config@1)
Description: OpenWrt
Kernel: kernel@1
FDT: fdt@1
Automatic boot of image at addr 0x80010000 ...
Loading kernel from FIT Image at 80010000 ...
Using 'config@1' configuration
Trying 'kernel@1' kernel subimage
Description: MIPS OpenWrt Linux-4.4.198
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x800100e4
Data Size: 1778037 Bytes = 1.7 MiB
Architecture: MIPS
OS: Linux
Load Address: 0x81001000
Entry Point: 0x81001000
Hash algo: crc32
Hash value: ee918762
Hash algo: sha1
Hash value: 9f662a207692eb5396903f673db8a433a7c28519
Verifying Hash Integrity ... crc32+ sha1+ OK
Loading fdt from FIT Image at 80010000 ...
Using 'config@1' configuration
Trying 'fdt@1' fdt subimage
Description: MIPS OpenWrt mt7621-wr1800k-ax-nand device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x801c23a4
Data Size: 11582 Bytes = 11.3 KiB
Architecture: MIPS
Hash algo: crc32
Hash value: e1348a4d
Hash algo: sha1
Hash value: 1545970876c589c4e5952a1acf2cdd0db6c2230a
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x801c23a4
Uncompressing Kernel Image ... OK
Loading Device Tree to 8fe76000, end 8fe7bd3d ... OK
cat: read error: Invalid argument
cat: read error: Invalid argument
cat: read error: Invalid argument
cat: read error: Invalid argument
cat: read error: Invalid argument
ifconfig: SIOCSIFHWADDR: Address not available
ifconfig: SIOCSIFHWADDR: Address not available
cat: read error: Invalid argument
cat: read error: Invalid argument
WARNING: Variable 'lan' does not exist or is not an array/object
Please press Enter to activate this console.