> From: Archimedes Gaviola <archimedes.gavi...@gmail.com> > Date: Sun, 23 Aug 2020 22:36:49 +0800 > > Hi, > > Good day! > > How to enable DS3231 real-time clock in Raspberry Pi 4B? In Raspberry Pi 3B > these 2 lines below in the config.txt works. > > dtparam=i2c_arm=on > dtoverlay=i2c-rtc,ds3231 > > and resolve the dmesg messages below. > > WARNING: clock lost 8 days > WARNING: CHECK AND RESET THE DATE! > > This system is not always connected to the Internet.
I think only the dtoverlay line is needed. But yes, this works as long as the i2c-rtc overlay file is present in the overlays subdirectory of the firmware partition of your boot medium. Many of the other chip types supported by the i2c-rtc overlay are supported by OpenBSD as well. Feel free to send me any modules with unsupported chips, and I'll make them work. Cheers, Mark