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.img
file is generated in theplaie_system/Hardware/package
andplaie_system/Hardware/package_no_aie_debug
directories. They include all files insd_card
directory in the first FAT32 partition and contents ofrootfs.ext4
in second EXT4 partition. The differences are thesd_card.img
inpackage
directory has a package parameterenable_aie_debug=1
. It is used for debugging. The one in package_no_aie_debug can work for free running.