[U-Boot] U-Boot execution sequence

Abraham Varricatt abraham.varricatt at googlemail.com
Thu Jan 23 13:40:13 CET 2014


On Thu, Jan 23, 2014 at 3:48 PM, JYOTI DUBEY <jyoti0801 at 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.


More information about the U-Boot mailing list