Skip to contentSkip to conversation

Newbie in U-Boot, Some Queries

U-Boot-Users raajesh.n at indiatimes.com 2 participants 2 messages Apr 28, 2008

lore
Share & tools
lore
#0 lore raw

HI ,

I am newbie to U-Boot, I have a customized board with u-boot with it, I have seen through top level makefile of U-Boot.Below stated is what I have observed from makefile.

1. First initialization of processor (ARM922t in my case) is done in CPU folder with Startup.S where this assembly routine will call low_level_init code for initialization of RAM of customized board.

2. Further I have observed rest all code which are required for boot-up is made as library and compiled at once.

I would like to know how the code flow of U-Boot takes place , which are all the files which will be called in sequence while boot operation takes place, as far I have seen the code, Startup.S is one which starts first clearing Stack & PC which will further calls low_level_Init, I am unable to know how U-Boot works further from this place.

I would request U-Boot users to share there knowledge in explaining me how the code flow of U-Boot takes place, which will help me in finishing my project where RAM & Flash is changed.

Best Regards,
Rajesh

#1 lore raw
Quoted 22 lines · --- raajesh.n at indiatimes.com

HI ,

I am newbie to U-Boot, I have a customized board with u-boot with it, I have seen through top level makefile of U-Boot.Below stated is what I have observed from makefile.

1. First initialization of processor (ARM922t in my case) is
done in CPU folder with Startup.S where this assembly routine will call low_level_init code for initialization of RAM of customized board.

2. Further I have observed rest all code which are required
for boot-up is made as library and compiled at once.

I would like to know how the code flow of U-Boot takes place
, which are all the files which will be called in sequence while boot operation takes place, as far I have seen the code, Startup.S is one which starts first clearing Stack & PC which will further calls low_level_Init, I am unable to know how U-Boot works further from this place.

Quoted 9 lines

I would request U-Boot users to share there knowledge in explaining me how the code flow of U-Boot takes place, which will help me in finishing my project where RAM & Flash is changed.

Best Regards,
Rajesh

cscope is your friend...

      ____________________________________________________________________________________

Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