I have a PiFace RTC clock that I have setup on a rpi2.
But the kernel does not seem to use it to update the system clock.
It is only systemd-timesyncd that restores time from saved timestamp. And then later on sync the time with SNTP if I have a network available.
The idea of having a RTC is to have a correct time even if there is no network.
But this is not used at all.
How do I tell the kernel to use the RTC to update system clock at boot ? or only if there is no internet connection ?
the archlinux wiki is rather vague about this:$this->bbcode_second_pass_quote('', ' ')During kernel startup, at the point when the RTC driver is loaded, the system clock may be set from the hardware clock. Whether this occurs depends on the hardware platform, the version of the kernel and kernel build options. If this does occur, at this point in the boot sequence, the hardware clock time is assumed to be UTC and the value of /sys/class/rtc/rtcN/hctosys (N=0,1,2,..) will be set to 1.