Skip to contentSkip to conversation

Software FPU emulation

DISCUSSION srinivas pulipati 2 participants 2 messages Feb 21, 2002

lore
Share & tools
lore
#0 lore raw

hi all,

i have ported linux-2.4.4 to my custmoboard based on mpc860. i got the bash prompt succesfully.

but is is crashing sometimes and giving FPU emulation., sig:8. sometimes working perfectly.

is it because of UPM programming problem or something else?

thanks
srinivas

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

98% certainty it is a memory (UPM) problem. You are probably randomly misreading an instruction as 0xFFxxxxxx which is a floating point instruction. This causes a FP emulation trap. If you look at where the trap occurred (SPR register SRR0) and look at the actual memory location in question with your debugger, you probably will not find a FP instruction in memory, which means it was misread.

gvb

Quoted 5 lines · srinivas pulipati

hi all,

i have ported linux-2.4.4 to my custmoboard based on mpc860. i got the bash prompt succesfully.

Quoted 9 lines

but is is crashing sometimes and giving FPU emulation., sig:8. sometimes working perfectly.

is it because of UPM programming problem or something else?

thanks
srinivas

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/