Creating a Boot Image - 2023.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2023-12-13
Version
2023.2 English

AMD FPGAs and system-on-chip (SoC) devices typically have multiple hardware and software binaries used to boot them to the function they were designed for. These binaries can include FPGA bitstreams, firmware images, bootloaders, operating systems, and user-chosen applications that can be loaded in both non-secure and secure methods.

Bootgen is a tool that lets you stitch binary files together and generate device boot images. Bootgen defines multiple properties, attributes and parameters that are input while creating boot images for use in an AMD device.

There are two ways to create a boot image: from the Flow Navigator or from scratch.

Create boot image from Flow Navigator (faster)

  1. Select the application component which has already been built in the Component view.
  2. Go to the Flow Navigator and click Create Boot Image.
  3. The create boot image setup dialog is displayed. It is populated with the required images from your component. Specify the Output Bif File Path and Output Image path.
  4. Click Create Image. After a few seconds, the log should indicate that the created image is ready.

Create a boot image from scratch

After your application component compilation is finished, follow the steps below to create the boot image.

From Vitis > Create Boot Image and select the device according to your design. The Create Image wizard is displayed.

ZYNQ/ZYNQMP

  1. If you do not have an existing bif file, select Create a new BIF file.
  2. Click + to add the image partition.
  3. Specify the image, set the Type and lick OK.
    Note: You can add the boot loader, FPGA bit file, bl31 and, application ELF file according to your requirements.
    Note: You can modify the image attribute by selecting the image (see following example) and change the attributes according to your requirements.
  4. Specify the Output Bif File Path and Output Image path.
  5. Click Create Image. After a few seconds, the log should indicate the created image is ready.

For more information about the Bootgen utility, refer to the Bootgen User Guide (UG1283).