From: Chris Date: Fri, 22 Aug 2014 03:49:27 +0000 (UTC) Subject: [U-Boot] newbie questions regarding some config options. References: <20110613155845.8E7548226D@gemini.denx.de> 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 Wolfgang Denk denx.de> writes: > > Dear PHIL.EDWORTHY renesas.com, > > In message eu.necel.com> you wrote: > > > > > > U-boot is typically stored in flash and one of the first things it > > does when executed is relocate to ram. CONFIG_SYS_TEXT_BASE is the > > relocation address. Typically, u-boot global data, heap and then > > This is completely wrong. The relocation address is determined > dynamically, depending on RAM size and a number of coinfigured > options. > > CONFIG_SYS_TEXT_BASE is the start address of the text segment when > execution starts - on ROM booting systems this is an address in ROM. > > > I am sure more experienced u-boot developers will correct me if I am wrong :) > > Indeed this was necessary. > > Best regards, > > Wolfgang Denk > Hello Wolfgang, is it safe to say that this is the base address of the flash memory, the CONFIG_SYS_TEXT_BASE? Of course if I boot from flash.. Say if my flash is in 0x10000000 for NCS0 of at91rm9200 as an example, CONFIG_SYS_TEXT_BASE = 0x10000000? Thanks Chris