AW: [PATCH 0/4] NTP support (master)

Gabriel.Moyano at dlr.de Gabriel.Moyano at dlr.de
Mon Feb 7 15:14:32 UTC 2022


> Hello Gabriel,
> I reviewed the patch set and the kern_ntptime.c. Changes in FreeBSD in kern_ntptime.c are infrequently. The module is pretty self
> contained. I suggest to import this file into the RTEMS sources due to the coupling with kern_tc.c which is already present in RTEMS.

Sounds good.
There still some functions needed by PPS API which are in rtems-libbsd. So it is still required to set some pointers to function before running a synchronization using PPS.

> The ntp_update_second() is called by _Timecounter_Windup() under protection of the _Timecounter_Lock. I don't think we need the
> extra ntp_lock.
>
> I will work on a patch which includes the current kern_ntptime.c to RTEMS. It should be ready by end of next week.
> 
> Do you have plans to enable the PPS_SYNC option?
> 

Yes.  Actually, I have something working.


More information about the devel mailing list