0

I am understanding the U-boot build, it seems the selected config options in Kconfig are updated in u-boot.cfg file.

Can you guide to understand how it is created and the usage of this file(who will use this file).

artless noise
  • 21,212
  • 6
  • 68
  • 105
user3693586
  • 1,227
  • 5
  • 18
  • 40

2 Answers2

0

The current U-Boot configuration options are stored in file .config.

You can create a default configuration my using one of the filenames in configs/, e.g.

make qemu_arm64_defconfig

To adjust the configuation use

make menuconfig

https://opensource.com/article/18/10/kbuild-and-kconfig has some more detail about the internals of the Kconfig system.

Xypron
  • 2,215
  • 1
  • 12
  • 24
0

The u-boot.cfg file is produced when you build U-Boot. It is just there to let you see what config options were selected.

Normally you edit the configs/..._defconfig files to actually change the configuration of U-Boot for a board.