Once the fixed XSA is generated by the linker, we can use the Vitis packager to pack all the files to either run the design in Hardware Emulation or on the VCK190 hardware board. the Vitis packager inputs are fixed XSA, libadf.a
, boot files, linux files and a configuation file. Let’s look at the files we have so far:
libadf.a: AI Engine kernel and its boot files
Fixed XSA: output of the linker
host.exe: output of the host code compiler
rootfs.ext4: root file system, using the AMD provided VCK190 platform file
Image: Linux image, using the AMD provided VCK190 platform file
With the input files ready, we need to create a configuration file to provide guidance to the packager, let us call this file as pack.cfg
.