[U-Boot] U-Boot execution sequence

Can anyone tell how to understand the flow of u-boot source code? I am working on ARM processor and the board used is Nitrogen6X.

On Thu, Jan 23, 2014 at 3:48 PM, JYOTI DUBEY jyoti0801@gmail.com wrote:
Can anyone tell how to understand the flow of u-boot source code? I am working on ARM processor and the board used is Nitrogen6X.
Ideally, it would be best to have a JTAG debugger and step through the execution. A quick-and-dirty approach, is to sprinkle printf() statements after your serial console has been initialized.
Off-topic, but for sake of understanding u-boot in general, I'm using the gdb debugger and tracing over the sandbox build (it configures u-boot as a normal linux application). Alternatively, if you can figure out how to use qemu with ARM, that might give you a better idea for your board, instead of following what x86 does. Sadly, I couldn't get qemu-arm working with uboot even after months of trying. :(
-Abraham V.

a) step 1 - compile and build the bin / etf b) step 2 - create an asm - objdump -DS c) find the lds file d) locate uboot.map
start from __start. (keep an arm manual handy) & begin.
:)
On 1/23/14, JYOTI DUBEY jyoti0801@gmail.com wrote:
Can anyone tell how to understand the flow of u-boot source code? I am working on ARM processor and the board used is Nitrogen6X.

Have some boot flow png's long back with previous version (not the current) [1] I thought it could be a starter - not equivalently same. If possible better take this as a reference and start tagging around the source.
[1] http://jagannadhteki.blog.com/2014/01/23/u-boot-functional-flowarm/
thanks!
On Thu, Jan 23, 2014 at 6:10 PM, Mj Embd mj.embd@gmail.com wrote:
a) step 1 - compile and build the bin / etf b) step 2 - create an asm - objdump -DS c) find the lds file d) locate uboot.map
start from __start. (keep an arm manual handy) & begin.
:)
On 1/23/14, JYOTI DUBEY jyoti0801@gmail.com wrote:
Can anyone tell how to understand the flow of u-boot source code? I am working on ARM processor and the board used is Nitrogen6X.

while compiling I got an error System not configured - see README. SO how can I configure it for NItrogen6x board?
On Thu, Jan 23, 2014 at 8:38 PM, Jagan Teki jagannadh.teki@gmail.comwrote:
Have some boot flow png's long back with previous version (not the current) [1] I thought it could be a starter - not equivalently same. If possible better take this as a reference and start tagging around the source.
[1] http://jagannadhteki.blog.com/2014/01/23/u-boot-functional-flowarm/
thanks!
On Thu, Jan 23, 2014 at 6:10 PM, Mj Embd mj.embd@gmail.com wrote:
a) step 1 - compile and build the bin / etf b) step 2 - create an asm - objdump -DS c) find the lds file d) locate uboot.map
start from __start. (keep an arm manual handy) & begin.
:)
On 1/23/14, JYOTI DUBEY jyoti0801@gmail.com wrote:
Can anyone tell how to understand the flow of u-boot source code? I am working on ARM processor and the board used is Nitrogen6X.
-- Jagan.

On Fri, Jan 24, 2014 at 11:44 AM, JYOTI DUBEY jyoti0801@gmail.com wrote:
while compiling I got an error System not configured - see README. SO how can I configure it for NItrogen6x board?
Please elaborate the steps what you did?
On Thu, Jan 23, 2014 at 8:38 PM, Jagan Teki jagannadh.teki@gmail.com wrote:
Have some boot flow png's long back with previous version (not the current) [1] I thought it could be a starter - not equivalently same. If possible better take this as a reference and start tagging around the source.
[1] http://jagannadhteki.blog.com/2014/01/23/u-boot-functional-flowarm/
thanks!
On Thu, Jan 23, 2014 at 6:10 PM, Mj Embd mj.embd@gmail.com wrote:
a) step 1 - compile and build the bin / etf b) step 2 - create an asm - objdump -DS c) find the lds file d) locate uboot.map
start from __start. (keep an arm manual handy) & begin.
:)
On 1/23/14, JYOTI DUBEY jyoti0801@gmail.com wrote:
Can anyone tell how to understand the flow of u-boot source code? I am working on ARM processor and the board used is Nitrogen6X.
-- Jagan.

On Fri, Jan 24, 2014 at 4:14 AM, JYOTI DUBEY jyoti0801@gmail.com wrote:
while compiling I got an error System not configured - see README. SO how can I configure it for NItrogen6x board?
Please read chapter 4 from board/boundary/nitrogen6x/README
Regards,
Fabio Estevam
participants (5)
-
Abraham Varricatt
-
Fabio Estevam
-
Jagan Teki
-
JYOTI DUBEY
-
Mj Embd