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

PetaLinux Tools Documentation Reference Guide (UG1144)

Document ID
UG1144
Release Date
2021-06-16
Version
2021.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
    <PATH-TO-PETALINUX-PROJECT>