From: Wolfgang Denk Date: Thu, 30 Sep 2010 19:43:08 +0200 Subject: [U-Boot] ARM relocation, probably trivial mistake In-Reply-To: <4CA4AEFF.3050101@denx.de> References: <4CA49746.2050301@emk-elektronik.de> <4CA4AEFF.3050101@denx.de> Message-ID: <20100930174308.070ECD2B48C@gemini.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 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. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de A man is not complete until he is married -- then he is finished.