[U-Boot] Whose responsibility is it to enable FPU?

Aggrwal Poonam-B10812
2010-06-18T04:17:27Z

> -----Original Message-----
> From: u-boot-bounces at lists.denx.de
[mailto:u-boot-bounces at lists.denx.de]
> On Behalf Of gnemas at gmail.com
> Sent: Tuesday, June 15, 2010 12:32 AM
> To: u-boot at lists.denx.de
> Subject: [U-Boot] Whose responsibility is it to enable FPU?
>
> I built u-boot for a 440EPx board derived from the sequoia
configuration.
>
> I am using an FPU-enabled gcc cross compiler.
>
> U-Boot runs fine and successfully boots my operating system (Linux and
> uClibc-based root filesystem).
>
> However, I was having a problem running busybox that I traced to
errors
> occurring executing setjmp, which attempts to save floating point
> registers.
>
> Then I realized that the FPU was not enabled in the MSR or in the ccr0
> register.
>
> Have I misconfigured something, or should I go ahead and add code to
u-
> boot to enable the FPU?
Ideally this must be done in kernel somewhere.
>
> Thanks,
>
> Gregg