[U-Boot] PowerPC 440EP hard-float

Wolfgang Denk wd at denx.de
Thu Nov 20 14:24:00 CET 2008


Dear "Eibach, Dirk",

In message <48D3D52125C49B43AE880038E2E5314B025C3C at SRV101.gdsys.de> you wrote:
> 
> I built a toolchain for PowerPC 440EP nad configured it for cpu 440fp
> with hard-float.

Shouldbe working fine. The ELDK "ppc_4xxFP" packages do the same.

> Building u-boot with this toolchain failed, because there is 
> 
> PLATFORM_CPPFLAGS += -DCONFIG_4xx -ffixed-r2 -mstring -msoft-float
> 
> in cpu/ppc4xx/config.mk.

This is no reason for any problems. As mentioned above, ELDK  in  the
ppc_4xxFP  configuration  (and  some  others)  support hardware FP as
well,  but  works  fine   with   U-Boot.   After   all,   U-Boot   is
self-contained.

> What is the best way to solve this?
> Possible solutions I see:
> - build a toolchain with different parameters
> - make msoft-float configurable in u-boot

3) fix your toolchain.

> OT: Is a 440fp toolchain with hard float a bad idea somehow? Has
> soft-float any advantages?

A 4xx FP toolchain is a perfectly good idea - that's why  we  support
such  a configuration in ppc_4xxFP with the ELDK. But it doesn't need
any changes to U-Boot.

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
I see that Microsoft's campaign  to  destroy  all  knowledge  of  any
operating   environment   but  its  own  environment-of-the-year  has
succeeded in creating a generation of users who don't understand  the
concept of a shell...
            -- L. Peter Deutsch in <m0x5jNX-000R2UC at lamp.aladdin.com>


More information about the U-Boot mailing list