Monday, July 26, 2010

Code flow, Mem Configuration

We load image @0x80300000 in RAM using
mmcinit
fatload mmc 0 0x80300000 uImage.bin
bootm 0x80300000

We have our uImage.bin compiled and defined with a load addr and entry addr @0x80008000 using mkimage tool of u-boot.
So, when the image is loaded, the code starts its execution from addr @0x80008000.
Put a breakpoint @0x80008000, which defines  the first instrn. exec addr of uImage.bin.
This happens to be the code @
linux/arch/arm/boot/compressed/head.S, beginning at the label start:

No comments:

Post a Comment