...
Select the device-tree matching design module 6.
Code Block language bash theme Midnight % cd $TRD_HOME/petalinux/bsp/project-spec/meta-user/recipes-bsp/device-tree/files % cp zcu102-base-dm6.dtsi system-user.dtsi
Import the hdf file generated by Vivado in the previous step and build all Linux image components. If you have run petalinux-build in a previous module, the build step will be incremental.
Code Block language bash theme Midnight % cd $TRD_HOME/petalinux/bsp % petalinux-config --get-hw-description=$TRD_HOME/vivado/zcu102_base_trd/zcu102_base_trd.sdk/ --silentconfigoldconfig % petalinux-build
Create a boot image.
Code Block language bash theme Midnight % cd $TRD_HOME/petalinux/bsp/images/linux % petalinux-package --boot --bif=../../project-spec/boot/dm6.bif --force
Copy the generated boot image and Linux image to the dm6 SD card directory.
Code Block language bash theme Midnight % mkdir -p $TRD_HOME/sd_card/dm6 % cp BOOT.BIN image.ub $TRD_HOME/sd_card/dm6
...