public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Gerhard Jaeger <g.jaeger@sysgo.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] LXT971A PHY debugging on MPC8540 Custom Board
Date: Tue, 14 Jun 2005 08:39:47 +0200	[thread overview]
Message-ID: <200506140839.47413.g.jaeger@sysgo.com> (raw)
In-Reply-To: <772BCEF88A1DD91191F80011856715F303961E6B@zin24exm01.ap.mot.com>

On Monday 13 June 2005 19:55, Shirasat Girish-ags032 wrote:
> Hi ,
>    I have partially ported Uboot on one of our MPC8540 based custom boards.
> I am currently facing problems in bringing up the 10/100Mbps FEC 
> interface. We are using the LXT971A PHY for the FEC interface.
> Well the problem is that , the MAC is putting out the data but the PHY is
> failing to put the data on the line. The PHY is successfully able to auto-
> negotiate. The MAC putting out data was confirmed by the MAC debug 
> registers and by probing the Tx_EN,clock and TX_D lines.
>    I  carried out the MAC loop back test which passed . Then went on
> 
> for the PHY internal loop back test. Well, when the loop back is enabled the
> MAC fails to transmit the frame successfully. The thing confusing me is that
> why the MAC frame transmission is getting affected when i enable the PHY
> loopback test.
>  Any pointers will be very helpful.
> 
> Regards,
> Girish
> 
Hi,

as I'm also doing some work on a custom MPC8540 board with a LTX971, I noticed,
that the register definitions and masks for the status-register 2 in
cpu/mpc85xx/tsec.h are wrong, maybe this has also something to do with your
problem! The attached patch fixes that. 

Maybe Wolfgang will also put that to CVS, as this is an obvious bug!

regards,
Gerhard

-- 
Gerhard Jaeger <gjaeger@sysgo.com>            
SYSGO AG                      Embedded and Real-Time Software
www.sysgo.com | www.elinos.com | www.pikeos.com | www.osek.de 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpc85xx_tsec.patch
Type: text/x-diff
Size: 1119 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050614/49a25e41/attachment.patch 

  reply	other threads:[~2005-06-14  6:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-13 17:55 [U-Boot-Users] LXT971A PHY debugging on MPC8540 Custom Board Shirasat Girish-ags032
2005-06-14  6:39 ` Gerhard Jaeger [this message]
2005-06-21  7:07 ` [U-Boot-Users] [PATCH]Fix for LXT971PHY register definitions Gerhard Jaeger
2006-03-12 17:07   ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200506140839.47413.g.jaeger@sysgo.com \
    --to=g.jaeger@sysgo.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox