petalinux-config --get-hw-description Examples - 2025.1 English - UG1144

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2025-05-29
Version
2025.1 English

The following examples demonstrate proper usage of the petalinux-config --get-hw-description command.

  • Initialize a PetaLinux project within the project directory containing an SDT.
    petalinux-config --get-hw-description <PATH-TO-SDT-DIRECTORY>
  • Initialize a PetaLinux project within the project directory with an external XSA.
    petalinux-config --get-hw-description <PATH-TO-XSA DIRECTORY>/--get-hw-description=<PATH-TO-XSA DIRECTORY>/--get-hw-description=<PATH-TO-XSA>
  • Initialize a PetaLinux project from within the directory containing an XSA.
    petalinux-config --get-hw-description -p <PATH-TO-PETALINUX-PROJECT>
  • Initialize a PetaLinux project from a neutral location.
    petalinux-config --get-hw-description <PATH-TO-XSA DIRECTORY>/ --get-hw-description=<PATH-TO-XSA> -p
    <PATH-TO-PETALINUX-PROJECT>