From mboxrd@z Thu Jan 1 00:00:00 1970
From: Pierre AUBERT
Date: Wed, 24 Mar 2004 15:37:42 +0100
Subject: [U-Boot-Users] FEC problems on MPC5200
In-Reply-To: <20040319104657.27D23C0655@atlas.denx.de>
References: <20040319104657.27D23C0655@atlas.denx.de>
Message-ID: <40619D36.6080601@staubli.com>
List-Id:
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
To: u-boot@lists.denx.de
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