From owner-freebsd-arm@freebsd.org Tue Nov 12 14:20:32 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 F15001AEF25 for ; Tue, 12 Nov 2019 14:20:32 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47C8zM4j6rz4bk6 for ; Tue, 12 Nov 2019 14:20:31 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=9PUHie9Q8UPiL+nxazRW8R/Yfh0l+jh3OeJPWoHhZYU=; b=yZ0FlEzn26dmeuGETIIbEvWgBpxJdwrt0fKhjHnx3R5P6Q8BZl+853YFMRzBM8cbEC9kLnKWtV0LZBcINrDtO/KJ0H4iQr26Dx+PN00iEjL6mvklthQX5wnKSofphDN3+eErUsDCZyVtG79ZJbN6LnhzzETMVkYuHGfw+usJ9Bw2Q/NcDDoglcplaV3jJu8OReLL3x4JU3lHmH+rttqeQuvutzCYK8qt4NFRG3Ntx1DdiABz+pqLz6DRzTEy+9UYuVARcu3XQpY5KLEVfKtQcTqLwc9Gyj1zfin7iDzM9SI3GhzRFUw33UwkGYvKaRbJ9KIhzljTTUZjhgNh7wfzfg==; Received: from macmini.bk.cs.huji.ac.il ([132.65.179.19]) by kabab.cs.huji.ac.il with esmtp id 1iUX1f-0002Dr-A5; Tue, 12 Nov 2019 16:20:11 +0200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: Re: Where cpufreq in NanoPi NEO? From: Daniel Braniss In-Reply-To: Date: Tue, 12 Nov 2019 16:20:11 +0200 Cc: Nick Kostirya , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: 7bit Message-Id: <459E7D91-0276-421F-9B90-53A6B8F4D09D@cs.huji.ac.il> References: <20191111092629.7693b8c0@i11.co> To: Ganbold Tsagaankhuu X-Mailer: Apple Mail (2.3601.0.10) X-Rspamd-Queue-Id: 47C8zM4j6rz4bk6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.huji.ac.il header.s=57791128 header.b=yZ0FlEzn; dmarc=pass (policy=none) header.from=huji.ac.il; spf=none (mx1.freebsd.org: domain of danny@cs.huji.ac.il has no SPF policy when checking 132.65.116.210) smtp.mailfrom=danny@cs.huji.ac.il X-Spamd-Result: default: False [-2.04 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[cs.huji.ac.il:s=57791128]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cs.huji.ac.il:+]; DMARC_POLICY_ALLOW(-0.50)[huji.ac.il,none]; RCVD_IN_DNSWL_NONE(0.00)[210.116.65.132.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:378, ipnet:132.64.0.0/13, country:IL]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.74)[ip: (-1.47), ipnet: 132.64.0.0/13(-1.26), asn: 378(-1.01), country: IL(0.05)]; RCVD_COUNT_TWO(0.00)[2] 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: Tue, 12 Nov 2019 14:20:33 -0000 Hi Ganbold, any chance of getting your sun8i-h3-ths.dtso? thanks, danny PS: im in the process of trying out the freq stuff on a nano-pi v2 > On 11 Nov 2019, at 9:33, Ganbold Tsagaankhuu wrote: > > On Mon, Nov 11, 2019 at 3:26 PM Nick Kostirya via freebsd-arm < > freebsd-arm@freebsd.org> wrote: > >> Hello. >> >> Please, help me find cpufreq in dmesg for NanoPi NEO. >> I use FreeBSD-12.1-RELEASE-arm-armv7-GENERICSD.img and >> u-boot-nanopi_neo-2019.04. >> I see than "device cpufreq" is in >> http://svn.freebsd.org/base/releng/12.1/sys/arm/conf/GENERIC, but I do >> not see cpufreq in dmesg. >> > > You probably need dts overlay, something like: > > https://reviews.freebsd.org/D21726 > > For quick test you can use: > https://people.freebsd.org/~ganbold/sun8i-h3-opp.dtbo > You should put it in /boot/loader.conf: > > fdt_overlays="sun8i-h3-sid.dtbo,sun8i-h3-ths.dtbo,sun8i-h3-opp.dtbo" > > >> >> About u-boot-nanopi_neo. >> Do u-boot-nanopi_neo load dtb automatical? Or I must write >> sun8i-h3-nanopi-neo.dtb_type="dtb" >> sun8i-h3-nanopi-neo.dtb_load="YES" >> in /boot/loader.conf ? >> > > It will use what is set for u-boot-nanopi_neo-2019.04, which should be > correct one. > > Ganbold > > >> But It is not even help to see cpufreq in dmesg. >> >> Nick. >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"