Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Nov 2017 21:58:44 +0100
From:      "Herbert J. Skuhra" <herbert@mailbox.org>
To:        Claude Buisson <clbuisson@orange.fr>
Cc:        freebsd-arm@freebsd.org, ian@FreeBSD.org
Subject:   Re: rpi2: cpufreq(4) support lost ?
Message-ID:  <878tfbgqnv.wl-herbert@mailbox.org>
In-Reply-To: <87a7zrgvzv.wl-herbert@mailbox.org>
References:  <2bceba56-f6a8-5120-fac5-0d3387a8278d@orange.fr> <87a7zrgvzv.wl-herbert@mailbox.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 12 Nov 2017 20:03:32 +0100,
"Herbert J. Skuhra" <herbert@mailbox.org> wrote:
> 
> On Sat, 11 Nov 2017 12:47:47 +0100,
> Claude Buisson <clbuisson@orange.fr> wrote:
> > 
> > [I am not subscribed to this list - please answser to me]
> > 
> > I recently upgraded a RPI2 Model B, from head r323691 armv6 to head
> > r325110 + patch D12907 (lib/libc/gen/tls.c) armv7.
> > 
> > In the dmesg, the lines:
> > 
> > bcm2835_cpufreq0: <CPU Frequency Control> on cpu0
> > bcm2835_cpufreq0: ARM 600MHz, Core 250MHz, SDRAM 400MHz, Turbo OFF
> > 
> > disappeared, and the log shows:
> > 
> > /etc/rc.d/powerd start
> > powerd: no cpufreq(4) support -- aborting: No such file or directory
> > 
> > As what seems to be a consequence, the system became much slower.
> > 
> > Everything came back to normal when I copied the old rpi2.dtb to the
> > new /boot/msdos/
> 
> The old rpi2.dtb is from an armv6 build, right?
> 
> > I tried the rpi2.dtb from the lastest snapshot
> >   FreeBSD-12.0-CURRENT-arm-armv7-RPI2-20171109-r325595.img
> > and cpufreq(4) disappeared again.
> > 
> > What I am missing ?
> 
> The problem obviously exists since the switch to armv7.
> 
> I use rpi2.dtb from my other RPI2 (stable/11).

I think the breakage happened earlier... r324184.

rpi2.dtb from a r324183 kernel build (armv6) works.

--
Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?878tfbgqnv.wl-herbert>