UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Participant diy_a
Participant
729 Views
Registered: ‎03-20-2017

Ping fails :- Zynq Ethernet via EMIO to Ethernet Switch

Hi,

 

 We have designed a custom board with Zynq 7100 processor. We have connected two Ethernet ports of Zynq through SGMII(implemented SGMII core in PL) to 16 port Ethernet switch on board. No mdio lines are connected from Zynq to Ethernet switch.We have forced the speed to 1000Mbs and Full duplex in zynq as well as in Ethernet switch .  We have ported Petalinux u-boot and configured the Ethernet ports of zynq.

 

While initializing zynq eth port in u-boot, we are getting below message ,

 

mmu_set_region_dcache_behaviour: start=0x000003ee, size=1048576, option=18
CACHE: Misaligned operation at range [3fff0fb8, 3fff0fbc]

 

 Below is dts configuration, arch/arm/dts/zynq-zybo.dts and also made some changes from this link  https://forums.xilinx.com/t5/Embedded-Linux/Zynq-uboot-debugging-ethernet-issue/td-p/752235

 

&gem0 {
        status = "okay";
/*      phy-mode = "rgmii-id";*/
        phy-mode = "gmii";
        phy-handle = <&ethernet_phy>;

        ethernet_phy: ethernet-phy@0 {
                reg = <0x10>;
        };

};


&gem1 {
        status = "okay";
        phy-mode = "gmii";
        phy-handle = <&ethernet1_phy>;

        ethernet1_phy: ethernet-phy@1 {
                reg = <0x10>;
        };

  Ping fails and throws rx error as shown below ,

 

Zynq> ping 172.17.1.146
Trying ethernet@e000b000

Using ethernet@e000b000 device
zynq_gem_send: Timeout (reg=e000b014 mask=00000020 wait_set=1)
eth_send: send() returned error -110
zynq_gem_send: Timeout (reg=e000b014 mask=00000020 wait_set=1)
eth_send: send() returned error -110
eth_rx: recv() returned error -1
zynq_gem_send: Timeout (reg=e000b014 mask=00000020 wait_set=1)
eth_send: send() returned error -110
eth_rx: recv() returned error -1
Abort
eth_send: send() returned error -4
eth_rx: recv() returned error -1
eth_rx: recv() returned error -1
eth_rx: recv() returned error -1

 Attached complete log,

 

 Any help or suggestion is appreciated. 

 

 

0 Kudos
1 Reply
Participant diy_a
Participant
684 Views
Registered: ‎03-20-2017

Re: Ping fails :- Zynq Ethernet via EMIO to Ethernet Switch

Hi ,

 

Any suggestion on this issue to sort it out.

 

0 Kudos