Skip to content

Instantly share code, notes, and snippets.

@mharsch
Created May 10, 2026 01:56
Show Gist options
  • Select an option

  • Save mharsch/8da6529f61d674acfcffba49de89e8d0 to your computer and use it in GitHub Desktop.

Select an option

Save mharsch/8da6529f61d674acfcffba49de89e8d0 to your computer and use it in GitHub Desktop.
Configure POWERplate24 Realtime Clock on Raspberry Pi OS Trixie

Notes

  • Trixie doesn't install fake-hwclock by default (no need to remove)
  • Kernel will pick up rtc time early in the boot process automatically
  • Supposedly, the kernel watches drift and syncs rtc every 11 minutes
  • No startup scripts to modify anymore (changed with Trixie)

Setup Procedure

  1. enable i2c using raspi-config
  2. add dtoverlay=i2c-rtc,pcf8523 to /boot/firmware/config.txt
  3. install hwclock by installing the package util-linux-extra
  4. reboot
  5. check date with timedatectl status
  6. if the rtc time doesn't match system time, sync with sudo hwclock -w
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment