Forum Discussion

mark_lee's avatar
mark_lee
Icon for Occasional Contributor rankOccasional Contributor
5 years ago

Arria10 SOC Design Example for 10Gbe with IEEE1588 PTP Capability tested with Quartus Prime Pro

HOW can I get the "Arria10 SOC Design Example for 10Gbe with IEEE1588 PTP Capability tested with Quartus Prime Pro version 19.2。

thanks!

6 Replies

    • LarryY's avatar
      LarryY
      Icon for New Contributor rankNew Contributor

      I'm trying to get PTP working on Arria10 SoC, with the Marvell Alaska ethernet transceiver.

      ethtool confirms that it supports hardware timestamps, but getting RX hw timestamp of 0, and ptp4l complains that SYNC doesn't have timestamp.

      Some output captured on stdout:

      ptp4l[2301.995]: port 1: LISTENING to UNCALIBRATED on RS_SLAVE

      [ 2302.290489] socfpga-dwmac ff800000.ethernet eth0: get valid RX hw timestamp 0

      ptp4l[2302.260]: port 1: received SYNC without timestamp

      [ 2302.313490] socfpga-dwmac ff800000.ethernet eth0: get valid RX hw timestamp 0

      [ 2302.812969] socfpga-dwmac ff800000.ethernet eth0: get valid RX hw timestamp 0

      ptp4l[2302.783]: timed out while polling for tx timestamp

      ptp4l[2302.783]: increasing tx_timestamp_timeout may correct this issue, but it is likely caused by a driver bug

      ptp4l[2302.783]: port 1: send delay request failed

      ptp4l[2302.783]: port 1: UNCALIBRATED to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)


      Any likely candidates for this error? It's unlikely to be the PTP packets coming in, as if I use ptp4l in Software timestamp mode, it works. I attached the kernel build .config as config.txt (needed to append .txt so I can upload it). Also note that I am using older code and tools, from Quartus 18.0 Pro.

      • mark_lee's avatar
        mark_lee
        Icon for Occasional Contributor rankOccasional Contributor

        Hi larryY

        check the clock set and the ptp is enable