From owner-freebsd-arm@freebsd.org Wed Nov 15 08:47:44 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35492DD55B8 for ; Wed, 15 Nov 2017 08:47:44 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7EAA433D9; Wed, 15 Nov 2017 08:47:43 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 0a73f55a; Wed, 15 Nov 2017 09:47:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=weyYexj7Nkr4Z4eO1WMXaqtORa0=; b=PzNokPsjyYFqXHz5cZSkb7paP0wH 6xFpOr65IEnHRFZjtLeDyoQzbnbtUlBkHctiOiak+VbAuWM8SxBsldbPwxcCOtcp EHVlgFAOD/tLEui0hPGhWvxqZmjycq1jHN5aKrDgf1In5ikKUMV9LZNzWB5o8Is1 iME02c4wIypoPYY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=gGoVjz/lrogKGb9L6m1/7ppdvrzokKQ43M1Om8T33MpOOYx10tAON1OP rJrOH3Kc+IwGJA4JHYHUOqxe5ddtxSicVa4MVtFNFYvuUVqwt9imCJXSc0dEqEVn UzshQhP1+DFlV2god6bea+gLB/fLBoi9qVFSM35ntDl9P2TV5Ls= Received: from arcadia (evadot.gandi.net [217.70.181.36]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 6016165d TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Wed, 15 Nov 2017 09:47:40 +0100 (CET) Date: Wed, 15 Nov 2017 09:47:39 +0100 From: Emmanuel Vadot To: Andreas Schwarz Cc: freebsd-arm@FreeBSD.org, ian@freebsd.org Subject: Re: PINE64 - 12.0-CURRENT r324563 - ntpd can't keep time Message-Id: <20171115094739.2dbd2a345738be42e56ff772@bidouilliste.com> In-Reply-To: <4aff62bc14e.1f031cb6@mail.schwarzes.net> References: <4BF75B1E-318C-414A-B5D4-4BA7D6578316@dsl-only.net> <1509029871.56824.49.camel@freebsd.org> <4af740148ca.47a474e3@mail.schwarzes.net> <04b67007-a95a-9e40-28b4-764adf8b2ded@restart.be> <4aff37249b6.70779c93@mail.schwarzes.net> <4AB259A5-F00A-408F-968A-26AD8D776708@dsl-only.net> <4aff62bc14e.1f031cb6@mail.schwarzes.net> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2017 08:47:44 -0000 On Wed, 15 Nov 2017 02:09:06 +0100 (CET) Andreas Schwarz wrote: > On 14.11.17, Mark Millard wrote: > > Hi Mark, > > > I'm not the one with the clock problem > > but I'll note that the -r325700 Pine64+ > > 2GB with a production-style kernel (not > > debug) that I'm using has rather different > > dev.cpu.0 output from sysctl as far as > > "freq" goes (no such): > > My pine is the same, a PINE A64+ 2GB version. > > Using also a "non-debug" kernel config > > root@pinelot:~ $ cat /sys/arm64/conf/PINE64-ASC > > include "GENERIC" > > ident PINE64-ASC > > # remove predefined options from "GENERIC" > nomakeoptions DEBUG > nomakeoptions WITH_CTF > nooptions KDB, KDB_TRACE, DDB > nooptions INVARIANTS, INVARIANT_SUPPORT > nooptions WITNESS, WITNESS_SKIPSPIN > nooptions USB_DEBUG > nooptions BUF_TRACKING > nooptions DEADLKRES > nooptions FULL_BUF_TRACKING > > # add options we want > options TMPFS # Efficient memory filesystem > > > > > # uname -apKU > > FreeBSD pine64 12.0-CURRENT FreeBSD 12.0-CURRENT r325700M arm64 aarch64 1200053 1200053 > > modified? > > > # sysctl dev.cpu.0 > > dev.cpu.0.%parent: cpulist0 > > dev.cpu.0.%pnpinfo: name=cpu@0 compat=arm,cortex-a53 > > dev.cpu.0.%location: > > dev.cpu.0.%driver: cpu > > dev.cpu.0.%desc: Open Firmware CPU > > > > Looking, /usr/ports -r447122 moved > > sysutils/u-boot-pine64 over to be > > us-boot-master based back on 2017-Aug-2. > > May be we have differing: > > > > u-boot-sunxi-with-spl.bin > > > > vintages dd'd to seek=8 on the > > sdcards? Some other difference > > someplace else? > > Latest u-boot-sunxi-with-spl.bin was not working for me, I'm using an older > one. Maybe a dtb processing problem, mine is up to date (created from the > dts). > > -asc What was the problem with the ports ? Up to date with what ? sys/dts/arm64/ (sys/boot/fdt/dts/arm64) ? The current u-boot ports provide the DTS (it came from upstream Linux) and doesn't have the PMU (Power Management Unit) or the cpu-supply property for the cpu node while the one from sys/dts/arm64 does. -- Emmanuel Vadot