From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Fri, 01 Oct 2010 07:25:39 +0200 Subject: [U-Boot] ARM relocation, probably trivial mistake In-Reply-To: <20100930174308.070ECD2B48C@gemini.denx.de> References: <4CA49746.2050301@emk-elektronik.de> <4CA4AEFF.3050101@denx.de> <20100930174308.070ECD2B48C@gemini.denx.de> Message-ID: <4CA570D3.9040406@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 Hello Wolfgang, Wolfgang Denk wrote: > Dear Heiko Schocher, > > In message <4CA4AEFF.3050101@denx.de> you wrote: >>> 1. should CONFIG_SKIP_RELOCATE_UBOOT be not defined anymore? >> If TEXT_BASE == relocation address it could be defined, >> never tested. > > We should point out that this is only intended (and allowed) for > boards where U-Boot gets loaded into RAM by some other means (like a > first stage boot loader, say when booting from NAND or SDCard). > > When booting from NOR or some other persistent memory TEXT_BASE will > point to that address range, and then it is obviously impossible to > use the same value as relocation address. Yes, you are right, that just work on boards, which use a preloader ... bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany