Return to the Design Tutorials Overview.
Create a Vivado project. Select 'es1' instead if you are targeting a rev D board with ES1 silicon.
% cd $TRD_HOME/pl/zcu102_base_trd % vivado -s ./scripts/create_project.tcl -tclargs -platform zcu102 -silicon es2 |
Copy the generated bitstream to the PetaLinux directory or alternatively use the pre-built bit file that is already bundled with the PetaLinux BSP.
% cp -f project/zcu102_base_trd.runs/impl_1/zcu102_base_trd_wrapper.bit $TRD_HOME/apu/petalinux_bsp/images/linux |
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 6 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-dm6.dts system-top.dts % petalinux-build % cd - |
Create a boot image.
% cd images/linux % petalinux-package --boot --bif=dm6.bif --force |
Copy the generated boot image and Linux image to the dm6 SD card directory.
% mkdir -p $TRD_HOME/images/dm6/bin % cp autostart.sh BOOT.BIN image.ub $TRD_HOME/images/dm6 |
Copy the generated video_qt2 executable to the dm6 SD card directory.
% cp -f video_qt2/video_qt2 video_qt2/run_video.sh video_qt2/video_qt2_wrap.sh $TRD_HOME/images/dm6/bin |
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 |