以下 XSCT 会话示例演示了如何通过手动创建平台、域和应用来为 Cortex-A53 处理器创建 FSBL 工程。对于 FSBL 编译器最优化选项,设置的配置选项为 zynqmp_fsbl_bsp。
setws /tmp/wrk/workspace
platform create -name HW1 -hw zcu102 -no-boot-bsp
domain create -name A53_Standalone -os standalone -proc psu_cortexa53_0
domain active A53_Standalone
bsp setlib -name xilffs
bsp setlib -name xilsecure
bsp setlib -name xilpm
bsp config zynqmp_fsbl_bsp true
platform generate
app create -name a53_fsbl -platform HW1 -template "Zynq MP FSBL" -domain A53_Standalone -lang c
app build -name a53_fsbl