Reason why I need an working hardware clock:
Because my access point need to work without internet connection, but with always the right date and time.
Following made the battery operated hardware clock ds3132 to work:
OS: Armbian Bookworm from 24-04-2025
apt-get update (No upgrade! )
Edit /boot/armbianEnv.txt
add following lines:
overlays=i2c0
dtoverlay=i2c-rtc,ds1307
Edit /etc/modules
add following lines
i2c-dev
aml_i2c
Check date and eventual correct date and time.
Check if the i2c has the right status with: i2cdetect -y 0 ==> address 068 should show UU
Check hwclock is communicating with: hwclock --verbose
Save the right system time to the hwclock with: hwclock -w
Check if you can read hwclock with: hwclock -r