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>