Hi
Linux is booting up ok (i.e. I'm getting a working login promt on the uart port) but I'm having trouble getting ethernet to work on my zedboard (rev D).
I'm using the following sources:
Linux: https://github.com/Xilinx/linux-xlnx.git tag: "xilinx-v2016.1".
U-boot: https://github.com/Xilinx/u-boot-xlnx.git tag: "xilinx-v2016.1".
Vivado: v2015.3.
To compile U-boot I'm using the zynq_zed_defconfig (no modifications) and to build linux I'm using "xilinx_zynq_defconfig" (no modifications).
For u-boot I'm using the embedded default device tree from within the u-boot source tree (as configured by the defconfig file).
For Linux I'm using the default device tree for zed-board: "linux-xlnx/arch/arm/boot/dts/zynq-zed.dts"
For linux I compile the device tree manually by using the xilinx DTC compiler: https://git.kernel.org/pub/scm/utils/dtc/dtc.git
For the FSBL I have a custom vivado project exported to xilinx sdk and using the fsbl sample application project to create and compile the fsbl.
using mkbootimage to create a BOOT.BIN file and booting from the SD card.
The Link led on the zed board, and also on my switch, is lit so there's a valid link between the devices but no ethernet traffic seems to be getting through. Ping returns 100% packet loss.
One clue is that U-boot complains about not finding any ethernet PHY, here's the u-boot log:
------------
Model: Zynq Zed Development Board
Board: Xilinx Zynq
DRAM: ECC disabled 512 MiB
MMC: sdhci@e0100000: 0
SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial@e0001000
Out: serial@e0001000
Err: serial@e0001000
Model: Zynq Zed Development Board
Board: Xilinx Zynq
Net: ZYNQ GEM: e000b000, phyaddr 0, interface rgmii-id
PHY is not detected
GEM PHY init failed
No ethernet found.
-------------
Linux doesn't seem to complain besides not getting a dhcp lease, here's some relevant lines from the boot log:
-------------
libphy: MACB_mii_bus: probed
macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 145 (00:0a:35:00:01:22)
macb e000b000.ethernet eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=e000b000.etherne:00, irq=-1)
...
Configuring network interfaces... IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc (v1.23.1) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
-------------
Are there any known zedboard compatibility issues with the "xilinx-v2016.1" tags of the u-boot and linux sources?
I sort of expected this to work out of the box when using the default configs so it's probably me doing something wrong...