Hi all, I am working on bringing up the Ethernet interface for RTEMS 4.12 with libBSD on a Xilinx zc702 (GigaZee<https://wiki.trenz-electronic.de/display/TE0720/TE0720+User+Manual>) board. I currently have 6 configurations, Zedboard and GigaZee, each running U-Boot, Yocto and RTEMS. Only in the GigaZee with RTEMS configuration am I having the problem that the Ethernet interface can not be found.
I have run the netshell, loopback and DHCPD examples on both devices. Loopback works on both, but on the GigaZee, I run into the problem that nexus0: <RTEMS Nexus device> info: version 6.2.1 starting err: no valid interfaces found warning: no interfaces have a carrier Whereas on the Zedboard the output starts with the following for the DHCP01 example: nexus0: <RTEMS Nexus device> cgem0: <Cadence CGEM Gigabit Ethernet Interface> on nexus0 miibus0: <MII bus> on cgem0 e1000phy0: <Marvell 88E1512 Gigabit PHY> PHY 0 on miibus0 e1000phy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000bo cgem0: Ethernet address: 00:0a:35:00:01:04 zy7_slcr0: <Zynq-7000 slcr block> on nexus0 notice: cgem0: link state changed to DOWN info: version 6.2.1 starting warning: no interfaces have a carrier info: cgem0: waiting for carrier notice: cgem0: link state changed to UP info: cgem0: carrier acquired info: DUID 00:01:00:01:e9:6d:a1:82:00:0a:35:00:01:04 info: cgem0: IAID 35:00:01:04 info: cgem0: soliciting an IPv6 router debug: cgem0: delaying Router Solicitation for LL address debug: cgem0: using hwaddr 00:0a:35:00:01:04 info: cgem0: soliciting a DHCP lease debug: cgem0: sending DISCOVER (xid 0x158cc5c9), next in %0.1f seconds ... I've compared the device tree files for both the Zedboard and the GigaZee and they differ only slightly: GigaZee: ethernet@e000b000 { compatible = "cdns,gem"; reg = <0xe000b000 0x1000>; status = "okay"; interrupts = <0x0 0x16 0x4>; clocks = <0x1 0x1e 0x1 0x1e 0x1 0xd>; clock-names = "pclk", "hclk", "tx_clk"; #address-cells = <0x1>; #size-cells = <0x0>; phy-mode = "rgmii-id"; xlnx,ptp-enet-clock = <0x69f6bcb>; local-mac-address = [00 0a 35 00 1e 53]; }; ethernet@e000c000 { compatible = "cdns,gem"; reg = <0xe000c000 0x1000>; status = "disabled"; interrupts = <0x0 0x2d 0x4>; clocks = <0x1 0x1f 0x1 0x1f 0x1 0xe>; clock-names = "pclk", "hclk", "tx_clk"; #address-cells = <0x1>; #size-cells = <0x0>; }; ZedBoard: ethernet@e000b000 { compatible = "cdns,zynq-gem", "cdns,gem"; reg = <0xe000b000 0x1000>; status = "okay"; interrupts = <0x0 0x16 0x4>; clocks = <0x1 0x1e 0x1 0x1e 0x1 0xd>; clock-names = "pclk", "hclk", "tx_clk"; #address-cells = <0x1>; #size-cells = <0x0>; phy-mode = "rgmii-id"; phy-handle = <0x4>; ethernet-phy@0 { reg = <0x0>; linux,phandle = <0x4>; phandle = <0x4>; }; }; ethernet@e000c000 { compatible = "cdns,zynq-gem", "cdns,gem"; reg = <0xe000c000 0x1000>; status = "disabled"; interrupts = <0x0 0x2d 0x4>; clocks = <0x1 0x1f 0x1 0x1f 0x1 0xe>; clock-names = "pclk", "hclk", "tx_clk"; #address-cells = <0x1>; #size-cells = <0x0>; }; This is my first mailing list request, so please excuse any inadvertent missteps. Best regards, Moritz
_______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users