From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Fri, 14 Mar 2014 15:47:35 +0100 Subject: [U-Boot] Relocation In-Reply-To: <1394804314090-175974.post@n7.nabble.com> References: <1394804314090-175974.post@n7.nabble.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi mahsmak, On Fri, 14 Mar 2014 06:38:34 -0700 (PDT), mahsmak wrote: > Hi, > > Can anyone please explain how relocation address is calculated in uboot ? U-Boot tries to relocate itself as high in RAM as possible so that the lower area is available to e.g. the Linux kernel it will chainload. Therefore, the usual process is that U-Boot first reserves whatever amount of memory it needs at end of RAM, then relocates itself just below that. > Also, I want to know whether relocation will happen or not when uboot is > running from RAM already? If yes, then can it be disabled ? Relocation will always happen, and there is no provision for avoiding it. > Thank you, Amicalement, -- Albert.