On Mon, Sep 11, 2017 at 09:59:03AM -0500, Mike Lynch wrote:
> 
>    phc2sys -a -r
> 
> 
> The issue I'm experiencing is that when both of the PTP ports are in modes
> (both are in PTP state MASTER) that disqualifies them as the "master" in
> phc2sys, the system clock is not synchronized to whichever PHC device
> phc2sys chooses as the "master" PHC device under these conditions.

So, when all of the ports of a system are in the MASTER state, then
the system is the Grand Master (GM).

Normally, a GM has some global time reference like GPS, but if you
don't have that, then you can tell phc2sys to use the GM's
CLOCK_REALTIME in that case.

    phc2sys -a -r -r

With two -r flags, the PHC's will be synchronized to the local Linux
system clock.  That is not exactly what you asked for, but maybe that
will work for you?


Thanks,
Richard




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to