Rayagond Kokatanur
2016-02-09 07:04:05 UTC
Hi All,
I am facing an issue where SLAVE system time is off by around 25-30sec
wrt MASTER system time.
Following is test setup,
a. I have connected two DUT's back to back which supports HARDWARE timestamping.
b. Changed the date and time on both the side and
c. Ran ptp4l command (ptp4l -i eth0 -p /dev/ptp0 -m) on both sides.
After ptp4l command, one DUT becomes SLAVE and other becomes
GRANDMASTER. Both are able to exchange the ptp messages.
I am able to verify that SLAVE PHC is getting synchronized to
GRANDMASTER PHC. I also verified that there is no difference between
MASTER PHC and MASTER system time,.
d. But when I run phc2sys (phc2sys -s /dev/ptp0 -w) on SLAVE side, I
could see that SLAVE system time is behind MASTER system time by
25-30sec.
Is this issue due to phcsys command ? or anything related to driver.
Please lets me know if any other points should be verified. Any other
pointers in resolving the issue would be appreciated.
Thanks and Regards,
Rayagond
I am facing an issue where SLAVE system time is off by around 25-30sec
wrt MASTER system time.
Following is test setup,
a. I have connected two DUT's back to back which supports HARDWARE timestamping.
b. Changed the date and time on both the side and
c. Ran ptp4l command (ptp4l -i eth0 -p /dev/ptp0 -m) on both sides.
After ptp4l command, one DUT becomes SLAVE and other becomes
GRANDMASTER. Both are able to exchange the ptp messages.
I am able to verify that SLAVE PHC is getting synchronized to
GRANDMASTER PHC. I also verified that there is no difference between
MASTER PHC and MASTER system time,.
d. But when I run phc2sys (phc2sys -s /dev/ptp0 -w) on SLAVE side, I
could see that SLAVE system time is behind MASTER system time by
25-30sec.
Is this issue due to phcsys command ? or anything related to driver.
Please lets me know if any other points should be verified. Any other
pointers in resolving the issue would be appreciated.
Thanks and Regards,
Rayagond