On Tue, May 16, 2023 at 01:54:47PM +0000, Eric Decker wrote:
> I have a question related to the question below. If you use a
> boundary clock between gPTP and PTP, does the PHC have to be shared
> by both NICs?
Yes.
> If each NIC has an independent PHC I think phy2sys has to be used
> two synchronized two instances ptp4l but I am not sure how this
> configuration could work as a boundary clock.
Use phc2sys flag -a and maybe also -r
From the man page:
-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.
-r Only valid together with the -a option. Instructs phc2sys to
also synchronize the system clock (CLOCK_REALTIME). By default,
the system clock is not considered as a possible time source. If
you want the system clock to be eligible to become a time
source, specify the -r option twice.
HTH,
Richard
_______________________________________________
Linuxptp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-users