zynq-7000系列基于zynq-zed的RGMII以太网控制器稳定性的问题
2017-03-08 09:24
1391 查看
zynq-7000系列基于zynq-zed的RGMII以太网控制器稳定性的问题
作者:卢浩
时间:2017.3.8
转载请注明出处
zynq7000的以太网控制器是买的cadence公司的ip,目前存在一些问题,大流量小包传输有可能会崩溃,但是这个并不常见,这主要是DMA控制器的bug,如果用户在使用过程中遇见以下打印信息,暂时可以先忽略过去,此时网卡会丢包,但是也可以勉强工作。
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
我们看一下此时网卡状态:
root@alvin:/work# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: Symmetric
Link partner advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: external
Auto-negotiation: on
Link detected: yes
root@alvin:/work#
这个PS自带的以太网控制器,用户可以作为调试使用,不建议在实际项目中作为通讯口。
作者:卢浩
时间:2017.3.8
转载请注明出处
zynq7000的以太网控制器是买的cadence公司的ip,目前存在一些问题,大流量小包传输有可能会崩溃,但是这个并不常见,这主要是DMA控制器的bug,如果用户在使用过程中遇见以下打印信息,暂时可以先忽略过去,此时网卡会丢包,但是也可以勉强工作。
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
macb e000b000.ethernet eth0: DMA bus error: HRESP not OK
我们看一下此时网卡状态:
root@alvin:/work# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: Symmetric
Link partner advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: external
Auto-negotiation: on
Link detected: yes
root@alvin:/work#
这个PS自带的以太网控制器,用户可以作为调试使用,不建议在实际项目中作为通讯口。
相关文章推荐
- zynq-7000系列基于zynq-zed的linux-uboot的编译
- zynq-7000系列基于zynq-zed的MAC->MAC 的实现(fixed-link)
- zynq-7000系列基于zynq-zed的linux-kernel的编译
- zynq-7000系列基于zynq-zed的AMP模式的实现(linux+bare-metal)
- zynq-7000系列基于zynq-zed双核ARM-Cortex-A9性能的评估测试(多核的使用)
- zynq-7000系列基于zynq-zed的vivado初步设计之linux下控制PL扩展的UART
- zynq-7000系列基于zynq-zed的vivado初步设计之linux下控制PL扩展的GPIO
- zynq-7000系列基于zynq-zed的vivado初步设计之使用jtag->uart(MDM)
- zynq-7000系列基于zynq-zed的ramdisk文件系统的修改
- zynq-7000系列基于7015的linux下IIC->RTC的扩展使用(DS3232)
- Xilinx ZYNQ 7000+Vivado2015.2系列(六)创建一个基于AXI总线的GPIO IP并使用
- zynq-7000系列基于zynq-7015的vivado初步设计之linux下控制PL扩展的光以太网(1000BASE-X)
- zynq-7000系列基于7015的linux下 I2C-bus switch的扩展使用
- zynq-7000系列解决部分用户反映MAC地址每次启动都变化的问题
- 基于Zynq-7000高速数据采集解决方案
- 第二十三节: EF性能篇(三)之基于开源组件 Z.EntityFrameWork.Plus.EF6解决EF性能问题 第四节:一些指令总结 定时调度系列之Quartz.Net详解 第十七节:易混淆的概念(静态和非静态、拆箱和装箱) 那些年我们一起追逐的多线程(Thread、ThreadPool、委托异步调用、Task/TaskFactory、Parallerl、async和await)
- 敏捷开发产品管理系列之八:基于业务设计技术架构(兼谈12306性能问题)
- Xilinx ZYNQ 7000+Vivado2015.2系列(三)之HelloWorld实验(最小系统)(纯PS)
- GPIOPS中断成功,问题仍旧存在 ZEDBOARD,ZYNQ-7000
- 敏捷开发产品管理系列之八:基于业务设计技术架构(兼谈12306性能问题)