Run Vitis by typing
vitis -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.Note: If you target VEK280, please select
vek280_custom
platform.Input Sysroot path:
xilinx-versal-common-v2024.1/sysroots/cortexa72-cortexa53-xilinx-linux
Input RootFS path:
xilinx-versal-common-v2024.1/rootfs.ext4
Input Kernel Image path:
xilinx-versal-common-v2024.1/Image
and click Next.Review the project summary and click Finish.
After seconds, the project is created.
Select Component vadd in flow navigator. Click Build all under HARDWARE target. 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.