The petalinux-config -c COMPONENT
command
allows you to use a standard menuconfig interface to control how the embedded Linux
system is built, and also generates the source code for embedded software applications.
When petalinux-config
is executed with no other options,
it launches the system-level or "generic" menuconfig. This interface allows you to
specify information such as the desired boot device or metadata about the system such as
default hostname. The petalinux-config -c kernel
,
petalinux-config -c u-boot
, and petalinux-config -c rootfs
workflows launch the menuconfig
interfaces for customizing the Linux kernel, U-Boot, and the root file system,
respectively.
The --silentconfig
option 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/rootfs_config
$ petalinux-config -c rootfs --silentconfig
Use this command when you want to use the existing configurations without editing it. In this case, the menuconfig will not launch.