petalinux-config -c COMPONENT Examples - 2022.2 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
Release Date
2022.2 English

The following examples demonstrate proper usage of the petalinux-config -c COMPONENT command:

  • Start the menuconfig for the system-level configuration.
    $ petalinux-config
  • Enable different rootfs packages without opening the menuconfig. Execute below command after enabling or disabling different packages by editing <proj-root>/project-spec/configs/rootfs_config
    $ petalinux-config -c rootfs --silentconfig
  • Load the Linux kernel configuration with a specific default configuration.
    $ petalinux-config -c kernel --defconfig xilinx_zynq_base_trd_defconfig
  • Load the U-Boot configuration with a specific default configuration.
    $ petalinux-config -c u-boot --defconfig xilinx_zynqmp_zcu102_defconfig

The following warning message appears when petalinux-config or petalinux-build for components (for example: petalinux-build -c u-boot) is run. This message can be ignored.

Warning: SRC_URI is conditionally overridden in this recipe, thus several devtool-override-* branches have been created, one for each override that makes changes to SRC_URI. It is recommended that you make changes to the devtool branch first, then checkout and rebase each devtool-override-* branch and update any unique patches there (duplicates on those branches will be ignored by devtool finish/update-recipe).