Return to the Design Tutorials Overview.
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 |
Open the existing SDx workspace from design module 8 using the SDx tool.
% cd $TRD_HOME/apu/video_app % sdx -workspace . && |
Source the Qt setup script to re-generate the Qt Makefile reflecting these changes.
% cd video_qt2 % source qmake_set_env.sh |
Copy the generated video_qt2 executable to the dm9 SD card directory.
% cp -f video_qt2/video_qt2 $TRD_HOME/images/dm9/bin/ |
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 % petalinux-build % 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/ |
Upon application exit, use the below login and password to log into the framebuffer or serial console:
root@Xilinx-ZCU102-2016_3 login: root password: root |