[U-Boot] [PATCH] arm926ejs, suen3: fix relocation issues

Heiko Schocher hs at denx.de
Tue Oct 19 10:06:38 CEST 2010


Helo Prafulla,

Prafulla Wadaskar wrote:
>> -----Original Message-----
>> From: Heiko Schocher [mailto:hs at denx.de] 
>> Sent: Monday, October 18, 2010 11:43 AM
>> To: u-boot at lists.denx.de
>> Cc: Heiko Schocher; Prafulla Wadaskar
>> Subject: [PATCH] arm926ejs, suen3: fix relocation issues
>>
> ...snip...
> 
>> diff --git a/include/configs/km_arm.h b/include/configs/km_arm.h
>> index faa0f50..9270296 100644
>> --- a/include/configs/km_arm.h
>> +++ b/include/configs/km_arm.h
>> @@ -182,6 +182,8 @@ int get_scl (void);
>>  
>>  /* additions for new relocation code, must be added to all boards */
>>  #define CONFIG_SYS_SDRAM_BASE		0x00000000
>> -#define CONFIG_SYS_INIT_SP_ADDR		(0x00000000 + 
>> 0x1000 - /* Fix this */ \
>> -					CONFIG_SYS_GBL_DATA_SIZE)
>> +/* Kirkwood has 2k of Security SRAM, use it for SP */
>> +#define CONFIG_SYS_INIT_SP_ADDR		0xC8012000
>> +/* Do early setups now in board_init_f() */
>> +#define CONFIG_BOARD_EARLY_INIT_F	1
> 
> Do you really need to 1 here ?

No, I fix this in v2.

> Also can you pls confirm that you are getting early console message as pointed by Eric Cooper
> http://lists.denx.de/pipermail/u-boot/2010-October/079545.html

Hmm.. don;t know if we can compare this, because the suen3 starts
from spi flash ... and I see this messages on the suen3 ... Maybe,
Eric (added to cc: ) should also try to do early things
(like kirkwood_mpp_conf()) in board_early_init_f() as I on the
suen3?

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list