Problem with RTC board
Posted: Wed Jan 20, 2021 9:00 pm
I have installed the RTC board (v 1.3). However, I cannot make it work:
In /var/log/messages, the kernel says:
FWIW, I have checked the CR1220 battery and it's ok.
Do I have a faulty board or is a kernel problem of some sorts?
Thanks
Code: Select all
/root# hwclock --verbose
hwclock from util-linux 2.35.1
System Time: 497.303743
Trying to open: /dev/rtc0
Using the rtc interface to the clock.
Assuming hardware clock is kept in UTC time.
Waiting for clock tick...
ioctl(3, RTC_UIE_ON, 0): Invalid argument
Waiting in loop for time from /dev/rtc0 to change
hwclock: ioctl(RTC_RD_TIME) to /dev/rtc0 to read the time failed: Invalid argument
...synchronization failed
Code: Select all
Jan 1 00:00:02 MiSTer user.info kernel: [ 0.269018] rtc-m41t80 1-0068: registered as rtc0
Jan 1 00:00:02 MiSTer user.warn kernel: [ 0.269645] rtc-ds1307: probe of 1-006f failed with error -5
Jan 1 00:00:02 MiSTer user.info kernel: [ 0.269687] i2c-gpio i2c_gpio: using lines 2012 (SDA) and 2013 (SCL)
Jan 1 00:00:02 MiSTer user.err kernel: [ 0.270815] rtc-m41t80 1-0068: hctosys: unable to read the hardware clock
Do I have a faulty board or is a kernel problem of some sorts?
Thanks