dan at embeddededge.com
Fri Aug 6 22:38:34 EST 2004
On Aug 6, 2004, at 7:22 AM, Ralph Siemsen wrote:
> This could also be a floating point issue.
I doubt it. The processor in question is an 8270, which
has an FPU.
> Most code compiled against
> libc will try to "reset" the floating point state upon startup. This
> will cause a fault if you do not have a kernel floating point emulator
> of some sort loaded to handle it.
On the MPC8xx, which does not have a floating point unit,
there is still sufficient support in the kernel to trap and emulate
FPU reset and context save/restore for this purpose. You only
need the CONFIG_MATH_EMULATION is you intend to
really do floating point arithmetic.
> (Even though init doesn't use any
> floating point itself). So as a quick test try building your kernel
> with CONFIG_MATH_EMULATION=y
This should not be used with any processor that has hardware
floating point. In the rare cases where you may actually be
utilizing IEEE trap conditions, these functions could get in the
way and produce erroneous results.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded