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
Observer b@buji
Observer
1,298 Views
Registered: ‎05-30-2018

PetaLinux, Zynq UltraScale+ MPSoC: Ethernet link between ZCU102 kit and a host machine at 100M/Full does not work

Jump to solution

Hi,

I am using ZCU102 evaluation kit with Vivado and PetaLinux version 2018.3. I am having same error as dicussed in AR# 66553, that is the Ethernet link between ZCU102 kit and a host machine at 100M/Full does not work. The link keeps going up and down. It was mentioned in solution of AR66553 as "issue will be be fixed for the 2016.3 release",but I could see that the issue remains same as I am using PetaLinux18.3 and I am getting the same error even with prebuilt images also.

Kindly suggest me so as to resolve this issue at the earliest.

 

0 Kudos
1 Solution

Accepted Solutions
Observer b@buji
Observer
1,040 Views
Registered: ‎05-30-2018

Re: PetaLinux, Zynq UltraScale+ MPSoC: Ethernet link between ZCU102 kit and a host machine at 100M/Full does not work

Jump to solution

@mnsgs , Thank you for your response. Mr. Shabbir of Xilinx also responded in another channel and provided the same workaround today to resolve this issue temporarily.

Workaround:

  1. Decompile system.dtb to system.dts: dtc -I dtb -O dts -o system.dts system.dtb
  2. Modify this in phy node in the device: Replace ti,rxctrl-strap-worka; with ti,dp83867-rxctrl-strap-quirk;
  3. Convert back modified system.dts to system.dtb using the command: dtc -I dts -O dtb -o system.dtb system.dts
  4. Copy this updated system.dtb to SD card to load

 

9 Replies
Xilinx Employee
Xilinx Employee
1,228 Views
Registered: ‎01-21-2008

Re: PetaLinux, Zynq UltraScale+ MPSoC: Ethernet link between ZCU102 kit and a host machine at 100M/Full does not work

Jump to solution

Hi b@buji ,

