Run Vitis by typing
vitis
in the console. (if you have launched Vitis, please omit this step)Select menu File -> New -> Application Project.
Go through the welcome page and click Next.
On Platform page, select vck190_custom platform in the platform list. Click Next.
Set Application project name to vadd, target processor psv_cortexa72_SMP. Click Next.
Input Sysroot path <xilinx-versal-common-v2022.2/sysroots/cortexa72-cortexa53-xilinx-linux>
Input RootFS path <xilinx-versal-common-v2022.2/rootfs.ext4>
Input Kernel Image path <xilinx-versal-common-v2022.2/Image>
Click Next.
Select template Vector Addition. Click Finish.
Select vadd_system project
Click the drop down of Build hammer icon on tool bar, select Hardware. Alternatively, this step can be done by selecting Active Build Configuration to Hardware and click the build icon.
It takes some time to build hardware. Finally Vitis will generate sd_card.img in vadd_system/Hardware/package directory.