[U-Boot] Trying to understand ARM926EJS/start.S

Albert ARIBAUD albert.aribaud at free.fr
Sun Oct 31 00:02:04 CEST 2010


Le 30/10/2010 23:56, Albert ARIBAUD a écrit :

> after the loop is
> done, I think "adr r0, _start" will still give us the source start
> address but _TEXT_BASE will contain the target start address -- though
> at this time of the evening I'd want to be careful about that.

Scratch that. After the loop, the _TEXT_BASE of the target location will 
contain the target _start, but the _TEXt_BASE of relocate_code() will 
keep on containing the source _start. Really time I went to sleep.

Apologies,
-- 
Albert.


More information about the U-Boot mailing list