Difference between revisions of "DESK-XZ7-L/Development/Creating and building the Petalinux project"

From DAVE Developer's Wiki
Jump to: navigation, search
(Petalinux build)
Line 23: Line 23:
 
* clone the repository
 
* clone the repository
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
git clone git@git.dave.eu:sdv12/petalinux.git -b desk-xz7-l-rel-1.0.0
+
git clone git@git.dave.eu:desk-xz-l/petalinux.git -b desk-xz7-l-rel-1.0.0
 
cd petalinux
 
cd petalinux
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 07:37, 5 October 2023

History
Issue Date Notes
2022/11/18 DESK-XZ7-L-1.0.0-rc1 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:desk-xz-l/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