On Thu, Aug 02, 2018 at 12:55:44PM +0800, l...@codeaurora.org wrote:
> I will check the driver carefully, would you please also tell me how the
> abnormal frequency(204799934) calculated in Linuxptp as below log?
> I print this debug info in the kernel function scaled_ppm_to_ppb(), many
> thanks.

That log is completely mangled and illegible.  This is not the place
to discuss your driver issues.  If you want to know how ptp4l computes
the frequency, read the source code.

Hint: garbage in, garbage out.


Thanks,
Richard


> ptp4l[188.933]: clock_synchronize master offset         -8 s2 freq      -7
> path delay      3752
> ptp4l[189.763]: bc_event received a message:9
> 
> ptp4l[189.932]: bc_event received a message:0
> 
> ptp4l[189.933]: port_syfufsm p-[  189.935781] ********tx->freq: -60, ppb: -1
> [  189.941048] **********kernel adjfreq get ppb: -1
> > syfu: 0 event :0
> 
> ptp4l[189.933]: bc_event received a message:8
> 
> ptp4l[189.933]: port_syfufsm p->syfu: 1 event :3
> 
> ptp4l[189.933]: port_synchronize t1 158731084875t2 158731088629c1
> 0c2          0t1c 158731084875
> ptp4l[189.933]: tsproc_update_offset tsp->mode:0
> 
> ptp4l[189.933]: tsproc_update_offset t1 158731084875t2 158731088629delay
> 3752
> ptp4l[189.933]: clock_synchronize master offset          2 s2 freq      +1
> path delay      3752
> ptp4l[189.943]: bc_event received a message:b
> 
> ptp4l[190.483]: bc_event received a message:9
> 
> ptp4l[190.932]: bc_event received a message:0
> 
> ptp4l[190.933]: port_syfufsm p-[  190.935800] ********tx->freq: 204799934,
> ppb: 3124999
> [  190.941071] **********kernel adjfreq get ppb: 3124999
> > syfu: 0 event :0
> 
> ptp4l[190.933]: bc_event received a message:8
> 
> ptp4l[190.933]: port_syfufsm p->syfu: 1 event :3
> 
> ptp4l[190.933]: port_synchronize t1 159731113930t2 159533160040c1
> 0c2          0t1c 159731113930
> ptp4l[190.933]: tsproc_update_offset tsp->mode:0
> 
> ptp4l[190.933]: tsproc_update_offset t1 159731113930t2 159533160040delay
> 3752
> ptp4l[190.933]: clock_synchronize master offset -197957642 s2 freq -3124999
> path delay      3752

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to