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: 
Newbie mahawarp
Newbie
291 Views
Registered: ‎05-14-2018

Problem with getting TEMAC up for Zynq on Linux platform

1. On custom board using zynq - XC7Z045-2FFG900, we have two PL side RGMII Ethernets 88E1116. These Ethernet ports are correct on hardware as both are working with our custom Ethernet MAC with bare-metal. But as we want to use Xilinx Tri-Mode Ethernet IP with Linux platform on ARM, we made project as below -

2. Block Design in Vivado ver 17.2 as attached block design along with UartLite and AXI-GPIO -  TEMAC-ZYNQ Block Design.png

3. Using the .hdf file we created a petalinux project and modified the system-user.dts file by adding the following: 

/include/ "system-conf.dtsi"
/ {
};

&axi_ethernet_0{
local-mac-address = [00 0a 35 00 1e 52];
};

4. we successfully built the project and copied the boot.bin and image.ub into SD card and successfully booted.

5. In linux we are able to see the AXI-temac interface (eth2) as attached - ifconfig.png.

6. But while setting the ipaddress we are getting an error as attached, but the IP address is getting set but we are not able to ping the interface. - ifconfig_error.png.

7. The Dts file is attached for your reference - sys.dts (txt file)

8. With this file, we checked on hardware that Ethernet PHY has correct states of RESET, COMA, and 25MHz Input Clock.

Please suggest a solution

Tags (1)
0 Kudos