Use the following commands to setup the basic environment:
$ source <path to the Vitis installation folder>/Vitis/<version number>/settings64.sh
$ export PLATFORM_REPO_PATHS=<path to platform>
$ export PLATFORM=<path to platform directory>/<platform>.xpfm
For PCIe devices,set the following:
$ source <path to Xilinx_xrt>/setup.sh
For embedded devices,set the following:
- If Download the platform, and common-image from Xilinx Download Center. Run the sdk.sh script from the common-image directory to install sysroot using the command :
$ ./sdk.sh -y -d ./ -p
Unzip the rootfs file :
$ gunzip ./rootfs.ext4.gz
$ export SYSROOT=<path to platform sysroot>
- User could also define SYSROOT, K_IMAGE and ROOTFS by themselves:
$ export SYSROOT=<path to platform sysroot>
$ export K_IMAGE=<path to Image files>
$ export ROOTFS=<path to rootfs>