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
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to