A new packaging stage is added to the Vitis™ compiler (v++) in 2021.2.
In 2021.2, v++ has three stages:
--compileto compile acceleration kernels
--linkto link acceleration kernels with platform logic.
--package, the command
V++ --packagegenerates both boot.bin and 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
--package option, refer to the v++ Command or the
command, and the Xilinx
Vitis Acceleration Examples GitHub