Page 1 of 1

Lantiq PHY in config in Petalinux

Posted: Mon Jan 13, 2020 11:10 am
by motagiyash
Hello experts,

I am working with petalinux and i am trying to figure out how do i set the skews of this board.

I am not able to ping or ,run the UDP code i wrote.

Re: Lantiq PHY in config in Petalinux

Posted: Wed Jan 15, 2020 1:26 pm
by pavel
I think the INTEL_XWAY_PHY driver should work even with the default skew values. If the board can't be pinged, then it seems that the PHY driver isn't running. Have you checked that the Linux kernel you're using has the INTEL_XWAY_PHY driver?

More information about the time skew values can be found at this link.

In the PHY driver patched by the Red Pitaya developers, the RX and TX time skews were set to 2 ns and 2.5 ns:
https://github.com/RedPitaya/linux-xlnx ... tiq.c#L344

Here is a link to my patch for the INTEL_XWAY_PHY driver in Linux 4.19:
https://github.com/pavel-demin/red-pita ... ch#L26-L68