Set Up Cross Compilation Environment and Compilation
If you already followed Host setup — install sysroot under Software setup (host packages and sysroot) in the Versal AI Edge Gen2 Vitis AI documentation, you can skip this step.
cp <Packages path>/vitis_ai_2ve_sdk_v6.2.sh sdk.sh
unset LD_LIBRARY_PATH
./sdk.sh -d <path-to-your-sdk-installation>
Source the cross compilation environment:
environment-setup-cortexa72-cortexa53-amd-linux.
source <path-to-your-sdk-installation>/environment-setup-cortexa72-cortexa53-amd-linux
Build VVAS
Clone the VVAS source code from GitHub.
git clone https://github.com/amd/VVAS.git -b release/6.2
Build the VVAS using the following command:
cd vvas
./build_install_vvas.sh #This step will build VVAS and install a tar file in install directory.
Copy the VVAS installer to the board:
scp install/vvas_installer.tar.gz amd-edf@<board_ip>:~/
Log into the board, and install VVAS using the following steps:
ssh amd-edf@<board_ip>
cd /
sudo tar -xvf ~/vvas_installer.tar.gz
cd ~