Boundary clock support for ptpd

Wolfgang Grandegger wg at grandegger.com
Thu Apr 15 15:54:08 EDT 2010


Hello,

anybody listening?

Wolfgang Grandegger wrote:
> Hello,
> 
> I'm currently evaluating ptpd-1.0.0 for IEEE1588 time syncronization
> with MPC8313 boards. I realized that there is an effort to support PTPv2
> (at http://ptpd.svn.sourceforge.net/viewvc/ptpd/branches/v2/). Could
> somebody give a brief status on what is already working/supported. I'm
> especially looking for boundary clock support (master and slave on the
> same board).

In the meantime I made some progress. I cascaded three MPC8313 boards
and measured jitters of +-150ns on the second and +-300ns on the third
board with ptpd *v1*. I will now try with v2 allowing for shorter sync
intervals, which should reduce the jitter significantly.

I also found some interesting related link. Apart from the PTPDv2
implementation mentioned above, there is another one, especially for the
MPC8313, mentioned here:

http://forums.freescale.com/t5/Other-Microcontrollers/Open-source-for-IEEE-1588-PTP-v2-supporting-MPC831x-to-be/m-p/53829;jsessionid=9DF51308EB4B68D57F509D77E77C8DD9
http://code.google.com/p/ptpv2d/

As I see it, this one also lacks support for recent kernel versions
using the timestamping interface:

http://lxr.linux.no/linux/Documentation/networking/timestamping.txt

Is there already an effort supporting that generic interface in ptpd or
ptpdv2?

Wolfgang.




More information about the Ptpd mailing list