public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] FEC problems on MPC5200
@ 2004-03-19 10:03 Pierre AUBERT
  2004-03-19 10:07 ` Jón Benediktsson
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Pierre AUBERT @ 2004-03-19 10:03 UTC (permalink / raw)
  To: u-boot

Hi everybody,

I've got some ethernet problems with a Lite5200.
During tftp transferts, I've got a lot of timeouts. I've put a network 
analyzer
on my ethernet, and I can see that all is ok on the server side (all the 
frames
are sent). It sounds like the Lite5200 missed some frames, because it 
doen't send
the  ACK.

Has somebody experienced same problems on a MPC5200 ?

Best regards.

Pierre

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

* [U-Boot-Users] FEC problems on MPC5200
  2004-03-19 10:03 [U-Boot-Users] FEC problems on MPC5200 Pierre AUBERT
@ 2004-03-19 10:07 ` Jón Benediktsson
  2004-03-19 11:31   ` Pierre AUBERT
  2004-03-19 10:46 ` Wolfgang Denk
  2004-03-19 11:06 ` R: " Figini Enzo
  2 siblings, 1 reply; 7+ messages in thread
From: Jón Benediktsson @ 2004-03-19 10:07 UTC (permalink / raw)
  To: u-boot


I see the same happen with my Lite5200.  I get frequent timeouts when
loading the kernel with TFTP.
It also happens when using the Motorola dbug boot monitor to load via TFTP.
Something seems to be wrong.
This happens very rarely when I am using our custom mpc823 board to load
from the same TFTP server,
but with Lite5200 it happens almost every time.

Regards,
Jon Benediktsson
Marel hf.

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

* [U-Boot-Users] FEC problems on MPC5200
  2004-03-19 10:03 [U-Boot-Users] FEC problems on MPC5200 Pierre AUBERT
  2004-03-19 10:07 ` Jón Benediktsson
@ 2004-03-19 10:46 ` Wolfgang Denk
  2004-03-24 14:37   ` Pierre AUBERT
  2004-03-19 11:06 ` R: " Figini Enzo
  2 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Denk @ 2004-03-19 10:46 UTC (permalink / raw)
  To: u-boot

In message <405AC56F.9020200@staubli.com> you wrote:
> 
> I've got some ethernet problems with a Lite5200.
...
> Has somebody experienced same problems on a MPC5200 ?

Yes, we see the same problem, and "bad length" errors. It  seems  the
problem  was  introduced  by  one  of  the  patches lately. We're in-
vestigating.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"Summit meetings tend to be like panda matings. The expectations  are
always high, and the results usually disappointing."   - Robert Orben

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

* R: [U-Boot-Users] FEC problems on MPC5200
  2004-03-19 10:03 [U-Boot-Users] FEC problems on MPC5200 Pierre AUBERT
  2004-03-19 10:07 ` Jón Benediktsson
  2004-03-19 10:46 ` Wolfgang Denk
@ 2004-03-19 11:06 ` Figini Enzo
  2 siblings, 0 replies; 7+ messages in thread
From: Figini Enzo @ 2004-03-19 11:06 UTC (permalink / raw)
  To: u-boot

I have the same problem with my board (using MPC8280), but I don't know if
is a problem of the network (sometimes also ping fails - the switchs/routers
are not configured very well, I think) and/or is a problem of driver.

Enzo

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

* [U-Boot-Users] FEC problems on MPC5200
  2004-03-19 10:07 ` Jón Benediktsson
@ 2004-03-19 11:31   ` Pierre AUBERT
  2004-03-19 15:27     ` Jón Benediktsson
  0 siblings, 1 reply; 7+ messages in thread
From: Pierre AUBERT @ 2004-03-19 11:31 UTC (permalink / raw)
  To: u-boot

J?n Benediktsson wrote:

>I see the same happen with my Lite5200.  I get frequent timeouts when
>loading the kernel with TFTP.
>It also happens when using the Motorola dbug boot monitor to load via TFTP.
>Something seems to be wrong.
>  
>
I also have the problem with dbug monitor. Is there any timeouts within 
Linux kernel ?

>This happens very rarely when I am using our custom mpc823 board to load
>from the same TFTP server,
>  
>
With other boards (based on MPC860T) we don't have any timeouts.

>but with Lite5200 it happens almost every time.
>
>Regards,
>Jon Benediktsson
>Marel hf.
>  
>
Regards

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

* [U-Boot-Users] FEC problems on MPC5200
  2004-03-19 11:31   ` Pierre AUBERT
