On Wed, Oct 03, 2018 at 03:54:59PM +0000, Keller, Jacob E wrote:
> If I recall correctly, you need to use boundary_clock_jbod=1 while also
> setting all three interfaces, in a single invocation of ptp4l, and ofcourse
> they all must report hardware timestamping capability.
>
> I am not sure about phc2sys configuration though.
Right, so for JBOD mode you would use:
ptp4l -i eth0 -i eth1 -i eth2 --boundary_clock_jbod=1
phc2sys -a
From the ptp4l man page:
boundary_clock_jbod
When running as a boundary clock (that is, when more than one
network interface is configured), ptp4l performs a sanity check
to make sure that all of the ports share the same hardware clock
device. This option allows ptp4l to work as a boundary clock
using "just a bunch of devices" that are not synchronized to
each other. For this mode, the collection of clocks must be syn‐
chronized by an external program, for example phc2sys(8) in
"automatic" mode. The default is 0 (disabled).
From the phc2sys man page:
With the -a option, the clocks to synchronize are fetched from the run‐
ning ptp4l daemon and the direction of synchronization automatically
follows changes of the PTP port states.
...
-a Read the clocks to synchronize from running ptp4l and follow
changes in the port states, adjusting the synchronization direc‐
tion automatically. The system clock (CLOCK_REALTIME) is not
synchronized, unless the -r option is also specified.
HTH,
Richard
_______________________________________________
Linuxptp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-users