summaryrefslogtreecommitdiff
path: root/www/gpsd-time-service-howto.txt
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-02-21 22:19:36 -0800
committerGary E. Miller <gem@rellim.com>2015-02-21 22:19:36 -0800
commitffa2c4b4a8b09c892eb68beb69c0af2657fe3177 (patch)
tree22f1282e7c99d60141fc8f9d3172886fb36effbb /www/gpsd-time-service-howto.txt
parent510ae13c69d8d3d0c54a211293dde03f74df0e7d (diff)
downloadgpsd-ffa2c4b4a8b09c892eb68beb69c0af2657fe3177.tar.gz
Add kernel config to PTP howto
Diffstat (limited to 'www/gpsd-time-service-howto.txt')
-rw-r--r--www/gpsd-time-service-howto.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/www/gpsd-time-service-howto.txt b/www/gpsd-time-service-howto.txt
index fdeca95d..c4aebbfe 100644
--- a/www/gpsd-time-service-howto.txt
+++ b/www/gpsd-time-service-howto.txt
@@ -1282,6 +1282,15 @@ instructions on their web page to download, compile and install on your
NTP chimer and its slaves. Be sure to also follow their instructions on
how to configure your linux kernel.
+If you are scratch-building a Linux kernel, the configuration
+must include either these two lines, or the same with "y" replaced
+by "m" to enable the drivers as modules:
+
+-----------------------------------------------------------------------------
+CONFIG_NETWORK_PHY_TIMESTAMPING=y
+PTP_1588_CLOCK=y
+-----------------------------------------------------------------------------
+
In our setup we will just use the ptp4l program. This program does
special low level timing on ethernet frames and shares that information
with chronyd or ntpd using an SHM. Since gpsd also uses SHM be very careful