From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Wed, 24 Aug 2011 21:12:02 +0200 Subject: [U-Boot] [PATCH V2 1/4] Added documentation for CONFIG_SYS_TEXT_BASE. In-Reply-To: <20110824183457.GB3070@harvey-pc.matrox.com> References: <20110707142144.GA5438@harvey-pc.matrox.com> <20110707142627.GB5438@harvey-pc.matrox.com> <4E3A3A31.5050908@aribaud.net> <20110824183457.GB3070@harvey-pc.matrox.com> Message-ID: <20110824191202.3A5DA11F9E78@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 Christopher Harvey, In message <20110824183457.GB3070@harvey-pc.matrox.com> you wrote: > > > > +- CONFIG_SYS_TEXT_BASE: > > > + Is the start address of the u-boot code. > > > + This value can be in ROM space since u-boot can startup from > > > + within ROM. This value has nothing to do with the relocation > > > + destination in RAM. > > > + > > > - CONFIG_SYS_MBIO_BASE: > > > Physical start address of Motherboard I/O (if using a > > > Cogent motherboard) > > > > Applied to u-boot-arm/master (with 3 trailing whitespaces fixed), thanks! ... > I'm curious, this one never went in. I'd like to know if I'm > not understanding CONFIG_SYS_TEXT_BASE completely. I can't see it in Albert's u-boot-arm/master branch, either. ...and the text is actually wrong. What is the "start address"? I would say that "_start" defines the start address, i. e. the entry point into the U-Boot code where the CPU starts execution after a reset. But this is on most systems NOT CONFIG_SYS_TEXT_BASE. CONFIG_SYS_TEXT_BASE is the start address of the text segment. - as the name suggests. Guess that should be fixed... 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 The only time the world beats a path to your door is when you are in the bathroom.