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 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 GPL and BSD. You can find the source files for these materials 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 created through the TCL script located at 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 the script, review the comments, follow the notes in the next sections.