nxp-archive / openil_linuxptp

PTP IEEE 1588 stack for Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to use SWTS PTP in Xenomai?

mystyang opened this issue · comments

Hello,
I am working on using PTP with two NXP LS1043 Boards.
And for some reason, I need to use software timestamp.
So, for eliminating the jitter and latency, I am thinking about using LinuxPTP in Xenomai rather than Linux. But I don't know much about Xenomai, is it possible?
Thanks!

Hello,

What sync accuracy and precision are you seeking to achieve?
What WLAN card and Linux driver are you using?
Chapter 12 of the 802.1AS-2011 spec gives some guidance on how gPTP could be run over an 802.11 link. It requires the newly introduced (as of 802.11-2012) MAC Layer Management Entity (MLME) primitives TIMINGMSMT (Timing Measurement, Clause 6.3.57 and Clause 10.23.5).

I'm not sure if there exists any open source implementation of it, including the necessary support in the Linux kernel.

To answer the question about Xenomai: LinuxPTP is currently designed for Ethernet links
simply compiling linuxptp with the Xenomai Cobalt C library is not straightforward and will cause runtime issues as discussed here: https://sourceforge.net/p/linuxptp/mailman/linuxptp-users/thread/20130812112433.GB22099%40netboy/#msg31274667

Hello vladimiroltean,
Thanks for your reply.
Our aim is to achieve an offset of fewer than 50 microseconds.
Thanks for the information, I am going to learn about it .