Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Strange MC8260 FCC Ethernet problems ...



Hi Folks,

I've been trying to get NetBSD going on an SBC8260 board
with some success, but I'm having trouble getting the FCC
ethernet to work completely - transmit works, but
receive does not.


Here's a typical Rx BD buffer -

this one's from a 64 byte broadcast ping packet -
I've pre-filled all the mbufs with a '0xaa' fill
pattern so that we can see how much data really
gets put in the buffer -

memory buffer 0x64e800 - length 64 bytes
ff ff ff ff ff ff ff ff  ff ff 00 04 75 f6 b3 f8
08 00 45 00 00 54 d0 76  00 00 40 01 96 32 0a 00
00 01 0a 00 aa aa aa aa  aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa
aa aa aa aa aa aa

in this case, as you can see there's only 36 bytes
in there.

A larger packet looks like -

memory buffer 0x649000 - length 229
ff ff ff ff ff ff ff ff  ff ff 00 04 75 f6 b3 f8
08 00 45 00 00 d3 7a 86  00 00 40 11 ea 94 0a 00
00 01 0a ff aa aa aa aa  aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa
aa aa aa aa aa aa aa aa  aa aa aa aa aa aa aa aa
aa aa aa aa aa

Again with only 36 bytes.

When I check the status of the buffers I see that
RXINT | RXFIRST | RXLAST | RXLENERR are set.

FCC ethernet controller setting for max frame length
'mflr' is 1518, so the length error seems bogus.

 
Any help/advice you folks could provide would be
greatly appreciated...

Cheers,

Andrew.

Attachment: pgp3632YQnr1M.pgp
Description: signature



Home | Main Index | Thread Index | Old Index