
Hello Guys, I am new to u-boot. I want to understand the flow of u-boot.
I have tried to go through start.s file, but I stop after arm_boot function call.
I did not understand that how board gets configured? in older version of u-boot i can see <board name>_config option in makefile, but in newer version it is not available in Makefile. So where it is?
I also want to know that during compilation how specific board files links with each other?

Hi Rakesh,
I am new to u-boot. I want to understand the flow of u-boot.
Here is a starting point for you: http://marc.info/?t=130381454100002&r=1&w=2
I did not understand that how board gets configured? in older version of u-boot i can see <board name>_config option in makefile, but in newer version it is not available in Makefile. So where it is?
boards.cfg has name ARCH, CPU based on this the makefile uses the respective sources and config. I don't know the actual mechanism in make - but i'am sure someone can answer this ;)
Regards Simon

Rakesh, you probably want to take a look at the mkconfig script. It is responsible for doing much of the board configuration in preparation for building, including the generation of the top level config.mk that specifies things like ARCH, CPU and BOARD.
-Anton
On Mon, Jul 11, 2011 at 8:54 AM, Simon Schwarz < simonschwarzcor@googlemail.com> wrote:
Hi Rakesh,
I am new to u-boot. I want to understand the flow of u-boot.
Here is a starting point for you: http://marc.info/?t=130381454100002&r=1&w=2
I did not understand that how board gets configured? in older version of u-boot i can see <board name>_config option in makefile, but in newer version it is not available in Makefile. So where it is?
boards.cfg has name ARCH, CPU based on this the makefile uses the respective sources and config. I don't know the actual mechanism in make - but i'am sure someone can answer this ;)
Regards Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
participants (3)
-
Anton Staaf
-
Rakesh Modi
-
Simon Schwarz