TS-7970 I210 PTP: Difference between revisions

From embeddedTS Manuals
(Created page with "The Intel i210 ethernet supports 1588 PTP (V1 & V2). This is supported in Linux with the [http://linuxptp.sourceforge.net/ linuxptp] project. This will synchronize the Linux...")
(No difference)

Revision as of 17:11, 22 January 2020

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 +-1us.

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.