[U-Boot] [PATCH 0/4] Convert MPC85xx platforms to a single linker script

Wolfgang Denk wd at denx.de
Tue Oct 14 01:36:46 CEST 2008


Dear Trent,

In message <Pine.LNX.4.64.0810131610000.3399 at t2.domain.actdsltmp> you wrote:
> 
> At this point all the mpc85xx linker scripts are exactly the same, except for
> one line that defines the flash bank size, so they are combined into one
> script in cpu/mpc85xx/u-boot.lds.  A common flash bank size that will work for
> all boards is used.  If a board in the future needs something different

Umm... This is not how it should be done.

U-Boot should *never* assume  static  flash  bank  sizes.  The  whole
design  is  based  on  the idea to automatically determine the actual
size of flash and RAM that  is  fit  on  a  specific  board,  and  to
auto-adjust for this.

There are many vendors out there who manufacture boards in  different
memory  configurations.  For  these it is essential that they can use
only one U-Boot image on all boards, no matter what the exact  memory
configuration of this board is.

I am aware that there are ports out there which violate this design
principle, but if we touch this area, thenplease only to make more
boards conformant, not to make things worse.

Thanks.

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
Voodoo Programming: Things programmers do that  they  know  shouldn't
work  but they try anyway, and which sometimes actually work, such as
recompiling everything.                             - Karl Lehenbauer


More information about the U-Boot mailing list