Hi @Hmc510
LS1043AQDS integrates QSPI boot, you could refer to the source code of LS1043AQDS in LSDK21.08.
In file configs/board/ls1043aqds/manifest, please do the following modification.
rcw_qspi="firmware/rcw/ls1043aqds/RR_FQPP_1455/rcw_1500_sdboot_qspi.bin"
Modify to
rcw_qspi="firmware/rcw/ls1043aqds/RR_FQPP_1455/rcw_1600_qspiboot.bin"
Then run the following command to generate atf image for ls1043aqds QSPI boot.
$ flex-builder -c atf -m ls1043aqds -b qspi
You could customize ls1043aqds source code and generate images for your custom board as the following.
1. In RCW source code components/firmware/rcw, please modify ls1043aqds/RR_FQPP_1455/rcw_1600_qspiboot.rcw according to your custom board.
2. In atf source code components/firmware/atf/, please modify files in folder plat/nxp/soc-ls1043a/ls1043aqds/ according to your custom board.
3, In u-boot source code components/firmware/uboot, please modify files in folder board/freescale/ls1043aqds/ and file include/configs/ls1043aqds.h according to your custom board.
4. Rebuild images
$ flex-builder -c rcw -m ls1043aqds
$ rm -rf build/firmware/u-boot/ls1043aqds/
$ flex-builder -c atf -m ls1043aqds -b qspi
You will get bl2_qspi.pbl and fip_uboot.bin in folder build/firmware/atf/ls1043aqds/.
Thanks
Khushbu