The following table details the available options for the petalinux-config
tool.
Option | Functional Description | Value Range | Default Value |
---|---|---|---|
-p, --project
<path to project directory>
|
Specifies path to the project to be configured. | User-specified | Current Directory |
--get-hw-description <DIR
containing XSA>/--get-hw-description=<DIR containing
XSA>/--get-hw-description=<PATH-TO-XSA>
|
Initializes or updates the hardware configuration for the PetaLinux project. Mutually exclusive with -c. This is required. | User-specified | Current Directory |
|
Configures the specified system
component. Mutually exclusive with --get-hw-description . This is required. |
|
None |
--defconfig
DEFCONFIG
|
Initializes the Linux kernel/U-Boot configuration using the specified defconfig file. Valid for Linux kernel and U-Boot. This is optional. | User-specified. For example, for Linux kernel, the file name of a file in <kernel_ source>/arch/<ARCH>/configs/ is XXX_ defconfig. For U-Boot, the file name of a file in <uboot_ source> /configs is XXX_defconfig. | None |
--silentconfig
|
Allows you to restore a prior configuration. Example: Execute the following command after enabling or disabling different configs by editing <proj-root>/project-spec/configs/config $ petalinux-config
--silentconfig
|
None | None |
-v,--verbose
|
Displays additional output messages. This is optional. | None | None |
-h,--help
|
Displays tool usage information. This is optional. | None | None |