From owner-freebsd-arm@freebsd.org Sun Nov 12 19:03:47 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 AAA80C7A469 for ; Sun, 12 Nov 2017 19:03:47 +0000 (UTC) (envelope-from herbert@mailbox.org) Received: from mx2.mailbox.org (mx2.mailbox.org [80.241.60.215]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.mailbox.org", Issuer "SwissSign Server Silver CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5DF2371050 for ; Sun, 12 Nov 2017 19:03:46 +0000 (UTC) (envelope-from herbert@mailbox.org) Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id DD76A4C1A9; Sun, 12 Nov 2017 20:03:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-type:content-type:mime-version:references:in-reply-to :subject:subject:from:from:message-id:date:date:received; s= mail20150812; t=1510513416; bh=lvfs8Izu2sdb3YgIrDROJZORt9CCj7/1B AxTZs45t8E=; b=cP3hmP4tVIjLxI2d7NUsrooqRtYNKl3xh5caWeFGb3X2a50kJ J1mHZctKgcEQzQa4QBo+cBZNRd/VUhaXzsmyijUyHRMB/VTYfQJ7Kf5rM0d93RRp IUsQpv3FS/xvQgT2juT5LdAUJXDKlA/3SXKHUOY5YGpK9Qz1bu9dtPz1qHiYUy7n C29uGbm+PYKgB1dpUYYtJ+IY2+PPwm81mGhWSpxNYT3ArOGNnCEAn9TFQ+nLi2FS ntJEoQjTAVCEGN7aXZTyEUNimsRgQhbfJmegmnwJFveX7g7IfkidPuiCUTHj5eut LODAqvD5T5V+j2afMf3CcaKOH0AhNS7IaSTMg== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id B9nANF24l-qJ; Sun, 12 Nov 2017 20:03:36 +0100 (CET) Date: Sun, 12 Nov 2017 20:03:32 +0100 Message-ID: <87a7zrgvzv.wl-herbert@mailbox.org> From: "Herbert J. Skuhra" To: Claude Buisson Cc: freebsd-arm@freebsd.org Subject: Re: rpi2: cpufreq(4) support lost ? In-Reply-To: <2bceba56-f6a8-5120-fac5-0d3387a8278d@orange.fr> References: <2bceba56-f6a8-5120-fac5-0d3387a8278d@orange.fr> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII 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 19:03:47 -0000 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? > 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