After creating the hardware platform (XSA) with the AI Engine IP through Vivado, import this XSA into the Vitis environment and create the software platform. Then add the aie_runtime, Linux, and standalone (bare-metal) domains into the software platform. The domains are configured with prebuilt Petalinux software components. Review Steps 2 and 3 of the Versal Custom Platform Creation Tutorial if you want to learn how to create the Petalinux software components from scratch.
Certain software components distributed with this tutorial are licensed under open source licenses, such as the GPL and BSD, source files for these materials are located at the following locations:
sw/src/boot/bl31.elf is built from the arm-trusted-firmware repository
sw/src/boot/u-boot.elf is built from the u-boot-xlnx repository
The software platform is through the TCL script located sw/vck_190_v1_0_pfm.tcl
. In this section, review important aspects of the vck_190_v1_0_pfm.tcl
script used to generate the Vitis project. Open this script, review the comments, follow the notes in the next sections of this module.