From owner-freebsd-arm@freebsd.org Thu Nov 21 19:15:14 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1AE401C860A for ; Thu, 21 Nov 2019 19:15:14 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound3d.ore.mailhop.org (outbound3d.ore.mailhop.org [54.186.57.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47Jq5F4tWHz3K7J for ; Thu, 21 Nov 2019 19:15:13 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1574363711; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=B1QWJwk4s5X0NKK01Om1pecFQMjZHmgYZzrf8tKmc5Blerwj5q2vCaSC2aE01eU/EVft5NVkGLgrK tiKx609dqS7a0Ii22s+6kxZtGHii+sI8NKDESnzaPogEI0U7rSPVZKUAJUBY6i/EI0u2YkLljdr7kv Cl2EJA9NJvEhplTV8TZRSwsAt8NaM7UdRen+dyE+pRbXE00hxVulaOLo9DDoLFcyoMPTShHY7Y2xI1 Qp9G+JdOEKid27vGi+LDZdP8UEkjrCi5cr4qyvup6UpL5N1No6lJtkcT2UQKP8dTwxG/+cM9zIMRWW xjYlCSb6Mkp3wMQUAqQ/dDHKQjuCAtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=RvYiKo46F9tArBrYQIcDBuziJg1rqhXbHbIDaWoPGaM=; b=QoYu9pnCGl4UzxVVrTzYx+r1ELzP/ERRCmFrCQF/eNMaIqlheL0nAdubw759eTyWsMNs5Vdhjc6Py hRJzDA02rCkkrmiXDvSBjlbsj9UE4UBQm4FTzqeV6D2l2GG9BvfIv2ifPFYsIabhi8f+hTdO+07Giw RndYUHc1s/2jdW8rP0AJrWago2/W0r33qPd2MGNt7WuF/Yt+M5tHfXCmb6cC+PtveCS6iwS7INob6l pQm3Fz2FxNKQj5KWOnVfvE1nPkzXVHxjlEzEpZRUoprZluztHY1N7iV/ti34mXh4GLASIxM8ZchCbA kB+lC7KFhqVziY/KKqRH8LC04nEozWg== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=RvYiKo46F9tArBrYQIcDBuziJg1rqhXbHbIDaWoPGaM=; b=wFY5eDprPQF1emWJ/iBAjc4wPGQhLhyrMYWFanGz0wenj8U4HVShdBFCv9trsSbCrOvDCOOkMXhi5 EzN0Ol6Nt6OOHmJFucBeSUdCBGr9ogKERvdLKmtCok3a0/8Ogz5oPXcDozWS7C389KYnRq30DXcb2R RLe5WEtUHqIqUHtWW2g45iRz44M9cN/egS5AVgDfqK7EtYCZFXeQKvIaGO789rxIN01y2/4lQk3cj6 /xaXa5Qn4x+nNosg5dcmP4PMSL3Y3U0XKEBpUH39CFjVSnmOFer630Jgs8TZs/nH40sHyySnIk/E59 zSgteuymkQ5ddizrR8fcjjh4LFmSOWw== X-MHO-RoutePath: aGlwcGll X-MHO-User: 3aca7654-0c93-11ea-b80c-052b4a66b6b2 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id 3aca7654-0c93-11ea-b80c-052b4a66b6b2; Thu, 21 Nov 2019 19:15:10 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id xALJF691055198; Thu, 21 Nov 2019 12:15:07 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: Subject: Re: 20h offset with DS3231 RTC From: Ian Lepore To: ticso@cicely.de, freebsd-arm@freebsd.org Cc: Bernd Walter Date: Thu, 21 Nov 2019 12:15:06 -0700 In-Reply-To: <20191120224239.GA34719@cicely7.cicely.de> References: <20191120224239.GA34719@cicely7.cicely.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47Jq5F4tWHz3K7J X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.93 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.96)[-0.963,0]; NEURAL_HAM_LONG(-0.97)[-0.970,0]; ASN(0.00)[asn:16509, ipnet:54.186.0.0/15, country:US] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Nov 2019 19:15:14 -0000 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: 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. -- Ian