Packaging Images - 2022.1 English

Vitis Unified Software Platform Documentation: Application Acceleration Development (UG1393)

Document ID
UG1393
Release Date
2022-05-25
Version
2022.1 English

A new packaging stage is added to the Vitis™ compiler (v++) in 2021.2.

In 2021.2, v++ has three stages:

  • -c or --compile to compile acceleration kernels
  • -l or --link to link acceleration kernels with platform logic.
  • -p or --package, the command V++ --package generates both boot.bin and the sd_card image files

The --package command supports both initramfs and Ext4 rootfs images.

In the Vitis IDE, the package stage is automatically called during the build process. You can add additional package options in the system project detail page by double-clicking the .sprj file. Package log files, command configuration files, and output files are stored in the package directory under the Emulation-SW, Emulation-HW or Hardware directories.

In command line mode, you can pass in package options as v++ options or configuration files. For more detailed information about the v++ --package option, refer to the Vitis Compiler Command or the v++ -help command, and the Xilinx Vitis Acceleration Examples GitHub repository.