Real-time clock on the HackerGadgets AIO boards
The AIO's PCF85063A keeps time off-grid once the right overlay is in config.txt — and on a CM5 the built-in fake RTC has to be switched off first.
What it takes
- Config change
- Purchase required
Difficulty 1 of 3 — easy.
Details
Both AIO generations carry a PCF85063A on I²C. On a CM4 it is dtparam=i2c_arm=on plus dtoverlay=i2c-rtc,pcf85063a; on a CM5 the chip sits on the CSI/DSI I²C bus, so the lines are dtparam=rtc=off and dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi0 under a [pi5] section — bfpa40's thread shows the rtc-pcf85063 ... RTC chip is not present errors you get without them. Once the system clock is right (NTP or GPS), sudo hwclock -w writes it to the chip and sudo hwclock -r reads it back.
Rex's hackergadgets-uconsole-aio-board package sets the overlays up for CM4 and CM5, which is the route the thread ends up recommending.





