[U-Boot] MII register display

Mike Frysinger vapier at gentoo.org
Thu May 7 04:20:28 CEST 2009


On Wednesday 06 May 2009 22:06:46 Jon Smirl wrote:
> On Wed, May 6, 2009 at 10:03 PM, Mike Frysinger <vapier at gentoo.org> wrote:
> > On Wednesday 06 May 2009 21:53:21 Jon Smirl wrote:
> >> On Wed, May 6, 2009 at 2:57 PM, Jon Smirl <jonsmirl at 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?
> >
> > looks that way.  it's showing bit6 and bit13.
>
> It's in the source that way. It just confused me when trying to figure
> out what is wrong with the new PHY we're having hardware trouble with.

enable debugging in the PHY driver then ... sometimes it outputs something 
that is only obvious when you see explicit statements as to what it's doing
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090506/a4d823b0/attachment.pgp 


More information about the U-Boot mailing list