Re: [Linuxptp-users] phc2sys time offset is abnormal

2023-06-12 Thread egg car
Hi, >Q1, I have learned the rms, and how can I get the offset value in the log > of ptp4l? If you want to see the raw offset value, you should turn 'summary_interval' down, in ptp4l.conf, when summary_interval - sync_interval <= 0, the stats output raw measurement value instead of rms val

Re: [Linuxptp-users] phc2sys time offset is abnormal

2023-06-12 Thread egg car
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

[Linuxptp-users] phc2sys time offset is abnormal

2023-06-12 Thread 这个🍊 不太冷 via Linuxptp-users
Hi,    I am using a embeded board, which contains a mcu and a soc. Two chips communicate through a switch chip. The mcu works as ptp master, the soc works as slave. The period of sync&follow up message is 0.125s.     Here is log of ptp slave:    # ptp4l -i vlan12 -f automotive-slave.cfg -m