Follow the steps in design module 5 to create a new workspace and to import the video_lib and video_qt2 projects. Otherwise, open the existing XSDK workspace only this time using the SDx tool instead of XSDK.
% cd $TRD_HOME/apu/video_app % sdx -workspace . && |
Copy the content of the generated sd_card folder to the dm7 SD card directory
% mkdir -p $TRD_HOME/images/dm7/bin % cp -rf filter2d/Release/sd_card $TRD_HOME/images/dm7/ |
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 dm7 SD card directory.
% cp -f video_qt2 $TRD_HOME/images/dm7/bin/ |
Copy the video_qt2 wrapper scripts from the pre-built dm9 SD card directory.
% cp $TRD_HOME/images/dm9/bin/run_video.sh $TRD_HOME/images/dm9/bin/video_qt2_wrap.sh $TRD_HOME/images/dm7/bin/ |
Copy the file autostart.sh from the pre-built dm9 SD card directory.
% cp $TRD_HOME/images/dm9/autostart.sh $TRD_HOME/images/dm7 |
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 |