From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Tue, 19 Oct 2010 10:06:38 +0200 Subject: [U-Boot] [PATCH] arm926ejs, suen3: fix relocation issues In-Reply-To: References: <1287382386-6410-1-git-send-email-hs@denx.de> Message-ID: <4CBD518E.5020701@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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