Run Vitis by typing
vitis --new -w .
in the console (If you have launched Vitis, omit this step).In the view, Click Example button and expand the Installed Examples Repository directory like the following:
Select Simple Vector Addition, and click Create application from template.
Input the System project name:
Vadd
and click Next.Select the platform we created in previous step. In this case, it is
vck190_custom
platform.Input Sysroot path
xilinx-versal-common-v2023.1/sysroots/cortexa72-cortexa53-xilinx-linux
Input RootFS path
xilinx-versal-common-v2023.1/rootfs.ext4
Input Kernel Image path
xilinx-versal-common-v2023.1/Image
and click Next.Review the project summary and click Finish.
After some time, the project is created.
Select Component Vadd. Click Build all under Hardware. A window pops up prompting to choose which modules to compile. Select all and click OK.
It takes some time to build hardware. Finally, Vitis generates sd_card.img in
vadd/build/hw/package/package/
directory.