...
To Create SD Card with two partitions: Boot(FAT32+Bootable) and Root(EXT4) Refer this Link.
Copy
boot
content fromrdf0617-zcu106_vcu_hdmi_roi_2020_2/image/sd_card/boot
to Boot partition in SD CardExtract
rootfs.ext4
fromrdf0617-zcu106_vcu_hdmi_roi_2020_2/image/sd_card/root
to Root partition in SD Card usingBoot the board with Flashed SD Card
...
To Create SD Card with two partitions: Boot(FAT32+Bootable) and Root(EXT4) Refer this Link.
For Build Flow refer this steps and copy mentioned generated dpu build images
bd.hwh BOOT.BIN boot.scr dpu.xclbin Image system.dtb
into BOOT partition of the SD card and extract generatedrootfs.ext4
into ROOT partition of SD CardCopy the mentioned
boot
contentconfig, vitis, autostart.sh, setup.sh
fromrdf0617-zcu106_vcu_hdmi_roi_2020_2/image/sd_card/boot/
directory to Boot partition in SD CardBoot the board with Flashed SD Card
All the required Vitis AI packages are already available in
rdf0617-zcu106_vcu_hdmi_roi_2020_2/image/sd_card/boot/vitis
directory which are installed automatically during 1st time boot. Please wait till target setup complete and Vitis AI packages are installed.
...
Open a Linux terminal. Set the Linux as Bash mode.
Code Block source <vitis install path>/Vitis/2020.2/settings64.sh source <xrt install path>/xilinx/xrt/setup.sh
The default setting of DPU is B4096 with
RAM_USAGE_LOW, CHANNEL_AUGMENTATION_ENABLE, DWCV_ENABLE, POOL_AVG_ENABLE, RELU_LEAKYRELU_RELU6, Softmax
. Read theDPU_TRD_HOME/prj/Vitis/dpu_conf.vh
file to get the details of DPU. You can get all the configurations form PG338. Modify theDPU_TRD_HOME/prj/Vitis/dpu_conf.vh
file can change the default settings.Copy dpu_conf.vh file to enable the URAM for ZCU106/ZCU104 DPU Build, The DPU will replace the bram to the uram.
Code Block cp TRD_HOME/dpu/dpu_conf.vh DPU_TRD_HOME/prj/Vitis/dpu_conf.vh
Build the hardware design
Code Block cd $DPU_TRD_HOME/prj/Vitis export EDGE_COMMON_SW=<Path to Petalinux Project>/xilinx-vcu-roi-zcu106-v2020.2-final/images/linux/ export SDX_PLATFORM=<Path to Vitis Workspace>/zcu106_dpu/export/zcu106_dpu/zcu106_dpu.xpfm make KERNEL=DPU DEVICE=zcu106_dpu
Generated SD card files are in
DPU_TRD_HOME/prj/Vitis/binary_container_1/sd_card
(SD card Format)Copy generated dpu build images from
DPU_TRD_HOME
directory toTRD_HOME
directoryCode Block cd DPU_TRD_HOME/prj/Vitis/binary_container_1/sd_card cp bd.hwh BOOT.BIN boot.scr dpu.xclbin Image system.dtb TRD_HOME/image/sd_card/boot cp TRD_HOME/apu/vcu_petalinux_bsp/xilinx-vcu-roi-zcu106-v2020.2-final/images/linux/rootfs.ext4 TRD_HOME/image/sd_card/root
For more detail please refer DPU Build Flow
For more details on Vitis AI, check User Guide (UG1414)
...