Please use our Xapp1305 (https://www.xilinx.com/support/documentation/application_notes/xapp1305-ps-pl-based-ethernet-solution.pdf ) for more details and refer PS-GEM3 design for usage. You can refer the ZCU102 board BSP which has a eth0 with PS-GEM3. Also there is a procedure given at the Xilinx Wiki page at https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841830/PS+and+PL+based+Ethernet+in+Zynq+MPSoC (On ZCU102 board, the PS-GEM3 is tied to the TI RGMII PHY). 

If you look at the DT node for PS-GEM3 and the Vivado design at Wiki & Xilinx Xapp1305, you woun't see an error which is mentioned in the AR#66553. 

Observer b@buji
Observer
1,211 Views
Registered: ‎05-30-2018

Re: PetaLinux, Zynq UltraScale+ MPSoC: Ethernet link between ZCU102 kit and a host machine at 100M/Full does not work

Jump to solution

Hi Jadhavs,

Thanks for your valuable suggestion.

As per your suggestion I downloaded Xapp1305 refernce design files from https://www.xilinx.com/support/documentation/application_notes/xapp1305-ps-pl-based-ethernet-solution.pdf . I used the "ready to test" image files of ps_ethernet_1g and loaded the image.ub and boot.bin into the SDCard. Then tried to boot ZCU102 kit in SD mode.But the same issue (AR#66553) arrises even in this process. I have attached the boot log (ps_ethernet_1g_boot.log) for more details.

Thanks

0 Kudos
Xilinx Employee
Xilinx Employee
1,185 Views
Registered: ‎01-21-2008

Re: PetaLinux, Zynq UltraScale+ MPSoC: Ethernet link between ZCU102 kit and a host machine at 100M/Full does not work

Jump to solution

Hi b@buji ,

I can see this issue as well now, if I connect 100M connection. As this issue was fixed in 2016.3 s/w version. I'll see why this issue re-apeared. I'll update you tomorrow on this issue.

0 Kudos
Observer b@buji
Observer
1,180 Views
Registered: ‎05-30-2018

Re: PetaLinux, Zynq UltraScale+ MPSoC: Ethernet link between ZCU102 kit and a host machine at 100M/Full does not work

Jump to solution

Thanks @jadhavs ,We will wait for your reply

0 Kudos
Observer b@buji
Observer
1,139 Views
Registered: ‎05-30-2018

Re: PetaLinux, Zynq UltraScale+ MPSoC: Ethernet link between ZCU102 kit and a host machine at 100M/Full does not work

Jump to solution

@jadhavs , Hope you got a chance to look into this. We await your feedback.

0 Kudos
Observer mnsgs
Observer
1,120 Views
Registered: ‎05-23-2017

Re: PetaLinux, Zynq UltraScale+ MPSoC: Ethernet link between ZCU102 kit and a host machine at 100M/Full does not work

Jump to solution

Hi,

The driver TI PHY driver requires a quirk to be enabled when running in 100Mbit - this has not been enabled in Xilinx u-boot/Linux trees until recently. I discovered this by systemD indicating carrier to be lost on eth0. On my request Michal pushed enabled the right quirk onto master:

https://github.com/Xilinx/u-boot-xlnx/commit/0a1e859b93792b442e30235288159e407dd507b5

https://github.com/Xilinx/linux-xlnx/commit/0ee2ead168af335315b6cd8c55cbf6e45998f585

https://github.com/Xilinx/linux-xlnx/commit/d5f13a74d1b5ba1a660e8cea00403ed76de07a71

I suggest cherry-picking these changes.

Br,

Martin

0 Kudos
Observer b@buji
Observer
1,096 Views
Registered: ‎05-30-2018

Re: PetaLinux, Zynq UltraScale+ MPSoC: Ethernet link between ZCU102 kit and a host machine at 100M/Full does not work

Jump to solution
0 Kudos
Observer mnsgs
Observer
1,073 Views
Registered: ‎05-23-2017

Re: PetaLinux, Zynq UltraScale+ MPSoC: Ethernet link between ZCU102 kit and a host machine at 100M/Full does not work

Jump to solution

The zcu102 device tree of 2018.3 kernel version specifies the PHY quirk 'ti,rxctrl-strap-worka' as per https://github.com/Xilinx/linux-xlnx/blob/51445f9139af73c616f054a8fcc77ed2568b81b1/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revB.dts#L24 , whereas the driver queries the property 'ti,dp83867-rxctrl-strap-quirk' (https://github.com/Xilinx/linux-xlnx/blob/51445f9139af73c616f054a8fcc77ed2568b81b1/drivers/net/phy/dp83867.c#L193) and as a consequence the workaround is not applied. You need to change the device tree to apply the quirk as expected by the driver - i.e. 'ti,dp83867-rxctrl-strap-quirk'

I don't use PetaLinux and can thus not provide guidance in the instructions, but I believe your issue is caused by the missing alignment between device-tree and driver.

0 Kudos
Observer b@buji
Observer
1,041 Views
Registered: ‎05-30-2018

Re: PetaLinux, Zynq UltraScale+ MPSoC: Ethernet link between ZCU102 kit and a host machine at 100M/Full does not work

Jump to solution

@mnsgs , Thank you for your response. Mr. Shabbir of Xilinx also responded in another channel and provided the same workaround today to resolve this issue temporarily.

Workaround:

  1. Decompile system.dtb to system.dts: dtc -I dtb -O dts -o system.dts system.dtb
  2. Modify this in phy node in the device: Replace ti,rxctrl-strap-worka; with ti,dp83867-rxctrl-strap-quirk;
  3. Convert back modified system.dts to system.dtb using the command: dtc -I dts -O dtb -o system.dtb system.dts
  4. Copy this updated system.dtb to SD card to load