linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MPC5200 FEC problems
@ 2008-08-25 15:36 Gary Thomas
  2008-08-26  6:18 ` Wolfram Sang
  0 siblings, 1 reply; 2+ messages in thread
From: Gary Thomas @ 2008-08-25 15:36 UTC (permalink / raw)
  To: linuxppc-dev

I'm adding the Analogue & Micro Boa (MPC5200/B) platform to the
public 2.6.26 tree.  Under heavy network load (sometimes even
not so heavy!), I get this error:
   net eth0: FEC_IEVENT_RFIFO_ERROR
I've read the thread about how this leads to an incorrect call
to the PHY code in the ISR.  It's good to know that part of the
problem is being worked on.

My question is - what exactly does this error imply?  Looking at
the MPC5200 manual doesn't give much info - just that there was
a Rx FIFO error.

I'm also perplexed by the fact that I have two slightly different
Boa boards (same CPU rev, speed, etc).  About the only thing that's
different is the SDRAM setup.  One board is rock solid while the
other gets this error almost immediately.

Also, I sometimes get a Tx timeout on this platform (the one that
fails as above).
   net eth0: transmit timed out
Note that I don't have any trouble with this platform running RedBoot
or eCos, just Linux :-(

Here's the basic info on my platform:

root@ppc_target:~ cat /proc/cpuinfo
processor       : 0
cpu             : G2_LE
clock           : 396.000000MHz
revision        : 1.4 (pvr 8082 2014)
bogomips        : 49.40
timebase        : 24750000

Ideas?  Any help graciously accepted.

n.b. I'm not currently subscribed to this list, so please CC
me on any replies.

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: MPC5200 FEC problems
  2008-08-25 15:36 MPC5200 FEC problems Gary Thomas
@ 2008-08-26  6:18 ` Wolfram Sang
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2008-08-26  6:18 UTC (permalink / raw)
  To: Gary Thomas; +Cc: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1335 bytes --]

Hello Gary,

On Mon, Aug 25, 2008 at 09:36:07AM -0600, Gary Thomas wrote:

> I'm adding the Analogue & Micro Boa (MPC5200/B) platform to the
> public 2.6.26 tree.  Under heavy network load (sometimes even
> not so heavy!), I get this error:
>   net eth0: FEC_IEVENT_RFIFO_ERROR

Yeah, I know this one :(

> My question is - what exactly does this error imply?  Looking at
> the MPC5200 manual doesn't give much info - just that there was
> a Rx FIFO error.

In deed, the manual seems not very helpful. The description of the set FIFO
status bit did not help me that much.

> I'm also perplexed by the fact that I have two slightly different
> Boa boards (same CPU rev, speed, etc).  About the only thing that's
> different is the SDRAM setup.  One board is rock solid while the
> other gets this error almost immediately.

I'm not sure if this is really of importance, but do the boards have
different PHYs?

> Note that I don't have any trouble with this platform running RedBoot
> or eCos, just Linux :-(
Try this patch and please report if it worked for you:

http://www.nabble.com/-PATCH--MPC52XX:-Don't-touch-pipelining-for-MPC5200B-td19028341.html

All the best,

   Wolfram

-- 
  Dipl.-Ing. Wolfram Sang | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-26  6:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-25 15:36 MPC5200 FEC problems Gary Thomas
2008-08-26  6:18 ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).