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

PetaLinux Tools Documentation: Reference Guide

Document ID
UG1144
Release Date
2021-10-27
Version
2021.2 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>