[U-Boot] [U-boot] 2018.09-rc1 Browsing source code of SPL and U-boot proper

Sreekesh Sreelal sreekesh.star at gmail.com
Sun Aug 12 16:41:13 UTC 2018


I am trying to study the execution flow of SPL and U-boot proper
specifically for BeagleBone Black(am335x_boneblack_defconfig) by browsing
through the source code.

1. How can i generate the list of source files which gets compiled into
U-boot proper(u-boot.img) and SPL(MLO) binaries? If i get a list of files
which gets compiled for SPL and U-boot separately, then i can use cscope to
browse through the code. ( make cscope just generates the list of files
which gets compiled for U-boot proper, and it includes many files which are
not compiled into binary )

2. How can i generate the configuration macros(CONFIG_*) which are used
during build process of U-boot and SPL binaries?
Is include/generated/autoconf.h containing the macros used for U-boot.

3. What does u-boot.cfg and spl/u-boot.cfg contain? Are these the
configuration macros used for building U-boot and SPL respectively?

Regards,
Sreekesh Sreelal


More information about the U-Boot mailing list