Packaging Images - 2023.2 English

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

Document ID
Release Date
2023.2 English

The Vitis compiler (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 v++ Command or the v++ -help command, and the AMD Vitis Acceleration Examples GitHub repository.