From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] MII register display
Date: Thu, 07 May 2009 07:46:08 -0400 [thread overview]
Message-ID: <4A02CA00.1060404@ge.com> (raw)
In-Reply-To: <9e4733910905061853l3142d1fbxe630f90ed7bb1894@mail.gmail.com>
Hi Jon,
Jon Smirl wrote:
> On Wed, May 6, 2009 at 2:57 PM, Jon Smirl <jonsmirl@gmail.com> wrote:
>> Why is "speed selection = 10 Mbps" when both sides support 100Mb?
>> Is uboot decoding this register correctly?
>>
>> uboot> mii dump 0 0
>> 0. (1000) -- PHY control register --
>> (8000:0000) 0.15 = 0 reset
>> (4000:0000) 0.14 = 0 loopback
>> (2040:0000) 0. 6,13 = b00 speed selection = 10 Mbps
>
> This b00 here is confusing. b is a valid hex character, I thought this
> was reporting the register value as 0xb00.
> Instead it appears to be trying to indicate that the two bits are binary?
Yes. The display confusion is rooted and aggravated by the fact that
the two bits are not adjacent in the register (bits 6 and 13).
Looking at the rest of your dump, it isn't obvious to me why your PHY is
running 10bT. Mike's suggestion of turning on (and possibly adding)
debug is a good one.
Since you mention you are trying to debug new PHY problems, I would be
suspicious of the PHY signal integrity (hardware problem) or a PHY
non-standard register problem (software).
WRT hardware / signal integrity, note that the autonegotiation
communications is done using the "fast link pulses" which are *not* fast
and do not require anywhere near the signal integrity that 10/100/1000bT
requires. Autonegotiation can work over bailing wire.
WRT software, the MII standard is a poster child for the saying "the
beauty of standards is that there are so many novel ways to implement
them." :-/
[snip]
Best regards,
gvb
prev parent reply other threads:[~2009-05-07 11:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-06 18:57 [U-Boot] MII register display Jon Smirl
2009-05-07 1:53 ` Jon Smirl
2009-05-07 2:03 ` Mike Frysinger
2009-05-07 2:06 ` Jon Smirl
2009-05-07 2:20 ` Mike Frysinger
2009-05-07 11:46 ` Jerry Van Baren [this message]
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=4A02CA00.1060404@ge.com \
--to=gerald.vanbaren@ge.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