From: Wolfgang Denk Date: Thu, 15 May 2014 06:26:28 +0200 Subject: [U-Boot] [PATCH] arm: Allow u-boot to run from offset base address In-Reply-To: <1400105145-6628-1-git-send-email-drambo@broadcom.com> References: <1400105145-6628-1-git-send-email-drambo@broadcom.com> Message-ID: <20140515042628.5CEB038047D@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 Darwin Rambo, In message <1400105145-6628-1-git-send-email-drambo@broadcom.com> you wrote: > If an earlier loader stage requires an image header and a specific > offset, then u-boot's base address (CONFIG_SYS_TEXT_BASE) may be > advanced beyond an aligned address. In this case the relocation Sorry, I cannot parse that. CONFIG_SYS_TEXT_BASE is a compile time constant, it cannot be "advanced" by a loader. Do you mean that some loader loads U-Boot to an incorrect address? Well, in this case the loader should be fixed, or? > This change is done under CONFIG_ARM64 conditional compilation > because it has only been tested there and may not be appropriate > for other architectures. In any case, any such changes (if there should be agreement that they are actually useful) should be done in an architecture-neutral way. Implementing it for one specific architecture only is wrong. 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 First, we must do our own personal work, then we tend the necessary work of our family, then our community, then the world. - Lao-tzu