confusion about relocation (ARM)

Eric Bénard eric at eukrea.com
Fri Jan 1 15:36:29 EST 2010


Hi Matthias,

Le 01/01/2010 20:48, Matthias Kaehlcke a écrit :
> a comment in start_barebox() says 'We are running from RAM now', so i
> deduced SDRAM must work. but after having a look at start-arm.S i'm a
> little bit confused. as far as i understand the barebox code is copied
> to RAM in copy_loop(). what i don't see is where the program counter
> is set to the address in RAM?
>
in arch/arm/cpu/start-arm.S @ line 245 :
         ldr     pc, _start_armboot

Eric



More information about the barebox mailing list