Forum Discussion
6 Replies
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
We currently do not have the design example for Arria 10 SoC. However, we do have design example for Stratix 10 SoC:
https://rocketboards.org/foswiki/Projects/Stratix10SoCDesignExampleFor10GbeWithIEEE1588PTPCapability
- mark_lee
Occasional Contributor
thanks.
- LarryY
New 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
Occasional Contributor
Hi larryY
check the clock set and the ptp is enable