Setting up the environment - 2024.1 English

Vitis Tutorials: Getting Started (XD098)

Document ID
XD098
Release Date
2024-06-19
Version
2024.1 English

IMPORTANT: This tutorial requires Vitis 2024.1 or later to run.

NOTE: The instructions provided below assume that you are running in a bash shell.

  • To configure the environment to run Vitis, source the following scripts:

    source <VITIS_install_path>/settings64.sh
    
  • Then make sure the following environment variables are correctly set to point to your installed ZCU102 platform, rootfs and sysroot directories respectively.

    export PLATFORM_REPO_PATHS=<path to the ZCU102 platform install dir>
    export ROOTFS=<path to the ZYNQMP common image directory, containing rootfs>
    export SYSROOT=$ROOTFS/sysroots/cortexa72-cortexa53-xilinx-linux
    export SDKTARGETSYSROOT=$SYSROOT
    

NOTE: The ZYNQMP common image file can be downloaded from the Vitis Embedded Platforms page, and contains the Sysroot, Rootfs, and boot Image for AMD Zynq™ MPSoC devices.