Dear "Eibach, Dirk",

In message <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to