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 commandV++ --package
generates both boot.bin and thesd_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.