Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2019 15:33:43 +0800
From:      Ganbold Tsagaankhuu <ganbold@gmail.com>
To:        Nick Kostirya <nikolay.kostirya@i11.co>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: Where cpufreq in NanoPi NEO?
Message-ID:  <CAGtf9xP5d38Zhz=40t0fjO7FV3U7wAZ44p=No1Yd4XLJBNQYCg@mail.gmail.com>
In-Reply-To: <20191111092629.7693b8c0@i11.co>
References:  <20191111092629.7693b8c0@i11.co>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGtf9xP5d38Zhz=40t0fjO7FV3U7wAZ44p=No1Yd4XLJBNQYCg>