This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM64X: what the relationship u-boot/configs/xxx_defconfig and Kconfig?

Part Number: PROCESSOR-SDK-AM64X

Hello TI experts:

I am porting u-boot to custom board, I think there three file for config U-Boot,am64x_evm_r5_defconfig、am64x_evm_a53_defconfig and am64x_evm.h. I want to konow what the make xxx_defconfig do. if Idont use menuconfig to config u-boot, should I modify the Kconfig file?

  • Hello,
    U-Boot can support many configurations, including device drivers, security features, etc. Users have to select which features to use for a board. Some "default" configurations for a platform can be found in u-boot/configs folder. For AM64x platform, am64x_evm_r5_defconfig has the default configuration for the first stage bootloader which will run on the R5 core, and am64x_evm_a53_defconfig has the default configuration for the second stage bootloader which will run on the A53 core. The make xxx_defconfig will generate a .config file with the default configuration found in xxx_defconfig. Then if you build with 'make' command, it will use the configuration saved in .config. Essentially, the xxx_defconfig is a way to save a default configuration for a particular board. Menuconfig is used to change from the default configuration, so it will modify the generated .config file. You do not need to modify Kconfig file. If you did not intend to change from the default configuration, do not use 'make menuconfig' and you can go ahead and build with the 'make' command.

  • get it, Thanks you!