From owner-freebsd-arm@freebsd.org Sun Nov 12 22:38:20 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 F1EB3C7E30C for ; Sun, 12 Nov 2017 22:38:20 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from smtp.smtpout.orange.fr (smtp06.smtpout.orange.fr [80.12.242.128]) by mx1.freebsd.org (Postfix) with ESMTP id 935F477B55 for ; Sun, 12 Nov 2017 22:38:19 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from localhost ([92.134.207.235]) by mwinf5d11 with ME id ZAWh1w00A55FxF803AWiyW; Sun, 12 Nov 2017 23:30:42 +0100 X-ME-Helo: localhost X-ME-Auth: Y2xidWlzc29uQHdhbmFkb28uZnI= X-ME-Date: Sun, 12 Nov 2017 23:30:42 +0100 X-ME-IP: 92.134.207.235 Subject: Re: rpi2: cpufreq(4) support lost ? To: "Herbert J. Skuhra" Cc: freebsd-arm@freebsd.org References: <2bceba56-f6a8-5120-fac5-0d3387a8278d@orange.fr> <87a7zrgvzv.wl-herbert@mailbox.org> From: Claude Buisson Message-ID: <2cedd4c6-1db0-04e7-b131-b0f0fc2f0500@orange.fr> Date: Sun, 12 Nov 2017 23:30:41 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <87a7zrgvzv.wl-herbert@mailbox.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US 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: Sun, 12 Nov 2017 22:38:21 -0000 On 11/12/2017 20:03, Herbert J. Skuhra wrote: > On Sat, 11 Nov 2017 12:47:47 +0100, > Claude Buisson 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: 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? Yes: from head r323691 armv6 as documented supra > >> 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). > > -- > Herbert >