Alright I am having troubles forcing the ports to use the same PHC. When I specify which PHC to use I get an error about PHC device mismatch. Is there a way to unattach the hardware clock from a specific port?
Output of error sudo ptp4l -i eno1 -p /dev/ptp1 -m -s ptp4l[61532.475]: selected /dev/ptp1 as PTP clock ptp4l[61532.475]: port 1: PHC device mismatch ptp4l[61532.476]: port 1: /dev/ptp1 requested, but /dev/ptp0 attached ptp4l[61532.476]: failed to open port eno1 Or would I be able to enable the boundary_clock_jbod option in a config file and then sync the clocks off the system clock using phc2sys? -----Original Message----- From: Richard Cochran [mailto:richardcoch...@gmail.com] Sent: Thursday, April 20, 2017 4:27 PM To: Mace, Kyle P. Cc: linuxptp-users@lists.sourceforge.net Subject: Re: [Linuxptp-users] ptp inducing as many hops as possible On Thu, Apr 20, 2017 at 07:08:52PM +0000, Mace, Kyle P. wrote: > I am in need to test ptp with as many 'hops' as possible. I have > multiple systems with dual Ethernet ports. I would like to have a > setup something like this: grandmaster -> BC 1 port 1 -> BC 1 port 2 > -> BC 2 port 1 -> BC 2 port 2 -> BC 3 port 1 -> BC 3 port 3 -> > etc.. Anyone have any ideas if this is possible? The linuxptp stack supports this. Remember that all the ports of the BC must share the same clock (that is, the same PHC). Also, long chains of BC are prone to "gain peaking". HTH, Richard ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users