[U-Boot] [PATCH] Switch from archive libraries to partial linking

Scott Wood scottwood at freescale.com
Tue Jan 25 21:37:40 CET 2011


On Tue, 25 Jan 2011 21:19:19 +0100
Wolfgang Denk <wd at denx.de> wrote:

> Dear Scott Wood,
> 
> In message <20110125140547.2825fdad at udp111988uds.am.freescale.net> you wrote:
> >
> > On cores that have FP (at least those that support the FPU POST, and
> > which are currently having problems), use hard float, enable
> > MSR[FP] or equivalent, and let GCC use FP for various tasks if it
> > wants.  This shouldn't involve much more complexity than adding a
> > small amount of init, which you'd need for the POST anyway.
> > 
> > On cores that don't have FP, use soft float, and don't include
> > the FPU POST code.  This should not be any different than today, except
> > for adding another compiler flag that depends on the build target.
> 
> And why exactly should we do all this,

To fix the FPU POST build errors.

Do you have a simpler way to do this?  Note that for any board that
doesn't currently have a problem, "all this" means no change at all.

And for those that do have a problem, the change is pretty minor.

> given the fact that there are
> no intentions to work with floating point data in U-Boot?

FPU POST doesn't count?

Or are you saying FPU POST should be removed?

-Scott



More information about the U-Boot mailing list