petalinux-config --get-hw-description Examples - 2022.1 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
Release Date
2022.1 English

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

  • 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 DIRECTORY>/--get-hw-description=<PATH-TO-XSA> -p