When trying to use the latest kernel from the master-next branch from git the zedboard will not start up the ethernet interfaces.
git clone https://github.com/Xilinx/linux-xlnx.git
git checkout master-next
You will get:
e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
libphy: XEMACPS mii bus: probed
mdio_bus e000b000: cannot get PHY at address 7
xemacps e000b000.ps7-ethernet: pdev->id -1, baseaddr 0xe000b000, irq 54
To solve this you must fix the devicetree.dts (copied from zynq-zed.dts) as follows:
$ diff arch/arm/boot/dts/zynq-zed.dts devicetree.dts
27c27
< ttbootargs = "console=ttyPS0,115200 root=/dev/ram rw earlyprintk";
---
> ttbootargs = "console=ttyPS0,115200 root=/dev/ram rw ip=:::::eth0:dhcp earlyprintk";
126a127
> tttxlnx,enet-clk-freq-hz = <0x7735940>;
127a129,134
> tttxlnx,enet-slcr-1000mbps-div0 = <0x8>;
> tttxlnx,enet-slcr-1000mbps-div1 = <0x1>;
> tttxlnx,enet-slcr-100mbps-div0 = <0x8>;
> tttxlnx,enet-slcr-100mbps-div1 = <0x5>;
> tttxlnx,enet-slcr-10mbps-div0 = <0x8>;
> tttxlnx,enet-slcr-10mbps-div1 = <0x32>;
134c141
< ttttphy0: phy@7 {
---
> ttttphy0: phy@0 {
137c144
< tttttreg = <7>;
---
> tttttreg = <0>;
Hope this helps others facing the same problem.
Maarten