The Create Boot Image dialog box in the Vitis™ IDE offers a limited number of Bootgen options to generate a boot image.
To create a boot image using the IDE, do the following:
- Select the application project in the Project
Navigator or C/C++ Projects
view and right-click Create Boot Image.
Alternatively, click .
The Create Boot Image dialog box opens, with default values pre-selected from the context of the selected C project.
Note the following:
- When you run Create Boot Image the first time for an application, the dialog box is pre-populated with paths to the FSBL ELF file, and the bitstream for the selected hardware (if it exists in hardware project), and then the selected application ELF file.
- If a boot image was run previously for the application, and a BIF file exists, the dialog box is pre-populated with the values from the /bif folder.
- Populate the Create Boot
Image dialog box with the following information:
- From the Architecture drop-down, select the required architecture.
- Select either Create a BIF file or Import an existing BIF file.
- From the Basic tab, specify the Output BIF file path.
- If applicable, specify the UDF data: See udf_data for more information about this option.
- Specify the Output path:
- In the Boot image partitions, click the Add button to add additional partition images.
- Create offset, alignment, and allocation values for partitions in the boot
image, if applicable.
The output file path is set to the /bif folder under the selected application project by default.
- From the Security
tab, you can specify the attributes to create a secure image. This security can be
applied to individual partitions as required.
- To enable authentication for a partition, check the Use Authentication option, then specify the PPK, SPK, PSK, and SSK values. See the Using Authentication topic for more information.
- To enable encryption for a partition, select the Encryption view, and check the Use Encryption option. See Using Encryption for more information.
- Create or import a BIF file boot image one partition at a time, starting from the bootloader. The partitions list displays the summary of the partitions in the BIF file. It shows the file path, encryption settings, and authentication settings. Use this area to add, delete, modify, and reorder the partitions. You can also set values for enabling encryption, authentication, and checksum, and specifying some other partition related values like Load, Alignment, and Offset.