From: Wolfgang Denk Date: Mon, 13 Jun 2011 17:58:45 +0200 Subject: [U-Boot] newbie questions regarding some config options. In-Reply-To: References: Message-ID: <20110613155845.8E7548226D@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 PHIL.EDWORTHY at renesas.com, In message 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 -- 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 person who is more than casually interested in computers should be well schooled in machine language, since it is a fundamental part of a computer. -- Donald Knuth