[U-Boot] [PATCH V2 1/4] Added documentation for CONFIG_SYS_TEXT_BASE.

Wolfgang Denk wd at denx.de
Wed Aug 24 21:12:02 CEST 2011


Dear Christopher Harvey,

In message <20110824183457.GB3070 at 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.


More information about the U-Boot mailing list