Skip to contentSkip to conversation

Where is the head ?

U-Boot-Users quantika at katamail.com 3 participants 3 messages Mar 10, 2006

lore
Share & tools
lore
#0 lore raw

I'm new to this project and I'm trying to locate the flow of the program, where it starts, where the main is, just to familiarize with the code. Can anyone give me some indication about where the flow starts ? The board I'm looking at is smdk2410, but any suggustion would be appreciate Thanks Bruno

________________________________________________________________________
SERVIZIO VOICE: TELEFONA e INVIA SMS dal tuo computer a tariffe vantaggiose! Scopri come telefonare e videochiamare gratis da pc a pc.
http://voice.repubblica.it

#1 lore raw

Welcome to the right list ;-)

Read the readme, it has a lot of valuable information
<http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=blob;h=6f610082224e54fc0a31246cdea7ad688df1e6d1;hb=83784bf63fa8dcf9c530226ab122463e95e9050f;f=README#l3141>

Read the linker control file, it is what determines the code that ends up in the reset vector
<http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=blob;h=f4fbf969c3cf6445dd210053c319e591440dc3ae;hb=83784bf63fa8dcf9c530226ab122463e95e9050f;f=board/smdk2410/u-boot.lds#l35>

Hmm, cpu/arm920t/start.o:
<http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=blob;h=4603cf573376fdfaa5b7b88933c6b1190591976a;hb=83784bf63fa8dcf9c530226ab122463e95e9050f;f=cpu/arm920t/start.S>

Porting guide section of the readme: :-)
<http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=blob;h=6f610082224e54fc0a31246cdea7ad688df1e6d1;hb=83784bf63fa8dcf9c530226ab122463e95e9050f;f=README#l3347>

gvb

Quoted 21 lines · quantika at katamail.com

I'm new to this project and I'm trying to locate the flow of the program, where it starts, where the main is, just to familiarize with the code. Can anyone give me some indication about where the flow starts ? The board I'm looking at is smdk2410, but any suggustion would be appreciate Thanks Bruno

________________________________________________________________________
SERVIZIO VOICE: TELEFONA e INVIA SMS dal tuo computer a tariffe vantaggiose! Scopri come telefonare e videochiamare gratis da pc a pc.
http://voice.repubblica.it

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

#2 lore raw
In reply to quantika at katamail.com
Quoted 1 line

I'm new to this project and I'm trying to locate the flow of the

program, where it starts, where the main is, just to familiarize with the code. Can anyone give me some indication about where the flow starts ? The board I'm looking at is smdk2410, but any suggustion would be appreciate Thanks Bruno

replace head with start and it's done ;-)

1. cpu/arm920t/start.S
2. board/smdk2410/lowlevel_init.S
3. board/smdk2410/smdk2410.c

ciao

Signature · 4 lines
Marco Cavallini
Koan s.a.s. - Bergamo - ITALIA
Embedded and Real-Time Software Engineering
www.koansoftware.com    |    www.klinux.org