diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2018-10-26 10:28:33 +0300 |
---|---|---|
committer | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2018-10-26 10:28:33 +0300 |
commit | b933fa0f23a998513bd8086276f97414dddc7841 (patch) | |
tree | 39a36a0bdd3f6156ed764a767bae126a83fd40c3 /scripts | |
parent | 3cd05c3a2d6802555218c99b02403433c84d2068 (diff) |
sync system clock to PHC not the other way around
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/run-ptp.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/run-ptp.sh b/scripts/run-ptp.sh index 07c4457..0f99270 100755 --- a/scripts/run-ptp.sh +++ b/scripts/run-ptp.sh @@ -12,6 +12,5 @@ echo "#" >> testptp.cfg echo "transportSpecific 1" >> testptp.cfg # Run all as masters and let them select ptp4l -f testptp.cfg -i "$iface" & -# Sync PTP hardware clock to the system clock -# system clock is our master -phc2sys -c "$iface" -s CLOCK_REALTIME -w & +# Sync system clock to PTP hardware clock +phc2sys -s "$iface" -s CLOCK_REALTIME -w & |