Trying to get an RTC to load at boot. I've enabled i2c, that works fine for other components.
snd-bcm2835 i2c-bcm2835 i2c-dev rtc-ds3231
echo ds3231 0x68 > /sys/class/i2c-adapter/i2c-1/new_device hwclock -s
i2cdetect -y 1 shows UU in the 68 slot
I can set the date using
-r, '-w', and
if I reboot, I get from
hwclock: The Hardware Clock registers contain values that are either invalid (e.g. 50th day of month) or beyond the range we can handle (e.g. Year 2095).
I can then write, read and sync with it again fine.
Any suggestions?! I've tried replacing the RTC module, but the same thing happens. Same if I remove the battery from the RTC.
If I remove the battery, the first time I boot it will show the date in the year 2000, but after that it'll go back to the error.