Open main menu

DAVE Developer's Wiki β

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

< DESK-XZ7-L
Revision as of 08:25, 20 September 2023 by U0007 (talk | contribs)

History
Issue Date Notes
2022/11/18 DESK-XZ7-L-1.0.0-rc1 release



Contents

Creating and building the Petalinux projectEdit

ReferenceEdit

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

Petalinux buildEdit

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