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 7/23/2019 9:50 AM, gourav jain wrote:
Hi Richard,

Whatever flag i'm setting in ./phc2sys ....it always making date in the year of 1970

On 7/22/2019 7:54 PM, Richard Cochran wrote:
On Mon, Jul 22, 2019 at 05:08:24PM +0530, gourav jain wrote:
I'm trying to sync dates in-between two system(NPX based chipset MPC8313), by making one master while another one slave, by using ptp4l and phc2sys
commands.
master:
root@CDOT-BBWT:/# ./phc2sys -a -r -m
If your intent is to serve the system time, then you need two -r flags
here, for example:

    ./phc2sys -a -r -r -m

HTH,
Richard




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


--
Gourav Jain /गौरव जैन
SRE, PSG Lab /एसआरई, पीएसजी
C-DOT (Govt. of India)/सी-डॉट (भारत सरकार)
Electronics City Phase I/इलैक्ट्रॉनिक्स सिटी फेज़ I
Hosur Road, Bengaluru-560100/ होसूर रोड, बेंगलूरु-560100
फोन: 080-25119899, 9900348038



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

Reply via email to