From owner-freebsd-arm@freebsd.org Wed Nov 27 00:17:55 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 936361C5ADB for ; Wed, 27 Nov 2019 00:17:55 +0000 (UTC) (envelope-from per@hedeland.org) Received: from mailout.easydns.com (mailout.easydns.com [64.68.202.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47N1ZB4jn5z4RmM for ; Wed, 27 Nov 2019 00:17:54 +0000 (UTC) (envelope-from per@hedeland.org) Received: from localhost (localhost [127.0.0.1]) by mailout.easydns.com (Postfix) with ESMTP id 7D401C0DEB for ; Wed, 27 Nov 2019 00:17:52 +0000 (UTC) Received: from mailout.easydns.com ([127.0.0.1]) by localhost (emo12-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NosdvYP2kakC for ; Wed, 27 Nov 2019 00:17:52 +0000 (UTC) Received: from hedeland.org (81-228-157-209-no289.tbcn.telia.com [81.228.157.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easydns.com (Postfix) with ESMTPSA id 3F82BC0C86 for ; Wed, 27 Nov 2019 00:17:51 +0000 (UTC) Received: from pluto.hedeland.org (pluto.hedeland.org [10.1.1.5]) by tellus.hedeland.org (8.15.2/8.15.2) with ESMTPS id xAR0HovK020303 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 27 Nov 2019 01:17:50 +0100 (CET) (envelope-from per@hedeland.org) Subject: Re: rpi3 clock drift To: freebsd-arm@freebsd.org References: <486c0bc46deeefb8338f50fe6dfdf7951786e56c.camel@freebsd.org> From: Per Hedeland Message-ID: <925e99c9-d723-0209-5533-edf8cb7cc6c1@hedeland.org> Date: Wed, 27 Nov 2019 01:17:50 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47N1ZB4jn5z4RmM X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of per@hedeland.org has no SPF policy when checking 64.68.202.10) smtp.mailfrom=per@hedeland.org X-Spamd-Result: default: False [3.14 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; RECEIVED_SPAMHAUS_PBL(0.00)[209.157.228.81.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.92)[0.920,0]; RCVD_TLS_LAST(0.00)[]; URIBL_PBL(0.01)[hedeland.org]; NEURAL_SPAM_LONG(0.89)[0.893,0]; DMARC_NA(0.00)[hedeland.org]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[10.202.68.64.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16686, ipnet:64.68.200.0/22, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.52)[ip: (0.81), ipnet: 64.68.200.0/22(0.14), asn: 16686(1.74), country: CA(-0.09)]; FROM_EQ_ENVFROM(0.00)[] 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: Wed, 27 Nov 2019 00:17:55 -0000 On 2019-11-27 00:17, Stefan Parvu wrote: > >> >> Can someone else with an rpi3 (which keeps good time) confirm that >> that's the usual number? > > > this is slightly different model: rpi3+ . I think it does use a different SOC than rpi3. > > krmx@k1:~ % sysctl kern.timecounter > kern.timecounter.fast_gettime: 1 > kern.timecounter.tick: 1 > kern.timecounter.choice: ARM MPCore Timecounter(1000) dummy(-1000000) > kern.timecounter.hardware: ARM MPCore Timecounter > kern.timecounter.alloweddeviation: 5 > kern.timecounter.stepwarnings: 0 > kern.timecounter.tc.ARM MPCore Timecounter.quality: 1000 > kern.timecounter.tc.ARM MPCore Timecounter.frequency: 19200000 > kern.timecounter.tc.ARM MPCore Timecounter.counter: 3645432288 > kern.timecounter.tc.ARM MPCore Timecounter.mask: 4294967295 The same on what is a 3B w/o '+' AFAIR, keeping very good time: pi3 2> sysctl kern.timecounter kern.timecounter.fast_gettime: 1 kern.timecounter.tick: 1 kern.timecounter.choice: ARM MPCore Timecounter(1000) dummy(-1000000) kern.timecounter.hardware: ARM MPCore Timecounter kern.timecounter.alloweddeviation: 5 kern.timecounter.stepwarnings: 0 kern.timecounter.tc.ARM MPCore Timecounter.quality: 1000 kern.timecounter.tc.ARM MPCore Timecounter.frequency: 19200000 kern.timecounter.tc.ARM MPCore Timecounter.counter: 27058350 kern.timecounter.tc.ARM MPCore Timecounter.mask: 4294967295 and pi3 3> cat /var/db/ntp/ntpd.drift -5.333 pi3 4> uname -a FreeBSD pi3.hedeland.org 12.0-STABLE FreeBSD 12.0-STABLE r345358 GENERIC arm64 --Per Hedeland