To create the boot image
For the following steps:
build_path=<your_path>/XmpuPL_ZUplus_v1.0a/zcu102_2021.1/xmpu_example/pl_isolation_lab.vitis
- Select AMD> Create Boot Image > Zynq and Zynq Ultrascale
- Architecture: Zynq MP
- Check Create new BIF file
- Output BIF file path: <build_path>/apu_fault_injection/output.bif
- Output path: <build_path>/apu_fault_injection/BOOT.bin
- Continue without clicking create image
Note: If the boot image partitions are automatically filled, select each one and delete, so that the next steps are performed from scratch. - Click Add
- File path: <build_path/zcu102_isolation_test/zynqmp_fsbl/fsbl_r5.elf
- Partition type: bootloader
- Destination device: PS
- Destination CPU: R5 0
- Click OK
- Click Add
- File path: <build_path>/pmu_fw_u1/Debug/pmu_fw_u1.elf
- Partition type: datafile
- Destination device: PS
- Destination CPU: PMU
- Click OK
- Click Add
- File path: <build_path>/zcu102_isolation_test/hw/Base_Zynq_MPSoC_wrapper.bit
- Partition type: datafile
- Destination device: PL
- Click OK
- Click Add
- File path: <build_path>/apu_fault_injection/Debug/apu_fault_injection_elf
- Partition type: datafile
- Destination device: PS
- Destination CPU: A53 0 CAUTION:The destination CPU defaults to A53_0, but on some older versions of Vitis if you do not actually select it from the drop-down menu, then the parameter may not get written to the BIF file. Use Preview BIF Changes to verify.
- Click OK
Figure 1. Preview BIF Changes
- The Create Boot Image window looks like the following figure.
- Click Create Image and select
Overwrite if prompted.Figure 2. Create Boot Image for APU Fault Injection System
Note: This example is not
using secure boot and all applications are standalone OS, hence the exception level
and TrustZone settings for BootGen does not matter.