Return to the Design Tutorials Overview.
Create a new XSDK workspace.
% cd $TRD_HOME/pmu/pmu_fw % xsdk -workspace . && |
Copy the generated pmu_fw executable into the PetaLinux BSP.
cp $TRD_HOME/pmu/pmu_fw/pmu_fw/Debug/pmu_fw.elf $TRD_HOME/apu/petalinux_bsp/images/linux |
Configure the PetaLinux project.
% cd $TRD_HOME/apu/petalinux_bsp % petalinux-config --get-hw-description=./hw-description --oldconfig |
Select the device-tree matching design module 5 and build all Linux image components
% cd subsystems/linux/configs/device-tree % cp system-dm1.dts system-top.dts % petalinux-build % cd - |
Create a boot image.
% cd images/linux % petalinux-package --boot --bif=dm1.bif --force |
Copy the generated boot image and Linux image to the dm1 SD card directory.
% mkdir -p $TRD_HOME/images/dm1 % cp BOOT.BIN image.ub $TRD_HOME/images/dm1 |
Upon completion of the linux-boot, use the below login and password to log into the framebuffer or serial console:
root@Xilinx-ZCU102-2016_3 login: root password: root |