cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Newbie
Newbie
400 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)
TEMAC-ZYNQ Block Design.png
ifconfig.PNG
ifconfig.PNG
0 Kudos
0 Replies