From owner-freebsd-arm@FreeBSD.ORG Mon Feb 11 19:30:47 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A8666A8B for ; Mon, 11 Feb 2013 19:30:47 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (moon.peach.ne.jp [203.141.148.98]) by mx1.freebsd.org (Postfix) with ESMTP id 2C387935 for ; Mon, 11 Feb 2013 19:30:46 +0000 (UTC) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id 900F53ACD0; Tue, 12 Feb 2013 04:22:49 +0900 (JST) Received: from artemis (unknown [172.18.0.20]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTPSA id 797273ACCC; Tue, 12 Feb 2013 04:22:49 +0900 (JST) Message-ID: From: "Daisuke Aoyama" To: "Mats Mellstrand" References: <2659960079254C38ACD2F1DCBB7A1A19@ad.peach.ne.jp> <722ED669-A682-4F25-A65B-1E2FF8CFAA4D@exmandato.se> <20130131001553.GC67562@cicely7.cicely.de> <9E78813F3BF946A4A2FCEA2C363A847E@ad.peach.ne.jp> <016DDBBF-D502-4C76-96B5-BEE2D46FC6CC@exmandato.se> In-Reply-To: <016DDBBF-D502-4C76-96B5-BEE2D46FC6CC@exmandato.se> Subject: Re: FreeBSD/armv6z/clang on Raspberry Pi 512MB (with U-Boot + ubldr) Date: Tue, 12 Feb 2013 04:22:44 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; 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 Cc: freebsd-arm@freebsd.org, ticso@cicely.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 19:30:47 -0000 > In trying to install the ports collection on my RPi, the following happens: > > kmem_malloc(4096): kmem_map too small: 12582912 total allocated > KDB: enter: panic > [ thread pid 27505 tid 100053 ] > Stopped at $d: ldrb r15, [r15, r15, ror r15]! > > Suggestions? (more than not installing the ports collection) This is known problem of old kernel. You can update the kernel to http://www.peach.ne.jp/archives/rpi/kernel/kernel-20130209.gz or use new image based on SVN r246603: http://www.peach.ne.jp/archives/rpi/freebsd-pi-clang-20130210.img.gz This image contain both complete source tree and portsnap fetch/extracted tree. Also, some packages making under freebsd-pi-clang-20130210.img are uploaded to: http://www.peach.ne.jp/archives/rpi/ports/packages/All/ (compiled by clang/clang++ with bundled make.conf) ---------------------------------------------------------------------- How to use package: First, install pkg manually: # fetch http://www.peach.ne.jp/archives/rpi/pkg-static # fetch http://www.peach.ne.jp/archives/rpi/ports/packages/All/pkg-1.0.7.txz # chmod 755 pkg-static # ./pkg-static add pkg-1.0.7.txz # echo 'PACKAGESITE : http://www.peach.ne.jp/archives/rpi/ports/packages/All' > /usr/local/etc/pkg.conf For example, install bash and subversion: # pkg install bash # pkg install subversion ---------------------------------------------------------------------- Thank you. -- Daisuke Aoyama