Raspberry Pi 4B DS3231 real-time clock

2020-08-23 Thread Archimedes Gaviola
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

Re: Raspberry Pi 4B DS3231 real-time clock

2020-08-23 Thread Mark Kettenis
> From: Archimedes Gaviola > 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 m

Re: Raspberry Pi 4B DS3231 real-time clock

2020-08-23 Thread Archimedes Gaviola
On Sun, Aug 23, 2020 at 10:50 PM Mark Kettenis wrote: > > From: Archimedes Gaviola > > 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. > > >

Re: Raspberry Pi 4B DS3231 real-time clock

2020-08-23 Thread Archimedes Gaviola
Correction, it's -> $ rdate pool.ntp.org On Mon, Aug 24, 2020 at 1:04 AM Archimedes Gaviola < archimedes.gavi...@gmail.com> wrote: > > > On Sun, Aug 23, 2020 at 10:50 PM Mark Kettenis > wrote: > >> > From: Archimedes Gaviola >> > Date: Sun, 23 Aug 2020 22:36:49 +0800 >> > >> > Hi, >> > >> > Goo

Re: Raspberry Pi 4B DS3231 real-time clock

2020-08-23 Thread Mark Kettenis
> From: Archimedes Gaviola > Date: Mon, 24 Aug 2020 01:04:23 +0800 > > On Sun, Aug 23, 2020 at 10:50 PM Mark Kettenis > wrote: > > > From: Archimedes Gaviola > > Date: Sun, 23 Aug 2020 22:36:49 +0800 > > > > Hi, > > > > Good day! > > > > How to enable DS3231 real-time clock in Raspb

Re: Raspberry Pi 4B DS3231 real-time clock

2020-08-23 Thread Archimedes Gaviola
On Mon, Aug 24, 2020 at 1:10 AM Mark Kettenis wrote: > > From: Archimedes Gaviola > > Date: Mon, 24 Aug 2020 01:04:23 +0800 > > > > On Sun, Aug 23, 2020 at 10:50 PM Mark Kettenis > > wrote: > > > > > From: Archimedes Gaviola > > > Date: Sun, 23 Aug 2020 22:36:49 +0800 > > > > > > Hi, > >

Re: Raspberry Pi 4B DS3231 real-time clock

2020-08-23 Thread Mark Kettenis
> From: Archimedes Gaviola > Date: Mon, 24 Aug 2020 01:18:46 +0800 > > On Mon, Aug 24, 2020 at 1:10 AM Mark Kettenis > wrote: > > > From: Archimedes Gaviola > > Date: Mon, 24 Aug 2020 01:04:23 +0800 > > > > On Sun, Aug 23, 2020 at 10:50 PM Mark Kettenis > > > wrote: > > > > > From:

Re: Raspberry Pi 4B DS3231 real-time clock

2020-08-23 Thread Archimedes Gaviola
> > > openbsd67rpi4b# dmesg > > OpenBSD 6.7-current (GENERIC.MP) #775: Wed Aug 19 00:17:01 MDT 2020 > > dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP > > real mem = 1996668928 (1904MB) > > avail mem = 1903022080 (1814MB) > > random: good seed from bootblocks > > mainbus0