public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] LXT971A PHY debugging on MPC8540 Custom Board
@ 2005-06-13 17:55 Shirasat Girish-ags032
  2005-06-14  6:39 ` Gerhard Jaeger
  2005-06-21  7:07 ` [U-Boot-Users] [PATCH]Fix for LXT971PHY register definitions Gerhard Jaeger
  0 siblings, 2 replies; 4+ messages in thread
From: Shirasat Girish-ags032 @ 2005-06-13 17:55 UTC (permalink / raw)
  To: u-boot

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

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

* [U-Boot-Users] LXT971A PHY debugging on MPC8540 Custom Board
  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
  2005-06-21  7:07 ` [U-Boot-Users] [PATCH]Fix for LXT971PHY register definitions Gerhard Jaeger
  1 sibling, 0 replies; 4+ messages in thread
From: Gerhard Jaeger @ 2005-06-14  6:39 UTC (permalink / raw)
  To: u-boot

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 

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

* [U-Boot-Users] [PATCH]Fix for LXT971PHY register definitions
  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
@ 2005-06-21  7:07 ` Gerhard Jaeger
  2006-03-12 17:07   ` Wolfgang Denk
  1 sibling, 1 reply; 4+ messages in thread
From: Gerhard Jaeger @ 2005-06-21  7:07 UTC (permalink / raw)
  To: u-boot

Hi,

seems my previous patch got somehow lost, so let's try again.
Ciao,
Gerhard


CHANGELOG:
* Patch by Gerhard Jaeger, 21-June-2005:
   Fixes wrong status register 2 definitions for LTX971 phy
   handling on mpc85xx boards.

Patch is attached...

-- 
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/20050621/eeb1070b/attachment.patch 

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

* [U-Boot-Users] [PATCH]Fix for LXT971PHY register definitions
  2005-06-21  7:07 ` [U-Boot-Users] [PATCH]Fix for LXT971PHY register definitions Gerhard Jaeger
@ 2006-03-12 17:07   ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2006-03-12 17:07 UTC (permalink / raw)
  To: u-boot

In message <200506210907.19376.g.jaeger@sysgo.com> you wrote:
>
> CHANGELOG:
> * Patch by Gerhard Jaeger, 21-June-2005:
>    Fixes wrong status register 2 definitions for LTX971 phy
>    handling on mpc85xx boards.

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Every revolutionary idea - in science, politics, art, or  whatever  -
evokes three stages of reaction in a hearer:
  1. It is completely impossible - don't waste my time.
  2. It is possible, but it is not worth doing.
  3. I said it was a good idea all along.

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

end of thread, other threads:[~2006-03-12 17:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2005-06-21  7:07 ` [U-Boot-Users] [PATCH]Fix for LXT971PHY register definitions Gerhard Jaeger
2006-03-12 17:07   ` Wolfgang Denk

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