Read this page in other languages:日本語
The below instructions refer to the zcu102_rv_ss
platform. Follow the same instructions, replacing only the file name, for the zcu104_rv_ss
, zcu102_rv_min
, zcu104_rv_min
, and 8-stream VCU + CNN
platforms.
The Vivado® hardware design is packaged inside the DSA located in the hw
folder of the platform (example: zcu102_rv_ss/hw/zcu102_rv_ss.dsa
). The DSA also includes the hpfm
file that describes the available AXI interfaces, clocks, resets, and interrupts. To open the hardware design in Vivado, run the following command from the Tcl console:
% open_dsa <platform>/hw/<platform>.dsa
The PetaLinux BSP is located at <platform>/sw/petalinux_bsp
. The .hdf
file exported from the corresponding Vivado project is available in the project-spec/hw-description/
subfolder inside the PetaLinux BSP.
To configure and build the PetaLinux BSP, run the following commands:
% cd petalinux
% petalinux-create -t project -s zcu102-prod-rv-ss.bsp -n bsp
% petalinux-config --get-hw-description=../zcu102_base_trd/hw --oldconfig
% petalinux-build
📌 NOTE The tmp
directory might relocate to a different folder, especially if your PetaLinux project is located on an NFS mount. Check your PetaLinux configuration.
The generated output products are located inside the images/linux/
subfolder. The relevant files that are packaged as part of the platform are listed below:
bl31.elf
pmufw.elf
u-boot.elf
zynqmp_fsbl.elf
image.ub
To generate the SDK/sysroot, run the following command:
% petalinux-build -s
The generated SDK installer will be located at images/linux/sdk.sh
.
Copyright© 2018–2019 Xilinx