Hello Richard,

I didn't get why you are suggesting to run phc2sys in master ??
Would like to say my requirement once again,

Master side Slave side
system clock-->PHC clock---------------------PHC clock--->system clock

Master:
1) setting date:
                          Wed Jul 24 _/10:08:00/_ IST 2019
2) Running :
                     ./ptp4l -i eth1 -m

Slave :
1) setting date:
                          Wed Jul 24 /_10:09:00_/ IST 2019
2) Running :
                     ./ptp4l -i eth1 -s -m

After running ptp4l utility in master and slave, i can see slave PHC clock is synchronized with master. Further more, i want to sync slave system clock with slave PHC clock which is already synchronized above, so that i'm expecting slave date will become same like master. (correct me if its not possible)

Kindly let me know after ptp4l what i need to run in slave to get my requirement done.

Thanks,
Gourav


On 7/23/2019 10:28 PM, Richard Cochran wrote:
On Tue, Jul 23, 2019 at 10:13:41AM +0530, gourav jain wrote:
Hi,
If your intent is to serve the system time, then you need two -r flags
here, for example:

     ./phc2sys -a -r -r -m


the above said where i need to run in master or slave side ??
On the master (the one serving the time).

HTH,
Richard


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

Reply via email to