09-21-2018 02:26 AM
I am a newbie for Petalinux. I need to use PL based 1G Ethernet on Zynq Ultrascale + MPSoC platform for ZCU102 evaluation board with Petalinux version 2018.1.
Tested the ready to test images provided in "xapp1305-ps-pl-based-ethernet-solution/ready_to_test/Linux/pl_ethernet_1g/" with SFP to RJ45 adapter module. But the eth1 interface is not getting detected. Did I miss any step or is this the correct method to test it?
09-21-2018 02:33 AM
09-21-2018 05:52 AM
I need to use temac driver for FPGA MAC device which is connected to SFP. I am using xilinx-zcu102-v2018.1-final.bsp, but there is no dts configuration for temac driver. May be I am using wrong bsp from Xilinx website? Please provide proper BSP which supports FPGA MAC connected to SFP. We are using Petalinux 2018.1 version and BSP for the ZCU102 that can be downloaded from the same page that the 2018.1 PetaLinux installation is found available in link : "https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-design-tools/2018-1.html".
09-21-2018 06:29 AM
Sorry. I've not tried to get the TEMAC working. I have just been working with the 10G MAC in the programmable logic and the 1G MAC in the processor sub-system. The xilinx-zcu102-v2018.1-final.bsp supports the 10G MAC in the PL. I would be surprised if it didn't also support the TEMAC.
09-21-2018 07:40 AM
The driver is documented here:
If you want to build it yourself the Vivado design is part of the XAPP1305 download. I had a few issues getting the Petalinux flow to work. I documented what I did to make it work in this thread:
I hope this helps.
09-26-2018 01:39 AM
I tried to test SD card images provided in XAPP_HOME/xapp1305-ps-pl-based-ethernet-solution/ready_to_test/Linux/pl_ethernet_sgmii/ folder on ZCU102 board. But eth1 interface did not get detected when "ifconfig eth1 up" command is given. Did I miss any step? Please provide any suggestion to test pl based Ethernet through SFP.
09-27-2018 06:19 AM
I used xilinx-zcu102-2018.1.bsp and eth1 interface is coming up now. Thanks for the support.
But not able to assign IP address to ethernet.
I am getting link is not ready error when ifconfig eth1 up command is given as below:
root@xilinx-zcu102-2018_1:~# ifconfig eth1 up
[ 253.607113] net eth1: Promiscuous mode disabled.
[ 253.681076] net eth1: Promiscuous mode disabled.
[ 253.685653] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
Please provide any suggestion if faced this problem.