[U-Boot] Fw: TFTP fails when using network switch

Jerry Van Baren
2009-01-16T15:34:39Z

L. A. Linden Levy wrote:
> Can someone tell me how to use the mii command? I have the following
> from a dump:
>
> uBOOT=>> mii dump
> MII not complete
> 0. (ffff) -- PHY control register --
> (8000:8000) 0.15 = 1 reset
> (4000:4000) 0.14 = 1 loopback
> (2040:2040) 0. 6,13 = b11 speed selection = ??? Mbps
> (1000:1000) 0.12 = 1 A/N enable
> (0800:0800) 0.11 = 1 power-down
> (0400:0400) 0.10 = 1 isolate
> (0200:0200) 0. 9 = 1 restart A/N
> (0100:0100) 0. 8 = 1 duplex = full
> (0080:0080) 0. 7 = 1 collision test enable
> (003f:003f) 0. 5- 0 = 63 (reserved)

Please don't top post.

U-Boot can tell you how to use the mii command: "help mii"

It has been a long time since I used mii, but it looks like you need to
use "mii device" to find your PHY and then "mii dump <addr> <reg>" to
dump the registers of that device.

HTH,
gvb