TS-7970 I210 PTP

From embeddedTS Manuals

The Intel i210 ethernet supports 1588 PTP (V1 & V2).

This is supported in Linux with the linuxptp project. This will synchronize the Linux system clock to within ±1 us.

This requires using an image based on the Linux 4.9+ kernel.

apt-get install linuxptp -y

phc2sys -s /dev/ptp1 -w &
ptp4l -2 -H -i enp0s1 -m -p /dev/ptp1 &

If the clocks are significantly off this may take time for the clocks to converge.