[PATCH] Driver for FECs on motorola DUET (87x/88x)

Joakim Tjernlund joakim.tjernlund at lumentis.se
Sat May 15 00:22:34 EST 2004


> Hi there,
>
> After our little talk in IRC I've ported the driver to 2.6
> and have gotten as far as the loading of init (which promptly crashes).
>
> I think I am very near to making it work...
>
> I have a BDI2000 and I'm not afraid to use it, but I don't know
> what to look for?
>
> Any mm hackers over there have any idea?

To start with, I think you should fix the Machine Check
exception in head_8xx.S to get proper error reporting.
I think it should be:
	. = 0x200
MachineCheck:
 	EXCEPTION_PROLOG
 	mfspr	r4,DAR
 	stw	r4,_DAR(r11)
 	mfspr	r5,DSISR
 	stw	r5,_DSISR(r11)
 	addi	r3,r1,STACK_FRAME_OVERHEAD
 	EXC_XFER_EE(0x200, MachineCheckException)

Does init crash or just hang?
If it hangs, it may be a TLB problem.


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





More information about the Linuxppc-embedded mailing list