Hi, > Q1, I can only find rms value in log of ptp4l, but no offset value. And this > rms value does not converge. Is it normal? How can I get offset log? The rms value is the statistic value of offset. It depends on whether your test suites supports hwtimestamp or only software timestamp, and the accuracy of the gm(your mcu perhaps), and whether the switch chip supports hw ptp correction or not.
> Q2, as shown by the result of phc_ctl, the offset between sys time and phc > time is about 37s, how can I fix it? It's the offset between unix ts and TAI ts, don't worry it's okay, the kernel time always offset with TAI-based phc of 37s until the next leap second event (perhaps that'll never gonna happen again...) _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users