how to make ls1043 qspi fw

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

how to make ls1043 qspi fw

749 次查看
Hmc510
Contributor II

My project has compiled 1046,the generated qspi fw is intact.

In addition, I tried 1043 compilation:

1. I can't find the firmware of qspi.

2. How to modify "mkfw" packaged items? my qspi chip is 16MB.I want to store  rcw and uboot only

thanks.

Hmc510_0-1678703432335.png

 

0 项奖励
回复
1 回复

716 次查看
khushbur
NXP TechSupport
NXP TechSupport

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
0 项奖励
回复