PTP on RTEMS
Chris Johns
chrisj at rtems.org
Thu Mar 18 01:40:51 UTC 2021
Hello,
I have created a tarball of my PTP efforts so far:
https://ftp.rtems.org/pub/rtems/people/chrisj/ptp/
It is a collection of sources I have as a WIP that you link into an application.
This is a development technique I use to avoid building multiple libraries.
The package contains:
- PTP2 sources updated to support kqueue
- Updated RTEMS score sources to support NTP related calls
- Various LibBSD pieces
I cannot remember if the PTP sources have the required LibBSD RTEMS defines. It
would be good to have them.
I have tested the code against a FreeBSD PTP master clock operating in slave mode.
If you set a `TZ` in the environment you will get a suitable local time from
date and friends.
Future
------
I see us adding ptp2 to LibBSD and the RTEMS changes being merged into score. I
have no interest in supporting PTP on the lgacy stack.
I welcome anyone forwarding this effort and getting it into RTEMS 6.
Chris
More information about the devel
mailing list