Zynq UltraScale MPSoC Base TRD 2017.2 - Design Module 10

Zynq UltraScale MPSoC Base TRD 2017.2 - Design Module 10

 

Zynq UltraScale MPSoC Base TRD 2017.2 - Design Module 10

 

Table of Contents

Design Overview

Design Components

Build Flow Tutorials

2D Filter and Optical Flow Combined Sample

Perfapm-client Library

Video Qt Application

Heartbeat Application

Perfapm-Server Application

PetaLinux BSP

Run Flow Tutorial

Design Overview


This module combines all the previous modules by:

  • adding the heartbeat component running on RPU0

  • adding the perfapm-server component running on RPU1

  • adding the perfapm-client library integrated into the video_qt2 application


The perfapm-client and perfapm-server components communicate via RPMsg on the master side and OpenAMP on the remote side.
The remoteproc framework is used by the master to download the perfapm-server firmware on the remote.
Instead of printing the throughput numbers on the serial console as done in module 4, the numbers are now plotted as graph in the Qt GUI.
The perfapm-server and heartbeat applications demonstrate simultaneous, independent execution on both RPU cores configured in split mode.





Design Components


This module requires the following components:

  • zcu102_base_trd (SDSoC)

  • petalinux_bsp

    • zynqmp_fsbl

    • pmufw

    • bl31

    • u-boot

    • kernel

    • device tree

    • rootfs

  • filter2d_optflow (HW)

  • video_lib

  • video_qt2

  • perfapm-client

  • perfapm-server

  • heartbeat




Build Flow Tutorials


2D Filter and Optical Flow Combined Sample


There is no need to rebuild the filter2d_optflow library if you have already built it in module 9, otherwise follow the instructions from module 9.

  • Copy the content of the generated sd_card folder to the dm10 SD card directory.

    % mkdir -p $TRD_HOME/images/dm10-new % cd $TRD_HOME/apu/video_app % cp -r filter2d_optflow/Release/sd_card/* $TRD_HOME/images/dm10-new
  • Copy the generated bitstream to the PetaLinux directory.

    % cp filter2d_optflow/Release/libfilter2d_optflow.so.bit $TRD_HOME/apu/petalinux_bsp/images/linux