[Buildroot] building ARM toolchain with nofpu
murpme at gmail.com
Mon Feb 5 09:26:55 UTC 2007
I don't think that the NWFPE stuff is linked into the u-boot code
automatically. The build instructions in the u-boot tree are very
explicit about using -msoft-float.
When I build u-boot with a buildroot toolchain based on gcc 3.4.3 with
no fpu support the bootloader works as it should.
When I build u-boot with fpu support in the toolchain and I remove the
-msfot-float option according to your suggestion, the bootloader
crashes almost immediately. It may be related to NAND access but
could also be due to the printouts (printf can use float ops).
On 2/1/07, Ulf Samuelsson <ulf at atmel.com> wrote:
> Michel Benoit wrote:
> > Thanks that worked!
> > On 2/1/07, Yann E. MORIN <yann.morin.1998 at anciens.enib.fr> wrote:
> >> Hello all!
> >> Michel, Carl.
> >> On Thursday 01 February 2007 010, Michel Benoit wrote:
> >>> I'm trying to build a toolchain with soft floating point enabled for
> >>> ARM arm26t target platform. I'm doing this in order to build u-boot
> >>> for my target.
> >> [--SNIP--]
> You can build u-boot with a NWFPE compiler
> if you just remove the "-msoft-float" from cpu/arm926ejs/config.mk and
> from cpu/arm926ejs/at91sam926x/config.mk
> That is what I do in my buildroot (That part yet to be submitted).
> Best Regards,
> Ulf Samuelsson
> ulf at atmel.com
> GSM: +46 (706) 22 44 57
> Tel: +46 (8) 441 54 22
> Fax: +46 (8) 441 54 29
> Mail: Box 2033 174 02 Sundbyberg
> Visit: Kavallerivägen 24
> 174 58 Sundbyberg'
More information about the buildroot