NTP client recommendation for RTEMS?

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Feb 18 13:46:23 UTC 2022


On 18/02/2022 14:43, Joel Sherrill wrote:
> On Fri, Feb 18, 2022, 7:22 AM Sebastian Huber 
> <sebastian.huber at embedded-brains.de 
> <mailto:sebastian.huber at embedded-brains.de>> wrote:
> 
>     Hello,
> 
>     I would like to add an NTP client support for RTEMS. The ntp_adjtime()
>     implementation is already available as a patch. For testing purposes I
>     ported the NTP daemon from FreeBSD to libbsd. This basically works
>     fine.
>     I am not sure about the maintenance status of this code
>     (https://www.ntp.org/ <https://www.ntp.org/>). There is also
> 
>     https://www.ntpsec.org/ <https://www.ntpsec.org/>
> 
>     This project has a public Git repository and seems to be more active.
>     However, there is no standard package for openSUSE Leap 15.3. Maybe
>     this
>     is because most Linux users use now timesyncd from systemd. Any
>     recommendations?
> 
> 
> I'd stick with ntp.org <http://ntp.org> without much thought. With that 
> being what FreeBSD uses, it is icing on the cake.

The code looks not that good. There seems to be a lot of cleanup done in 
ntpsec.org.

> 
> Did you eliminate use of signals like Chris had to do with ptpd?

Not yet, they use both select(), but this should be changed to use 
kqueue(). I hacked away the use of signal.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list