[U-Boot] question about TEXT_BASE in U-boot

tike64 at gmail.com tike64 at gmail.com
Mon Dec 15 07:53:13 CET 2008


wangrui wrote:
> After power up board, CPU will execute the instruction store at 0x0 (ROM
> flash), and I download u-boot
> to ROM flash (start from 0x0) so that the instruction store at 0x0 is 
> "a0f00000: ea000014 b a0f00058 <reset>"
> 
> Then program will jump to 0xa0f00058 (SDRAM)...

No, it does not. b is a relative branch and causes a jump to 0xa0f00058 
only if you execute it at 0xa0f00000. You would make yourself a big 
favor by familiarizing yourself with ARM instruction set.

--

Timo



More information about the U-Boot mailing list