Re: [Linuxptp-users] Observing below issue with ptp4l running in BC mode
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: ramesh t <ram...@ya...> - 2022-01-06 01:40:43
|
hi Richard, Using option -a will automatically time sync all the PHC devices in the system. Is there a way to sync only those interface which are part of BC configuration (port connected to Testing Unit)?? Using -a option, will it help to solve this issue seen? Because ptp4l is going into PS_FAULTY? Please suggest. regards, Ramesh On Thursday, January 6, 2022, 01:33:54 AM GMT+5:30, Richard Cochran <ric...@gm...> wrote: 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 |