[U-Boot] MII register display

Mike Frysinger vapier at gentoo.org
Thu May 7 04:03:45 CEST 2009


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.
-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/d4d0c386/attachment.pgp 


More information about the U-Boot mailing list