20h offset with DS3231 RTC

Bernd Walter ticso at cicely7.cicely.de
Thu Nov 21 19:26:51 UTC 2019


On Thu, Nov 21, 2019 at 12:15:06PM -0700, Ian Lepore wrote:
> On Wed, 2019-11-20 at 23:42 +0100, Bernd Walter wrote:
> > I just added an RTC to a Pi3B with FreeBSD 12.1-RELEASE:
> > ds32310: <Maxim DS3231 RTC> at addr 0xd0 on iicbus0
> > ...
> > Setting date via ntp.
> > 20 Nov 22:55:48 ntpdate[760]: step time server 46.165.221.137 offset 71999.728041 sec
> > 
> > This was the 3rd reboot.
> > The first boot had no actual time as expected and the RTC wasn't even running.
> > The second already showed the offset.
> > 
> > To verify I checked another systemm, wqhich I've added such an RTC before.
> > dmesg said that it booted 9 days ago with 1s offset, but with another reboot:
> > 20 Nov 23:31:44 ntpdate[826]: step time server 80.67.16.8 offset 72000.160415 sec
> > 
> > It seems that the error depends on the actual date/time.
> > 
> 
> This should be fixed in r354973.

Wow - amazing.
I'll give it a try.
Thank you very much.

-- 
B.Walter <bernd at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.


More information about the freebsd-arm mailing list