
Dear "Eibach, Dirk",
In message 48D3D52125C49B43AE880038E2E5314B025C3C@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