[U-Boot] How does u-boot know where to put its start code?

Rogan Dawes rogan at dawes.za.net
Tue Apr 19 23:13:23 CEST 2011


Hi folks,

I'm trying to understand a bit more about how u-boot creates the image,
such that the CPU reset vector is pointing to the right piece of code
when it is reset.

i.e. my DNS323 (Orion5x) has a reset vector of 0xffff0000. But for the
life of me, I can't find anywhere that actually references that value to
place the start code at that point.

I'm basically trying to make sure that my CONFIG_SYS_TEXT_BASE is
correct (the address in the flash to which I write the whole u-boot.bin
file, right?.

Thanks

Rogan


More information about the U-Boot mailing list