Boundary clock support for ptpd

George Neville-Neil gnn at neville-neil.com
Fri Apr 30 11:34:41 EDT 2010


On Apr 30, 2010, at 11:27 , Wolfgang Grandegger wrote:

> gnn wrote:
>> On 4/15/10 15:54 , Wolfgang Grandegger wrote:
>>> Hello,
>>> 
>>> anybody listening?
>>> 
>> 
>> Yes, just a bit slow.
>> 
>>> 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?
>> 
>> 
>> I have not looked at that, but I will try to check that out.
> 
> FYI, Richard Cochran posted recently a patch series for a generic IEEE
> 1588 hardware clock support, which together with the hw timestamping
> interface, does provide a common Linux interface for PTP applications:
> 
>  http://marc.info/?l=linux-netdev&m=127235963807285&w=2

OK, I'll look into that.

Thanks,
George




More information about the Ptpd mailing list