Create an AI Engine system design application on the custom platform.
Select File -> New -> Application Project.
Go through the welcome page and click Next.
On the Platform page, select the vck190_custom_dfx platform in the platform list, and click Next.
Set application name plaie, target processor psv_cortexa72_SMP. Click Next.
Input Sysroot path, RootFS path, and Kernel Image. Click Next.
Select template AI Engine System Design Examples -> AI Engine, PL and PS System Design. Click Finish.
Build the AI Engine system design application for hardware emulation.
Select plaie_system project.
Click the drop down of Build hammer icon on tool bar, select Hardware-HW. Alternatively, this step can be done by selecting Active Build Configuration to Emulation HW and clicking build icon.
Build the AI Engine system design application for hardware.
Select the plaie_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 clicking build icon.
If a dialogue box opens to ask whether to clean the project, select Don’t clean.
After a successful build, an
sd_card.imgfile is generated in the
plaie_system/Hardware/package_no_aie_debugdirectories. They include all files in
sd_carddirectory in the first FAT32 partition and contents of
rootfs.ext4in second EXT4 partition. The differences are the
packagedirectory has a package parameter
enable_aie_debug=1. It is used for debugging. The one in package_no_aie_debug can work for free running.