A new packaging stage is added to the Vitis™ compiler (v++) in 2020.1.
In 2019.2, v++ had two stages:
-
-c
or--compile
to compile acceleration kernels -
-l
or--link
to link acceleration kernels with platform logic.
In the 2020.1 release, the new stage is -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.