From: Wolfgang Denk Date: Sat, 26 Jul 2008 14:49:34 +0200 Subject: [U-Boot-Users] Changing u-boot relocation scheme In-Reply-To: Your message of "Sat, 26 Jul 2008 02:06:36 EDT." Message-ID: <20080726124934.0F1B5248B9@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 In message you wrote: > > You are completely right. For the purposes of this discussion, this > is a powerpc-centric problem. The relocation code is written in > assembly and is processor specific. Let the ARM folks make sure ARM > relocation works (and I think it already does). Let the MIPS folks do > the same. Each arch has it's own set of CFLAGS and LDFLAGS needed to > produce a sane binary. They should be picked off and fixed one arch > at a time. Neither ARM nor MIPS do relocation. They link for a fixed address in RAM (which for example means that they cannot deal in a sane way with systems where the RAM size might change, not to mention issues with things like support for pRAM, pre-initialized framebuffers or shared log buffer which only work reasonably when you have relocation. 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 This is now. Later is later.