I have a PiFace RTC clock that I have setup on archlinux ARM on a rpi2.
I have edited
/boot/config.txt to add
I have added i2c-dev and i2c:mcp7941x modules to
But the kernel does not seem to use it to update the system clock. I can see the rtc driver is loaded:
kernel: rtc-ds1307 1-006f: registered as rtc0
and there is a
/dev/rtc0 device. But the kernel does not update system clock with it.
It is only systemd-timesyncd that restores time from saved timestamp. And then later on sync time with SNTP if I have a network available.
The idea of having a RTC is to have correct time 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 ?