前言:
想调试FSBL,那么先在对应的启动模式的启动存储设备中的某个地址存放一份bootgen生成的BOOT.bin文件。
如下文基于我使用QSPI32启动模式,在外部QSPI的0地址存放了一份A53的boot.bin文件(内含PS/PL程序)。
1、首先创建一个平台工程
2、添加BSP库:xilffs xilsecure xilpm
直接创建FSBL应用工程是无法创建的,提示报错内容如下:
These libraries which FSBL requires are missing in Board Support Package: xilffs xilsecure xilpm. You can go back to the previous pages to select a different platform and domain or create a new one with a suitable hardware and software.
提示:板级支持包中缺少 FSBL 所需的这些库:xilffs xilsecure xilpm。
故现在先把缺失的BSP库先添加进工程。
选中Platform工程中的Platform.spr -->> standalone on psu_cortexa5