doudoujingxin 发表于 2015-6-27 10:41:31

网卡驱动 dp83848

各位好:我现在使用的是ok335xS的板子,使用的网卡是AR8031,如果我想换成DP83848,请问需要怎么修改呢,忘指点

飞凌-unix 发表于 2015-8-8 08:55:18

AR8031 跟 DP83848 的接口总线不同,所用的时钟也不相同,所用的PHY的ID也不一样,修改的话,需要修改接口类型,PHY ID,时钟来源。还有一点提醒一下:注意一下dp83848是不是还适用?

doudoujingxin 发表于 2015-8-10 11:21:56

现在调试能ping通,但是丢包严重,能达到20%,请问这是什么原因啊

doudoujingxin 发表于 2015-8-10 11:24:42

[    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

飞凌-unix 发表于 2015-8-11 08:39:20

doudoujingxin 发表于 2015-8-10 11:21 static/image/common/back.gif
现在调试能ping通,但是丢包严重,能达到20%,请问这是什么原因啊

你换一块同样的板子试试,看看还有这个原因吗

doudoujingxin 发表于 2015-8-11 13:40:07

试了,都一样,现在使用FET335xS_V2.0的核心板,外加我们自己的底板,测试了两块都是这样,不知是什么原因啊。

doudoujingxin 发表于 2015-8-14 10:49:48

求各位大神给个回复吧,有遇到这种情况的吗

中国加油 发表于 2015-8-18 08:36:25

自己做底板的话,容易出现网口有问题,lz 底板中网口有复位电路吗?

tutiber 发表于 2021-1-11 11:38:51

请问改为使用dp83848是否需要修改phy 的驱动

ljb2019001 发表于 2021-2-7 10:40:44

可以参考我们2014年的资料,老版资料是有的
页: [1]
查看完整版本: 网卡驱动 dp83848