使用petalinux 2017.1 生成zynq 7020 的Linux镜像
问题现象:
1. uBoot 中Ethernet PHY rtl8211e 工作正常,但是Linux 启动后无法找到eth0
2. Linux系统启动时提示:macb e000b000.ethernet :01 no PHY found
问题可能的原因:
Cadence Macb Linux Driver 没有编译到内核中。
解决方法:配置内核使能Cadence Macb Linux Driver
位置:
-> Device Drivers
-> Network device support (NETDEVICES [=y])
->Ethernet driver support (ETHERNET [=y])
->Cadence devices (NET_CADENCE [=y])
备注: zynq 系列芯片不支持Cadence MACB/GEM extended buffer descriptor 选项。使能该项后会出现:“macb e000b000.ethernet eth0: DMA bus error: HRESP not OK” 错误。设备树文件中ethernet@e000b000 的配置有误。
解决方法: