From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Fri, 08 Oct 2010 13:46:15 +0200 Subject: [U-Boot] [ELF_RELOC] [PATCH V2 2/2] edminiv2: add support for ELF relocations In-Reply-To: References: <1286537041-23051-1-git-send-email-albert.aribaud@free.fr> <1286537041-23051-2-git-send-email-albert.aribaud@free.fr> Message-ID: <4CAF0487.7040200@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.