From owner-freebsd-arm@FreeBSD.ORG Wed Oct 29 01:26:18 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6D5C865D for ; Wed, 29 Oct 2014 01:26:18 +0000 (UTC) Received: from moon.peach.ne.jp (moon.peach.ne.jp [203.141.148.98]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 38A495F2 for ; Wed, 29 Oct 2014 01:26:17 +0000 (UTC) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id CF50539D0A for ; Wed, 29 Oct 2014 10:20:57 +0900 (JST) Received: from artemis (unknown [172.18.0.21]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTPSA id A549E39D09 for ; Wed, 29 Oct 2014 10:20:57 +0900 (JST) Message-ID: <0A8390C3FC2B444B9AA8AC934B79DCD6@ad.peach.ne.jp> From: "Daisuke Aoyama" To: Subject: FreeBSD 11-CURRENT on Raspberry Pi 512MB Date: Wed, 29 Oct 2014 10:20:56 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8117.416 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416 X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 01:26:18 -0000 I've created FreeBSD 11-CURRENT for RPi based on svn 273303. The first version is released at my Japanese blog: Download and tips http://shell.peach.ne.jp/aoyama/archives/2931 Initial setup of FreeBSD 11 on RPi http://shell.peach.ne.jp/aoyama/archives/2946 Package installation of Apache 2.4(event MPM), MySQL 5.6, PHP 5.6(ZTS) and phpMyAdmin. http://shell.peach.ne.jp/aoyama/archives/2951 The pre-build base images are available from my archives: http://www.peach.ne.jp/archives/rpi/ (Latest version is FreeBSD-armv6-11.0-RPI-B-test20-r273303-20141026.img.gz) Download and decompress it, then write it to an SD card of 8GB or more. This image is intended to use as a headless server. (No X11 and GPU 16MB) For quick playing, I provide some useful packages such as samba 4.1, AMP. This version have cpufreq(4) based frequency contoller. Clock frequencies can be dynamically changed by hand or powerd. Also realtime raw values including temperature are stored in hw.cpufreq: Example overclock at 1000MHz: # sysctl hw.cpufreq hw.cpufreq.arm_freq: 1000000000 hw.cpufreq.core_freq: 500000000 hw.cpufreq.sdram_freq: 500000000 hw.cpufreq.turbo: 1 hw.cpufreq.voltage_core: 6 hw.cpufreq.voltage_sdram_c: 1 hw.cpufreq.voltage_sdram_i: 1 hw.cpufreq.voltage_sdram_p: 1 hw.cpufreq.temperature: 50843 # sysctl dev.cpu dev.cpu.%parent: dev.cpu.0.%desc: Open Firmware CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: dev.cpu.0.%pnpinfo: name=cpu@0 compat=arm,1176jzf-s dev.cpu.0.%parent: cpulist0 dev.cpu.0.freq: 300 dev.cpu.0.freq_levels: 1000/-1 900/-1 800/-1 700/-1 600/-1 500/-1 400/-1 300/-1 Note: Do not build kernel without patch to bcm2835_mbox.c, otherwise you get a panic in msleep. Using config is here: http://www.peach.ne.jp/archives/rpi/config/RPI-B-test20 Source and pacth is here: http://www.peach.ne.jp/archives/rpi/patch/ Local packages is here: http://www.peach.ne.jp/archives/rpi/ports/packages/All/ Pre-configured: MEM 496MB/GPU 16MB/SWAP none Clock: ARM 800MHz/Core 400MHz/SDRAM 400MHz (overclock from 700/250/400) ntpdate: 0.freebsd.pool.ntp.org portsnap: fetch and extracted powerd: enabled (min 300MHz) See also: http://www.peach.ne.jp/archives/rpi/00README.txt Enjoy 11-CURRENT world in Raspberry Pi! Thank you. -- Daisuke Aoyama