On Wed, Jan 05, 2022 at 07:34:07PM +0000, ramesh t wrote:
> hi,
> 
> Running ptp4l in BC mode, with clock_type set to BC and boundary_clock_jbod 
> set to 1. Have connected one NIC port to BC/GM and another NIC port to 
> testing unit (TU). Following is the ptp4l command.
> 
> ./ptp4l -2 -A -w -i <port connected to BC/GM> -i <port connected to TU> -f 
> /etc/ptp4l_bc.c
> 
> In BC mode, ptp4l getting clock from BC/GM and is providing clock to testing 
> unit.
> 
> Also running below phc2sys command:
> phc2sys -s <port to connected to BC/GM> -c CLOCK_REALTIME -w -r -n 24
> phc2sys -s <port to connected to BC/GM> -c <port connected to TU> -r -w -n 24

You should use the phc2sys automatic mode (-a) when using boundary_clock_jbod.

Thanks,
Richard


_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to