Auto Config Settings - 2022.2 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2022-10-19
Version
2022.2 English

When a component is selected to enable automatic configuration (autoconfig) in the system-level menuconfig, its configuration files are automatically updated when the petalinux-config is run.

Figure 1. Auto Config Settings
Note: The kernel autoconfig and u-boot auto config options are only available for MicroBlaze processors. They are unavailable for other architectures.
Note: If "Auto config Settings-> Device tree autoconfig" is disabled and if we provide any dts files through "Extra dts/dtsi files" and kernel boot args in "DTG settings" menu will not work.
Table 1. Components and their Configuration Files
Component in the Menu Files Impacted when the Autoconfig is enabled
Device tree The following files are in <plnx-proj-root>/components/plnx_workspace/device-tree/device-tree/
  • skeleton.dtsi (Zynq-7000 devices only)
  • zynq-7000.dtsi (Zynq-7000 devices only)
  • zynqmp-clk-ccf.dtsi (Zynq UltraScale+ MPSoC only)
  • pcw.dtsi (Zynq-7000 devices, Zynq UltraScale+ MPSoC, and Versal devices)
  • pl.dtsi
  • system-conf.dtsi
  • system-top.dts
  • <board>.dtsi
  • versal.dtsi (for Versal devices only)
  • versal-clk.dtsi (for Versal devices which have clock framework.)
kernel (only for MicroBlaze processors) The following files are in <plnx-proj-root>/project-spec/configs/linux-xlnx/plnx_kernel.cfg
Note: plnx_kernel.cfg is generated only when petalinux-config > Auto Config Settings > kernel autoconfig is enabled.
U-Boot (only for MicroBlaze processors) The following files are in <plnx-proj-root>/project-spec/configs/u-boot-xlnx/config.cfg
  • config.mk (MicroBlaze only)
  • platform-auto.h
Note: config.cfg and platform-auto.h are generated only when petalinux-config > Auto Config Settings > u-boot autoconfig is enabled.