02 - Disable Kconfig, Scheduler and Initrd

Summary

This fragment disables kernel configuration debugging options, scheduler tracing mechanisms, and initial RAM disk (initrd) support. These features are mostly unnecessary in embedded systems with static root filesystems and limited resources.

Configuration breakdown

Kconfig debugging options

CONFIG_IKCONFIG
CONFIG_IKCONFIG_PROC
  • Disables embedding of the kernel .config file.

  • Disables access to configuration through /proc/config.gz.

Scheduler debugging and tracing

CONFIG_SCHED_DEBUG
  • Disables detailed scheduler stats and debug code.

Initial RAM disk support

CONFIG_BLK_DEV_INITRD
  • Disables initrd/initramfs support, reducing early boot complexity.

Where to find a cfg sample

02-Config-Disabled-Kconfig-Scheduler-Initrd.cfg