Zynq UltraScale MPSoC Base TRD 2016.3 - Design Module 9
Return to the Design Tutorials 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.
This module requires the following components:
- zcu102_base_trd (SDSoC)
- device tree
- filter2d (HW)
Build Flow Tutorials
2D Filter Sample
There is no need to rebuild the filter2d library if you have already built it in module 8, otherwise follow the instructions
from module 8.
Copy the content of the generated sd_card folder to the dm9 SD card directory.
% cd $TRD_HOME/apu/video_app
% cp -rf filter2d/Release/sd_card $TRD_HOME/images/dm9
Copy the generated bitstream to the PetaLinux directory or alternatively use the pre-built bitstream already bundled with the PetaLinux BSP.
% cp -f filter2d/Release/libfilter2d.so.bit $TRD_HOME/apu/petalinux_bsp/images/linux
This tutorial shows how to build the performance monitor client library.
Video Qt Application
This tutorial shows how to build the video library and the video Qt application.
Please refer to design module 2 Heartbeat Application
for instructions or skip this step if you have built the heartbeat application in a previous module.
Please refer to design module 4 Perfapm-server Application
for instructions or skip this step if you have built the perfapm-server application in a previous module.
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.
% cd $TRD_HOME/apu/petalinux_bsp
% petalinux-config --get-hw-description=./hw-description --oldconfig
Select the device-tree matching design module 9 and build all Linux image components. If you have run petalinux-build in a previous module, the build step will be incremental.
% cd subsystems/linux/configs/device-tree
% cp system-dm9.dts system-top.dts
% cd -
Create a boot image.
% cd images/linux
% petalinux-package --boot --bif=dm9.bif --force
Copy the generated boot image and Linux image to the dm9 SD card directory.
% cp -f BOOT.BIN image.ub $TRD_HOME/images/dm9/
Run Flow Tutorial