Set Up the Environment - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English

Use the following commands to set up 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 Peripheral Component Interconnect Express (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 the 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>
  • You 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>