Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2019 20:26:43 +0100
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        Ian Lepore <ian@freebsd.org>
Cc:        ticso@cicely.de, freebsd-arm@freebsd.org, Bernd Walter <ticso@cicely7.cicely.de>
Subject:   Re: 20h offset with DS3231 RTC
Message-ID:  <20191121192643.GD41336@cicely7.cicely.de>
In-Reply-To: <fc6f8dacf83349dd8d2e8bf4865e4b5c090f7cb5.camel@freebsd.org>
References:  <20191120224239.GA34719@cicely7.cicely.de> <fc6f8dacf83349dd8d2e8bf4865e4b5c090f7cb5.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191121192643.GD41336>