DESK-XZ7-L/Development/Creating and building the Petalinux project

From DAVE Developer's Wiki
Jump to: navigation, search
History
ID# Issue Date Notes

1xxxx

Q1 2023 DESK-XZ7-L-1.0.0 release



Creating and building the Petalinux project[edit | edit source]

Reference[edit | edit source]

  • PetaLinux Tools Documentation Reference guide UG1144
  • PetaLinux Tools DocumentationCommand Line Reference Guide UG1157

Petalinux build[edit | edit source]

To reproduce Petalinux build:

  • clone the repository
git clone git@git.dave.eu:sdv12/petalinux.git -b desk-xz7-l-rel-1.0.0
cd petalinux
  • setup the Petalinux environment
source /opt/Xilinx/petalinux/2021.2/settings.sh
  • update the hardware description (with the one provided as output from the Vivado project above)
petalinux-config --get-hw-description <path to .xsa>
  • when applying the hardware description, the standard menuconfig interface will popup: just save the current configuration to proceed
  • run the Petalinux build
petalinux-build