[U-Boot] [ELF_RELOC] [PATCH V2 2/2] edminiv2: add support for ELF relocations

Albert ARIBAUD albert.aribaud at free.fr
Fri Oct 8 13:46:15 CEST 2010


Le 08/10/2010 13:33, Prafulla Wadaskar a écrit :

>> -TEXT_BASE = 0x00100000
>> +# TEXT_BASE must equal the intended FLASH location of u-boot.
>> +TEXT_BASE = 0xfff90000
>> \ No newline at end of file
>
> ???

Oops. Missed that -- actually, forgot to checkpatch so maybe other 
errors/warnings may creep up that I will fix in V3.

>> diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h
>> index ccfc660..43e5e87 100644
>> --- a/include/configs/edminiv2.h
>> +++ b/include/configs/edminiv2.h
>> @@ -223,4 +223,9 @@
>>   #define CONFIG_SYS_RESET_ADDRESS	0xffff0000
>>   #define CONFIG_SYS_MAXARGS		16
>>
>> +/* additions for new relocation code, must be added to all boards */
>> +#define CONFIG_SYS_SDRAM_BASE		0
>> +#define CONFIG_SYS_INIT_SP_ADDR	\
>> +	(CONFIG_SYS_SDRAM_BASE + 0x1000 - CONFIG_SYS_GBL_DATA_SIZE)
>> +
>
> Orion5182 does have internal Securiy SRAM, you can use it here instead of using SDRAM

Thanks for the reminder. I'll give it a try later today.

> Regards..
> Prafulla . .

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list