On Mon, Mar 13, 2023 at 10:51:14AM +0530, sarveshwar k wrote:
> Hi Miroslav Lichvar,
> 
> Does "rtcsync" directive starts syncing RTC with system time irrespective
> of refclocks syncing the System clock.

chronyd configured with rtcsync clears the kernel "unsynchronized"
flag (STA_UNSYNC) when the system clock is synchronized, which
enables the kernel 11-minute system->RTC copy. You can use the
adjtimex(8) program to verify when the status field contains 64
(STA_UNSYNC).

> Can we configure as like below:
> 1. Using refclocks for GPS and PPS, sync the system clock
> 2. Once system clock is synced, RTC should be synced
> 3. If no refclock signals available for GPS and PPS, rtcsync shall not
> happen

That's how it should work.

-- 
Miroslav Lichvar


-- 
To unsubscribe email [email protected] 
with "unsubscribe" in the subject.
For help email [email protected] 
with "help" in the subject.
Trouble?  Email [email protected].

Reply via email to