在uboot中有MII命令使用有些疑惑。
U-Boot# mii write 0 22 0X877F
Error writing to the PHY addr=00 reg=22
//为什么我这款RTL8306网卡IC写到第22个寄存器就不行了。
这是什么原因,难道是TI MII write 的一个BUG吗?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
在uboot中有MII命令使用有些疑惑。
U-Boot# mii write 0 22 0X877F
Error writing to the PHY addr=00 reg=22
//为什么我这款RTL8306网卡IC写到第22个寄存器就不行了。
这是什么原因,难道是TI MII write 的一个BUG吗?
非常感谢xia wang1 让我都的疑惑的解了。
(1)mii info 问题
在代码里面OUI = 0x0732, Model = 0x05, Rev = 0x02, 是32位的PHYID,但是从即为的值并不是
U-Boot# mii r 0 2
001C
U-Boot# mii r 0 3
C852
U-Boot#
命令下显示是
U-Boot# mii info
PHY 0x00: OUI = 0x0732, Model = 0x05, Rev = 0x02, 100baseT, FDX
PHY 0x01: OUI = 0x0732, Model = 0x05, Rev = 0x02, 10baseT, HDX
PHY 0x02: OUI = 0x0732, Model = 0x05, Rev = 0x02, 10baseT, HDX
PHY 0x03: OUI = 0x0732, Model = 0x05, Rev = 0x02, 10baseT, HDX
PHY 0x04: OUI = 0x0732, Model = 0x05, Rev = 0x02, 10baseT, HDX
PHY 0x05: OUI = 0x0732, Model = 0x05, Rev = 0x02, 100baseT, FDX
PHY 0x06: OUI = 0x0732, Model = 0x05, Rev = 0x02, 100baseT, FDX
U-Boot#
这里面有没有问题????
这是我调88E1111写的总结,对照着把和你手册对应的寄存器配置了
http://blog.csdn.net/charliewangg12/article/details/39697287