On 08-Mar-00 Kevin D. Kissell wrote:
> Anyway, the my CPU detection would certainly not have worked for
> a Mobilon. But it ought to have worked for a DECstation. What
> CPU does it have? In addition to the cpu_probe() routine itself,
> arch/mips/kernel/cpu_probe.c contains a table that describes the
> CPU's that are recognized, and in principle it "knows" all the CPUs
> that were recognized by the old assembler code in head.S, plus
> a couple more (R4300 and MIPS 4Kc/5Kc). The problem may
> be a CPU that is mis-identified, or it may be that the options in the
> table associated with that CPU are incorrectly defined. Please
> let me know what CPU and "PrID" the system has.
Been there, done that. It was just a missing case statement that got lost during
the merge :-)
For the records (Sharp Mobilon HC-4500):
Philips PR31700 (identical to Toshiba TMPR3912) @ 73.7 MHz, Implementation 0x22
(same as R460), Revision 0x10 (does anybody know what R460 have?).
Based on an R300A core with some ISA-II extensions, 1KB instruction cache, and
4KB write-through data cache, 32 TLB entries.
Back on topic:
My Mobilon dies horribly with the screen going blank and even a soft reset
doesn't revive it. All that helps is to remove all batteries. No error messages
can be seen.
My DS 5000/133 (R3000A) with FPU disabled and FPU emulation shows:
Illegal instruction 00000034 at 801ce924, ...
801ce920 b dsemul_insns
801ce928 b dsemul_cpc
Looks like your trick in mips_dsemul() doesn't work too well for ISA-I CPUs. Do
you have an idea for an alternative?