From owner-freebsd-arm@freebsd.org Thu Sep 3 14:16:32 2015 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 D86F09C9EB5 for ; Thu, 3 Sep 2015 14:16:32 +0000 (UTC) (envelope-from john@potato.growveg.org) Received: from potato.growveg.org (potato.growveg.org [62.49.247.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 99D5B1ED7 for ; Thu, 3 Sep 2015 14:16:32 +0000 (UTC) (envelope-from john@potato.growveg.org) Received: from john by potato.growveg.org with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1ZXVJO-000LVD-GJ for freebsd-arm@freebsd.org; Thu, 03 Sep 2015 15:16:22 +0100 Date: Thu, 3 Sep 2015 15:16:22 +0100 From: John To: freebsd-arm@freebsd.org Subject: Re: some general questions regarding freebsd on rasp pi Message-ID: <20150903141622.GA42047@potato.growveg.org> Reply-To: freebsd-arm@freebsd.org Mail-Followup-To: freebsd-arm@freebsd.org References: <20150901155024.GA46253@potato.growveg.org> <20150902134931.GA2221@potato.growveg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150902134931.GA2221@potato.growveg.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: John X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: john@potato.growveg.org X-SA-Exim-Scanned: No (on potato.growveg.org); SAEximRunCond expanded to false X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2015 14:16:32 -0000 On Wed, Sep 02, 2015 at 02:49:31PM +0100, John wrote: > Just need to update ports and start building what I need. One answer i've not been able > to find - is it easy to clock the pi under freebsd? Looking for 1GHz > (think the ram is half this) in the grand tradition of answering myself, the way to do this with the rasp 2 hw.cpufreq.turbo=1 dev.cpu.0.freq=900 in /etc/sysctl.conf and reboot, or modify them directly. Now i have: # sysctl hw.cpufreq hw.cpufreq.temperature: 43312 hw.cpufreq.voltage_sdram_p: 1200000 hw.cpufreq.voltage_sdram_i: 1200000 hw.cpufreq.voltage_sdram_c: 1200000 hw.cpufreq.voltage_core: 1312500 hw.cpufreq.turbo: 1 hw.cpufreq.sdram_freq: 450000000 hw.cpufreq.core_freq: 250000000 hw.cpufreq.arm_freq: 900000000 and # sysctl dev.cpu dev.cpu.3.%parent: cpulist0 dev.cpu.3.%pnpinfo: name=cpu@3 compat=arm,cortex-a7 dev.cpu.3.%location: dev.cpu.3.%driver: cpu dev.cpu.3.%desc: Open Firmware CPU dev.cpu.2.%parent: cpulist0 dev.cpu.2.%pnpinfo: name=cpu@2 compat=arm,cortex-a7 dev.cpu.2.%location: dev.cpu.2.%driver: cpu dev.cpu.2.%desc: Open Firmware CPU dev.cpu.1.%parent: cpulist0 dev.cpu.1.%pnpinfo: name=cpu@1 compat=arm,cortex-a7 dev.cpu.1.%location: dev.cpu.1.%driver: cpu dev.cpu.1.%desc: Open Firmware CPU dev.cpu.0.temperature: 42.2C dev.cpu.0.freq_levels: 900/-1 600/-1 dev.cpu.0.freq: 900 dev.cpu.0.%parent: cpulist0 dev.cpu.0.%pnpinfo: name=cpu@0 compat=arm,cortex-a7 dev.cpu.0.%location: dev.cpu.0.%driver: cpu dev.cpu.0.%desc: Open Firmware CPU dev.cpu.%parent: not sure if it can be cranked any more. Any ideas? -- John