Zynq UltraScale MPSoC Base TRD 2016.4 - Design Module 6


Zynq UltraScale MPSoC Base TRD 2016.4 - Design Module 6

Return to the Design Tutorials Overview.



Design Overview


This module shows how to add a Test Pattern Generator (TPG) implemented in the PL.





Design Components


This module requires the following components:
  • zcu102_base_trd (Vivado)
  • pmu_fw
  • petalinux_bsp
    • zynqmp_fsbl
    • bl31
    • u-boot
    • kernel
    • device tree (system-dm6.dts)
    • rootfs
  • video_lib
  • video_qt2



Build Flow Tutorials


PL Base TRD


This tutorial shows how to build the Base TRD Vivado design that implements the TPG capture pipeline.

  • Create a Vivado project. Select 'es1' instead if you are targeting a rev D board with ES1 silicon.

  • Implement the design and generate a bitstream
  • Copy the generated bitstream to the PetaLinux directory or alternatively use the pre-built bit file that is already bundled with the PetaLinux BSP.


PMU Firmware


Please refer to design module 1 - PMU firmware for instructions or skip this step if you have built the PMU firmware in a previous module.

PetaLinux BSP


This tutorial shows how to build the Linux image and boot image using the PetaLinux build tool.

  • The petalinux-config step can be skipped if this was already done in a previous module.

  • Select the device-tree matching design module 6 and build all Linux image components. If you have run petalinux-build in a previous module, the build step will be incremental.

  • Create a boot image.

  • Copy the generated boot image and Linux image to the dm6 SD card directory.


Video Qt Application


There is no need to rebuild the video_qt2 application if you have already built it in module 5, otherwise follow the instructions from module 5.

  • Copy the generated video_qt2 executable to the dm6 SD card directory.




Run Flow Tutorial


  • See here for board setup instructions.
  • Copy all the files from the $TRD_HOME/images/dm6 SD card directory to a FAT formatted SD card.
  • Power on the board to boot the images; make sure INIT_B, done and all power rail LEDs are lit green.
  • After ~30 seconds, the display will turn on and the application will start automatically, targeting the max supported resolution of the monitor (one of 3840x2160 or 1920x1080 or 1280x720).
  • Upon application exit, use the below login and password to log into the framebuffer or serial console:

  • The SD card file system is mounted at /media/card
  • To re-start the TRD application type run_video.sh
  • The user can now control the application from the GUI's control bar (bottom) displayed on the monitor.
  • By default, application launches with VIVID as a video-source, user can also select TPG from the "Video-source selection" button present on the GUI's control-bar.
    • Virtual Video Device (VIVID): emulates a USB webcam purely in software
    • USB Webcam (UVC): using the universal video class driver
    • Test Pattern Generator (TPG); implemented in the PL
  • The video info panel (top left) shows essential settings/statistics.
  • The CPU utilization graph (top right) shows CPU load for each of the four A53 cores.