网卡驱动 dp83848
各位好:我现在使用的是ok335xS的板子,使用的网卡是AR8031,如果我想换成DP83848,请问需要怎么修改呢,忘指点 AR8031 跟 DP83848 的接口总线不同,所用的时钟也不相同,所用的PHY的ID也不一样,修改的话,需要修改接口类型,PHY ID,时钟来源。还有一点提醒一下:注意一下dp83848是不是还适用?现在调试能ping通,但是丢包严重,能达到20%,请问这是什么原因啊 [ 9.405404] MII_BMCR = 0X3100
[ 9.408587] MII_PHYSID1 = 0X2000
[ 9.412033] MII_PHYSID2 = 0X5c90
[ 9.415477] MII_LPA = 0X41e1
[ 9.418597] MII_EXPANSION = 0X7
[ 9.421977] DP83848_ANNPTR = 0X2801
[ 9.425682] DP83848_PHYSTS = 0X15
[ 9.429257] DP83848_PHYCR = 0X8021
[ 9.432898] DP83848_PHYRBR = 0X21
[ 9.436347] MII_CTRL1000 = 0X21
[ 9.439852] MII_BMSR = 0X786d
[ 9.443297] MII_ADVERTISE = 0X1e1
[ 11.393265] PHY: 0:01 - Link is Up - 100/Full
PING 192.168.0.30 (192.168.0.30): 56 data bytes
64 bytes from 192.168.0.30: seq=0 ttl=64 time=2.675 ms
64 bytes from 192.168.0.30: seq=1 ttl=64 time=0.485 ms
64 bytes from 192.168.0.30: seq=2 ttl=64 time=0.475 ms
64 bytes from 192.168.0.30: seq=3 ttl=64 time=0.438 ms
64 bytes from 192.168.0.30: seq=4 ttl=64 time=0.437 ms
64 bytes from 192.168.0.30: seq=5 ttl=64 time=0.486 ms
64 bytes from 192.168.0.30: seq=6 ttl=64 time=0.429 ms
64 bytes from 192.168.0.30: seq=7 ttl=64 time=0.446 ms
64 bytes from 192.168.0.30: seq=8 ttl=64 time=0.393 ms
64 bytes from 192.168.0.30: seq=9 ttl=64 time=0.405 ms
64 bytes from 192.168.0.30: seq=10 ttl=64 time=0.458 ms
64 bytes from 192.168.0.30: seq=15 ttl=64 time=0.421 ms
64 bytes from 192.168.0.30: seq=20 ttl=64 time=0.431 ms
64 bytes from 192.168.0.30: seq=21 ttl=64 time=0.460 ms
64 bytes from 192.168.0.30: seq=23 ttl=64 time=0.451 ms
64 bytes from 192.168.0.30: seq=25 ttl=64 time=0.449 ms
64 bytes from 192.168.0.30: seq=26 ttl=64 time=0.441 ms
64 bytes from 192.168.0.30: seq=27 ttl=64 time=0.463 ms
64 bytes from 192.168.0.30: seq=28 ttl=64 time=0.458 ms
64 bytes from 192.168.0.30: seq=29 ttl=64 time=0.616 ms
^C
--- 192.168.0.30 ping statistics ---
30 packets transmitted, 20 packets received, 33% packet loss
round-trip min/avg/max = 0.393/0.565/2.675 ms doudoujingxin 发表于 2015-8-10 11:21 static/image/common/back.gif
现在调试能ping通,但是丢包严重,能达到20%,请问这是什么原因啊
你换一块同样的板子试试,看看还有这个原因吗 试了,都一样,现在使用FET335xS_V2.0的核心板,外加我们自己的底板,测试了两块都是这样,不知是什么原因啊。 求各位大神给个回复吧,有遇到这种情况的吗 自己做底板的话,容易出现网口有问题,lz 底板中网口有复位电路吗? 请问改为使用dp83848是否需要修改phy 的驱动 可以参考我们2014年的资料,老版资料是有的
页:
[1]