@ 2004-03-19 15:27     ` Jón Benediktsson
  0 siblings, 0 replies; 7+ messages in thread
From: Jón Benediktsson @ 2004-03-19 15:27 UTC (permalink / raw)
  To: u-boot


Pierre AUBERT <p.aubert@staubli.com> wrote on 19.03.2004 11:31:38:

> J?n Benediktsson wrote:
>
> >I see the same happen with my Lite5200.  I get frequent timeouts when
> >loading the kernel with TFTP.
> >It also happens when using the Motorola dbug boot monitor to load via
TFTP.
> >Something seems to be wrong.
> >
> >
> I also have the problem with dbug monitor. Is there any timeouts within
> Linux kernel ?

I have not observed this problem when using tftp in a Linux bash shell.
By this I mean I run tftp from a bash shell, turn on trace and do a 'get'
command
for a fairly large file.  All the sends and acks match up and there is no
observed
delay in the transfer.

>
> >This happens very rarely when I am using our custom mpc823 board to load
> >from the same TFTP server,
> >
> >
> With other boards (based on MPC860T) we don't have any timeouts.
>
> >but with Lite5200 it happens almost every time.
> >
> >Regards,
> >Jon Benediktsson
> >Marel hf.
> >
> >
> Regards

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

* [U-Boot-Users] FEC problems on MPC5200
  2004-03-19 10:46 ` Wolfgang Denk
@ 2004-03-24 14:37   ` Pierre AUBERT
  0 siblings, 0 replies; 7+ messages in thread
From: Pierre AUBERT @ 2004-03-24 14:37 UTC (permalink / raw)
  To: u-boot

Hi everybody,

Wolfgang Denk wrote:

>In message <405AC56F.9020200@staubli.com> you wrote:
>  
>
>>I've got some ethernet problems with a Lite5200.
>>    
>>
>...
>  
>
>>Has somebody experienced same problems on a MPC5200 ?
>>    
>>
>
>Yes, we see the same problem, and "bad length" errors. It  seems  the
>problem  was  introduced  by  one  of  the  patches lately. We're in-
>vestigating.
>
>
>Best regards,
>
>Wolfgang Denk
>
>  
>
I've made a lot of tries with the MPC5200 FEC. It appears that timeouts 
occurs
because some ACK frames aren't sent by the MPC5200 (but all is OK in 
mpc5xxx_fec_send).

The problem disappears if I suppress the full duplex (in 
fec->eth->x_cntrl and in the reg 0 of the LXT971A).
I can submit a patch.

But I have another question: if I suppress all the MII initialization 
sequence in cpu/mpc5xxx/fec.c, the LXT971A
reads its configuration from hardware and network is working fine at 10M 
and 100M on my Lite5200. The
auto-negociation works fine. Then, do we need to keep this (broken ?) 
init sequence ?
Is there something I have missed ?

Best regards

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

end of thread, other threads:[~2004-03-24 14:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-19 10:03 [U-Boot-Users] FEC problems on MPC5200 Pierre AUBERT
2004-03-19 10:07 ` Jón Benediktsson
2004-03-19 11:31   ` Pierre AUBERT
2004-03-19 15:27     ` Jón Benediktsson
2004-03-19 10:46 ` Wolfgang Denk
2004-03-24 14:37   ` Pierre AUBERT
2004-03-19 11:06 ` R: " Figini Enzo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox