Re: [Linuxptp-users] grandmaster with an H/P 3805A GPS disciplined osc
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Miroslav L. <mli...@re...> - 2013-08-22 08:08:36
|
On Thu, Aug 22, 2013 at 12:48:51AM -0700, David Gravereaux wrote: > So instead of phc2sys, I'm wanting a gps2phc+rtc ;) > > If my head is screwed on right, this almost gets me there given system > clock is the reference for start offset, but takes over from PPS, though > not a physical signal to the NIC. > > phc2sys -wmql 7 -d /dev/pps0 -s CLOCK_REALTIME -c /dev/ptp0 > > If this is true, I'd be happy with this for the moment. The PPS time stamps are always relative to the system clock, so it can be used only with CLOCK_REALTIME as the slave clock. (phc2sys should print an error message if not) You can split it in to two phc2sys commands, one synchronizing the system clock from the PPS (ntpd must be disabled or configured to not touch the system clock) and the other synchronizing the PHC from the system clock. -- Miroslav Lichvar |