Hwclock failed with “hwclock: Cannot access the Hardware Clock via any known method.”

new LX2160A Board and I download the newest image,but when I
update hwclock ,unfortunately, I failed.

err msgs:

root@bogon:~# hwclock -w
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the --verbose option to see the details of our search for an access method.

image info

root@bogon:~# uname -a
Linux bogon 5.10.35-00020-g8814ea753738 #1 SMP PREEMPT Tue May 31 12:48:15 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

please post a link to the output of dmesg, thanks.

1 Like

@vader module loading is currently broken in our latest images by default, so the driver for the rtc is not actually loaded during boot.

Please run depmod -a as root, then reboot and retry.

We will try to fix this loading problem soon™.

thx,it’s working

We have pushed an update to lx2160a_build that should fix the module loading, so images dated June 8. 2022 and newer should work out of the box.