I found significant issues with RTC on NanoPi R5C.
1.) When attaching the battery connector, the board is NOT fitting in the CNC housing anymore.
2.) In spite of attaching the battery (and measured 3.0V polarity-correct), RTC is not keeping the date and it always resets to 2017.
Here are a few logs:
Now HALT, then remove the power cord, then reattach the power cord, then log back in:
As you can see, RTC doesn't remember the correct date!
I'm using "Debian 11(Bullseye) Core, no desktop environment, command line only, kernel version 5.10.y "
Any clue/idea on how can I make this working?
1.) When attaching the battery connector, the board is NOT fitting in the CNC housing anymore.
2.) In spite of attaching the battery (and measured 3.0V polarity-correct), RTC is not keeping the date and it always resets to 2017.
Here are a few logs:
Code: Select all
$ dmesg | grep rtc
[ 2.992713] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[ 2.992838] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[ 3.212985] rk808-rtc rk808-rtc: registered as rtc0
[ 3.213495] rk808-rtc rk808-rtc: setting system clock to 2017-08-04T09:00:03 UTC (1501837203)
[ 5.968490] rtc-hym8563 5-0051: rtc information is valid
[ 5.973021] rtc-hym8563 5-0051: registered as rtc1
$ timedatectl status
Local time: Sun 2023-07-09 23:18:53 CEST
Universal time: Sun 2023-07-09 21:18:53 UTC
RTC time: Sun 2023-07-09 21:18:53
Time zone: Europe/Budapest (CEST, +0200)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
Now HALT, then remove the power cord, then reattach the power cord, then log back in:
Code: Select all
$ dmesg | grep rtc
[ 2.992325] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[ 2.992442] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[ 3.213450] rk808-rtc rk808-rtc: registered as rtc0
!!! [ 3.213953] rk808-rtc rk808-rtc: setting system clock to 2017-08-04T09:00:03 UTC (1501837203)
[ 5.900733] rtc-hym8563 5-0051: rtc information is valid
[ 5.907632] rtc-hym8563 5-0051: registered as rtc1
As you can see, RTC doesn't remember the correct date!
I'm using "Debian 11(Bullseye) Core, no desktop environment, command line only, kernel version 5.10.y "
Any clue/idea on how can I make this working?