Auto Config Settings - 2021.2 English

PetaLinux Tools Documentation: Reference Guide

Document ID
UG1144
Release Date
2021-10-27
Version
2021.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.
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.