I have cloned bl-mt798x repository, and modified build.sh to compile from 20250711 directory.
After the fip image is built successfully. I used bootmenu to upgrade ATF FIP. It failed with error -22. The log is here:
Input U-Boot's IP address: 192.168.1.1
Input TFTP server's IP address: 192.168.1.200
Input IP netmask: 255.255.255.0
Input file name: mt7981_spim_nand_klu-fip-fixed-parts.bin
Using ethernet@15100000 device
TFTP from server 192.168.1.200; our IP address is 192.168.1.1
Filename 'mt7981_spim_nand_klu-fip-fixed-parts.bin'.
Load address: 0x46000000
Loading: ##########################################################
10.5 MiB/s
done
Bytes transferred = 845165 (ce56d hex)
Saving Environment to MTD... Erasing on MTD device 'nmbm0'... OK
Writing to MTD device 'nmbm0'... OK
OK
*** Loaded 845165 (0xce56d) bytes at 0x46000000 ***
*** FIP initialization failed (-22) ***
*** FIP verification failed ***
MT7981> reset
Anybody can help me to figure out what went wrong? Thanks.
I have cloned bl-mt798x repository, and modified build.sh to compile from 20250711 directory.
After the fip image is built successfully. I used bootmenu to upgrade ATF FIP. It failed with error -22. The log is here:
Input U-Boot's IP address: 192.168.1.1
Input TFTP server's IP address: 192.168.1.200
Input IP netmask: 255.255.255.0
Input file name: mt7981_spim_nand_klu-fip-fixed-parts.bin
Using ethernet@15100000 device
TFTP from server 192.168.1.200; our IP address is 192.168.1.1
Filename 'mt7981_spim_nand_klu-fip-fixed-parts.bin'.
Load address: 0x46000000
Loading: ##########################################################
10.5 MiB/s
done
Bytes transferred = 845165 (ce56d hex)
Saving Environment to MTD... Erasing on MTD device 'nmbm0'... OK
Writing to MTD device 'nmbm0'... OK
OK
*** Loaded 845165 (0xce56d) bytes at 0x46000000 ***
*** FIP initialization failed (-22) ***
*** FIP verification failed ***
MT7981> reset
Anybody can help me to figure out what went wrong? Thanks.