From a502dcddfdc620a15e454d65636d2123f1ef1496 Mon Sep 17 00:00:00 2001 From: livox Date: Thu, 17 Sep 2020 15:00:05 +0800 Subject: [PATCH] add phc2sys usage --- Timestamp-Synchronization.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Timestamp-Synchronization.md b/Timestamp-Synchronization.md index f444264..b917694 100644 --- a/Timestamp-Synchronization.md +++ b/Timestamp-Synchronization.md @@ -217,3 +217,10 @@ sudo ptp4l -i eth0 -l 6 -m When a sync packet appears on the network, it indicates that the master clock of ptp4l is successfully turned on. +Use the following command, PTP Hardware Clock is synchronized to system clock. + +`phc2sys` usage: http://manpages.ubuntu.com/manpages/cosmic/man8/phc2sys.8.html + +```bash +sudo phc2sys -c eth0 -s CLOCK_REALTIME -O 0 +``` \ No newline at end of file