Want to study U-Boot code
Hi, List
Is there a book or web document to help start to understand how U-Boot works?
Thanks!
Signature · 2 lines
woody I can't go back to yesterday - because I was a different person then.
Dear Woody Wu,
Quoted 4 lines
Hi, List
Is there a book or web document to help start to understand how U-Boot works?
There's a doc/ directory in the u-boot sourcecode.
Quoted 1 line
Thanks!
Best regards,
Marek Vasut
Quoted 9 lines · Marek Vasut
Dear Woody Wu,
Quoted 4 lines
Hi, List
Is there a book or web document to help start to understand how U-Boot works?
There's a doc/ directory in the u-boot sourcecode.
Is there a guide/suggestion to the reading order of these docs? You know, there is not a index file. Thanks.
Signature · 2 lines
woody I can't go back to yesterday - because I was a different person then.
Dear Woody Wu,
Quoted 5 lines · Marek Vasut
Quoted 4 lines
Dear Woody Wu,
Quoted 2 lines
Hi, List
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Is there a book or web document to help start to understand how U-Boot works?
There's a doc/ directory in the u-boot sourcecode.
Is there a guide/suggestion to the reading order of these docs? You know, there is not a index file. Thanks.
The question is -- what do you want to do? If "Study u-boot code" is the answer, just dive in ;-)
Best regards,
Marek Vasut
? 2013-1-25 PM7:35?"Marek Vasut" <[email protected]>???
Quoted 9 lines
Dear Woody Wu,
Quoted 6 lines · Marek Vasut
Quoted 5 lines
Dear Woody Wu,
Quoted 3 lines
Hi, List
Is there a book or web document to help start to understand how
U-Boot
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
works?
There's a doc/ directory in the u-boot sourcecode.
Is there a guide/suggestion to the reading order of these docs? You know, there is not a index file. Thanks.
The question is -- what do you want to do? If "Study u-boot code" is the
answer,
Quoted 4 lines
just dive in ;-)
Best regards,
Marek Vasut
I want to firstly get a picture to basically understand how u-boot work, especially on an ARM9 based board. I think not everyone who want to understand u-boot has to read the full code. Thank.
Dear Woody Wu,
Quoted 4 lines · In message <CAAsE_ue4VffAioQWzHPpyOZmzoFk9E5S7jj2+2BZuiK=C5yXtA@mail.gmail.com>…
I want to firstly get a picture to basically understand how u-boot work, especially on an ARM9 based board. I think not everyone who want to understand u-boot has to read the full code. Thank.
This depends on your definition of "understanding". On a highlevel, you might start with reaing and digesting the manual, eventually trying out how U-Boot works on some (real or emulated) board.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Fascinating is a word I use for the unexpected. -- Spock, "The Squire of Gothos", stardate 2124.5
Quoted 11 lines · Wolfgang Denk
Dear Woody Wu,
Quoted 4 lines · In message <CAAsE_ue4VffAioQWzHPpyOZmzoFk9E5S7jj2+2BZuiK=C5yXtA@mail.gmail.com>…
I want to firstly get a picture to basically understand how u-boot work, especially on an ARM9 based board. I think not everyone who want to understand u-boot has to read the full code. Thank.
This depends on your definition of "understanding". On a highlevel, you might start with reaing and digesting the manual, eventually trying out how U-Boot works on some (real or emulated) board.
if i can jump in, a good way to start playing is to configure and
build for the "sandbox" architecture so you can run it on your x86 system. for the benefit of a couple friends, i whipped together a wiki page for that here:
http://www.crashcourse.ca/wiki/index.php/U-Boot_sandbox
very simple but enough to get you started, and you can match up
running the commands with the underlying code.
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================? 2013-1-26 AM5:27?"Robert P. J. Day" <[email protected]>???
Quoted 6 lines · Wolfgang Denk
Quoted 4 lines
Dear Woody Wu,
In message <CAAsE_ue4VffAioQWzHPpyOZmzoFk9E5S7jj2+2BZuiK=
Quoted 14 lines · [email protected]> you wrote:
Quoted 8 lines
Quoted 4 lines
I want to firstly get a picture to basically understand how u-boot work, especially on an ARM9 based board. I think not everyone who want to understand u-boot has to read the full code. Thank.
This depends on your definition of "understanding". On a highlevel, you might start with reaing and digesting the manual, eventually trying out how U-Boot works on some (real or emulated) board.
if i can jump in, a good way to start playing is to configure and
build for the "sandbox" architecture so you can run it on your x86 system. for the benefit of a couple friends, i whipped together a wiki page for that here:
Quoted 6 lines
http://www.crashcourse.ca/wiki/index.php/U-Boot_sandbox
very simple but enough to get you started, and you can match up
running the commands with the underlying code.rday
Sandbox looks amazing! Thanks share me with this info. But i still wondering that if u-boot doesnt have any book or document explaining how it work and how it organized, how pepople can join its development?
Quoted 10 lines
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.caTwitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday========================================================================
Quoted 24 lines · Woody Wu
? 2013-1-26 AM5:27?"Robert P. J. Day" <[email protected]>???
Quoted 6 lines · Wolfgang Denk
Quoted 4 lines
Dear Woody Wu,
In message <CAAsE_ue4VffAioQWzHPpyOZmzoFk9E5S7jj2+2BZuiK=
Quoted 16 lines · C5yXtA at mail.gmail.com> you wrote:
Quoted 8 lines
Quoted 4 lines
I want to firstly get a picture to basically understand how u-boot work, especially on an ARM9 based board. I think not everyone who want to understand u-boot has to read the full code. Thank.
This depends on your definition of "understanding". On a highlevel, you might start with reaing and digesting the manual, eventually trying out how U-Boot works on some (real or emulated) board.
if i can jump in, a good way to start playing is to configure and
build for the "sandbox" architecture so you can run it on your x86 system. for the benefit of a couple friends, i whipped together a wiki page for that here:
Quoted 9 lines
Quoted 4 lines
very simple but enough to get you started, and you can match up
running the commands with the underlying code.rday
Sandbox looks amazing! Thanks share me with this info. But i still wondering that if u-boot doesnt have any book or document explaining how it work and how it organized, how pepople can join its development?
Hello Woody,
I recommend you to start with the README file since it gives you a high level overview of U-Boot and some very good specifics too.
Since you are asking about U-Boot source code organization specifically, you can take a look at the "Directory Hierarchy" section of the README file.
But as others stated before, you should first narrow your search to an area that interests you. I found that "scratching your own itch" is the best way to learn.
There is no documentation that can replace the source code itself, remember that a good documentation shouldn't say how thinks are made (for that you have the code)
but why things were made in a certain way and the design decisions behind that.
Finally, if you think that the documentation is not enough, feel free to send patches to improve that :-)
As Confusios said "I heard and I forget. I see and I remember. I do and I understand"
Hope it helps,
Javier
Dear Javier Martinez Canillas,
Quoted 5 lines · In message <CABxcv=nAzHp-Mughq_t8eO9LnE0+9ADErLpBJhXmRNVgznKN8Q@mail.gmail.com>…
There is no documentation that can replace the source code itself, remember that a good documentation shouldn't say how thinks are made (for that you have the code)
but why things were made in a certain way and the design decisions behind that.
...and at least the most important design rules are documented on the U-Boot web page...
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The average woman would rather have beauty than brains, because the average man can see better than he can think.
My thanks for your saying, Javier. I will be starting from reading the README and begin search through the code. When I get further question, I will come back here. Thahks again.
-woody
Quoted 59 lines · Javier Martinez Canillas
Quoted 24 lines · Woody Wu
??? 2013-1-26 AM5:27???"Robert P. J. Day" <[email protected]>?????????
Quoted 6 lines · Wolfgang Denk
Quoted 4 lines
Dear Woody Wu,
In message <CAAsE_ue4VffAioQWzHPpyOZmzoFk9E5S7jj2+2BZuiK=
Quoted 16 lines · C5yXtA at mail.gmail.com> you wrote:
Quoted 8 lines
Quoted 4 lines
I want to firstly get a picture to basically understand how u-boot work, especially on an ARM9 based board. I think not everyone who want to understand u-boot has to read the full code. Thank.
This depends on your definition of "understanding". On a highlevel, you might start with reaing and digesting the manual, eventually trying out how U-Boot works on some (real or emulated) board.
if i can jump in, a good way to start playing is to configure and
build for the "sandbox" architecture so you can run it on your x86 system. for the benefit of a couple friends, i whipped together a wiki page for that here:Quoted 9 lines
Quoted 4 lines
very simple but enough to get you started, and you can match up
running the commands with the underlying code.rday
Sandbox looks amazing! Thanks share me with this info. But i still wondering that if u-boot doesnt have any book or document explaining how it work and how it organized, how pepople can join its development?
Hello Woody,
I recommend you to start with the README file since it gives you a high level overview of U-Boot and some very good specifics too.
Since you are asking about U-Boot source code organization specifically, you can take a look at the "Directory Hierarchy" section of the README file.
But as others stated before, you should first narrow your search to an area that interests you. I found that "scratching your own itch" is the best way to learn.
There is no documentation that can replace the source code itself, remember that a good documentation shouldn't say how thinks are made (for that you have the code)
but why things were made in a certain way and the design decisions behind that.Finally, if you think that the documentation is not enough, feel free to send patches to improve that :-)
As Confusios said "I heard and I forget. I see and I remember. I do and I understand"
Hope it helps,
Javier
Signature · 2 lines
woody I can't go back to yesterday - because I was a different person then.