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.
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
install the sysroot
. This package also
provides a pre-compiled kernel image and rootfs
.
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.