A DFX platform can boot the static region during power on. The static boot image can include static region PDI for hardware configuration, Arm® Trusted Firmware bl31.elf, u-boot.elf, and device tree for U-Boot.
When creating a DFX platform, static boot.bin is required. You generate this boot image before building the platform.
In between generate platform and build platform we need to create a BOOT.bin component using bootgen, which is showed how to be done in the Makefile.
Run bootgen command to create the boot.bin.
bootgen -arch versal -image bootgen.bif -o boot.bin;
The bootgen.bif` should contain the following information.
the_ROM_image:
{
image {
{ type=bootimage, file=<static>.pdi }
}
image {
id = 0x1c000000, name=apu_subsystem
{ type=raw, load=0x00001000, file=build/boot/system.dtb }
{ core=a72-0, exception_level=el-3, trustzone, file=build/boot/bl31.elf }
{ core=a72-0, exception_level=el-2, file=build/boot/u-boot.elf }
}
}