On Wed, Mar 09, 2022 at 04:35:37PM +0530, Raj wrote:
> what is the command to use:
> 
> option 1: "phc2sys -d /dev/pps0 -c CLOCK_REALTIME -c /dev/ptp0 -o 0"

There can be only one -c option and with -d it has to be the system
clock.

> option 2: "phc2sys -d /dev/pps0 -c CLOCK_REALTIME -o 0
>                 phc2sys -s CLOCK_REALTIME -c /dev/ptp0 -o 0"

This could work, assuming /dev/pps0 is not a PPS device of /dev/ptp0.

-- 
Miroslav Lichvar



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

Reply via email to