public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ben Warren <bwarren@qstreams.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Debugging 85xx eTSEC's
Date: Fri, 26 Oct 2007 17:48:40 -0400	[thread overview]
Message-ID: <472260B8.2050109@qstreams.com> (raw)
In-Reply-To: <f87675ee0710261427nc86628at4c89e95053eb5cee@mail.gmail.com>

robert lazarski wrote:
> Hi all,
>
> Using u-boot from the latest git, I'm trying to debug our phy's on our
> custom 8548 board. Our eTSEC0 / eTSEC1 are mavell 88E1121 and eTSEC2 /
> eTSEC3 are 88E1111 - I'm trying to debug eTSEC2 since the 88E1111
> seems to be supported by u-boot. I get this output from the serial
> port in debug mode:
>
> eTSEC1 is in sgmii mode.
> eTSEC2 is in sgmii mode.
> eTSEC3 is in sgmii mode.
> eTSEC4 is in sgmii mode.
>
>   
Sorry, can't speak to this, except that there's typically a single 
register for each interface where you choose between GMII, SGMII, RGMII 
etc. Maybe the eTSEC defaults to serial gigabit. The code will tell you...
> Net:   eTSEC0: PHY is Unknown/Generic PHY (ffffffff)
> eTSEC1: PHY is Unknown/Generic PHY (ffffffff)
> eTSEC2: PHY is Unknown/Generic PHY (ffffffff)
> eTSEC3: PHY is Unknown/Generic PHY (ffffffff)
> eTSEC0, eTSEC1, eTSEC2, eTSEC3
>
> Where 'is in sgmii mode' comes from standard 85xx stuff: I can't ping
> when setting ethact to be eTSEC2, and I get this when running 'mii
> info'  :
>
> => mii info
> PHY_PHYIDR2 @ 0x0 = 0xffff
> PHY_PHYIDR2 @ 0x1 = 0xffff
> PHY_PHYIDR2 @ 0x2 = 0xffff
> PHY_PHYIDR2 @ 0x3 = 0xffff
> Can't read PHY at address 4
> ...
>
>   
Sorry if this seems like an obnoxious question, but are these the 
addresses your PHYs are wired to? Are you sure the PHYs are powered up 
properly? It looks like the MDIO controller doesn't see anything when it 
polls the devices. Double check your schematic and maybe probe the MDIO 
bus when you issue the 'mii info' command. MDIO is a lot like I2C 
(pretty low speed serial, easy to probe).

regards,
Ben

  reply	other threads:[~2007-10-26 21:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-26 21:27 [U-Boot-Users] Debugging 85xx eTSEC's robert lazarski
2007-10-26 21:48 ` Ben Warren [this message]
2007-10-26 23:15 ` Clemens Koller
2007-10-27  7:53 ` C Balakumar
2007-10-31 13:20   ` robert lazarski
2007-10-31 15:58     ` Clemens Koller
2007-11-05 17:21       ` robert lazarski
2007-11-05 19:59         ` Clemens Koller
2007-11-05 22:57           ` robert lazarski
2007-11-07 19:46             ` robert lazarski
2007-11-07 22:27               ` Clemens Koller

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=472260B8.2050109@qstreams.com \
    --to=bwarren@qstreams.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