For the Vitis embedded software development flow, you can use embedded
platforms with Linux, standalone/bare metal, or RTOS domains. To support the
Vitis application acceleration development
flow, embedded platforms require a Linux kernel, a
rootfs with integrated Xilinx
Runtime, and a
sysroot to cross-compile the host
application. You can create your own embedded platforms, or download pre-built
To install a platform, download the zip file and extract it
into /opt/xilinx/platforms, or extract it
into a separate location and add that location to the
PLATFORM_REPO_PATHS environment variable.
You can build your own platform software, or use a pre-built software common image. To download a pre-built common image, look for the Common images for Embedded Vitis platforms block on the downloads page, and download and extract the common image for your platform architecture.
Running sdk.sh extracts
and installs the
sysroot. The option
-d gives you the option to choose where to
sysroot. This package also
provides a pre-compiled kernel image and
You can add the
sysroot to a
Makefile for your command line project, or the Vitis IDE will prompt you to add it to your application project.
For example, in your Makefile point
<SYSROOT> to /<install_path>/cortexa72-cortexa53-xilinx-linux, which is
generated when running sdk.sh.
For more details about customizing the Xilinx pre-built base platforms to add more domains, see Customizing a Pre-Built Platform .