This module shows how to add several PL peripherals:
This module requires the following components:
This tutorial shows how to build the Base TRD Vivado design that implements the TPG capture pipeline, HDMI Rx capture pipeline including VPSS scaler & frame-buffer read configured for 2ppc and HDMI Tx display pipeline including video-mixer configured for 2ppc.
Start Vivado
% mkdir -p $TRD_HOME/vivado % cd $TRD_HOME/vivado % vivado |
From the Vivado tcl console run
% open_dsa ../zcu102_base_trd/hw/zcu102_base_trd.dsa |
Export the hdf file and include the bitstream for handoff to PetaLinux. Click File → Export → Export Hardware. Make sure the Include bitstream option is checked. Confirm with OK if prompted to save the block design.
This tutorial shows how to build the Linux image and boot image using the PetaLinux build tool. This step assumes you have created the PetaLinux project in DM1 previously.
Select the device-tree matching design module 6.
% cd $TRD_HOME/petalinux/bsp/project-spec/meta-user/recipes-bsp/device-tree/files % cp zcu102-base-dm6.dtsi system-user.dtsi |
Import the hdf file generated by Vivado in the previous step and build all Linux image components. If you have run petalinux-build in a previous module, the build step will be incremental.
% cd $TRD_HOME/petalinux/bsp % petalinux-config --get-hw-description=$TRD_HOME/vivado/zcu102_base_trd/zcu102_base_trd.sdk/ --silentconfig % petalinux-build |
Create a boot image.
% cd $TRD_HOME/petalinux/bsp/images/linux % petalinux-package --boot --bif=../../project-spec/boot/dm6.bif --force |
Copy the generated boot image and Linux image to the dm6 SD card directory.
% mkdir -p $TRD_HOME/sd_card/dm6 % cp BOOT.BIN image.ub $TRD_HOME/sd_card/dm6 |
$TRD_HOME/sd_card/dm6
SD card directory to a FAT formatted SD card.To re-start the TRD application with the max supported resolution, run
% run_video.sh |
To re-start the TRD application with a specific supported resolution use the -r switch e.g. for 1920x1080, run
% run_video.sh -r 1920x1080 |