On Mon, 2014-06-02 at 18:19 +0200, Richard Cochran wrote:
> On Mon, Jun 02, 2014 at 04:07:38PM +0000, Daniel Le wrote:
> > I understand that linuxptp code base as is requires Linux kernel
> > version 3.0 or newer. For platforms where kernel 3.x is not yet
> > available, is it possible to backport linuxptp into a kernel
> > 2.6.30+? 
> 
> (Everything is possible.)
> 

Redhat did a semi-decent job in their RHEL 6.4, and 6.5 kernels. I've
tested ptp4l against them, and it mostly works.

> 
> > If so, what would need to be done?
> 
> You would need to back port the PHC subsystem.
> 
> > Does it make sense to
> > modify the hardware abstraction layer to use some specific NIC FPGA
> > TX/RX timestamping and driver (instead of PHC API), and keep the
> > linuxptp PTP protocol stack part intact?
> 
> If you only need to support exactly one card, then that might be the
> easiest way.

You should be careful to make sure that the exposed userspace API is the
same, though, and you would want to backport the ethtool timestamp mode
command.

I am not sure exactly how easy it would be to implement the same exact
API and accessors, but it might be easier than backporting the entire
PHC interface.

> 
> > I came across a discussion panel where it indicated Red Hat
> > backported the linuxptp PHC API and drivers into RHEL6.5 / CentOS
> > 6.5 (kernel 2.6.32).
> 
> Both Redhat and TI tried to back port the PHC subsystem, and in both
> cases the result was buggy.
> 

Redhat's 6.5 kernel has somewhat OK support. I've tested against it, and
it works, but there may be some issues.

I haven't tried TI.

Thanks,
Jake

> HTH,
> Richard
> 
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, 
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> Linuxptp-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/linuxptp-devel


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to