From owner-freebsd-arm@FreeBSD.ORG Sat Oct 1 10:24:59 2011 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B30AC106567C for ; Sat, 1 Oct 2011 10:24:59 +0000 (UTC) (envelope-from matthieu.kraus@s2008.tu-chemnitz.de) Received: from cora.hrz.tu-chemnitz.de (cora.hrz.tu-chemnitz.de [134.109.228.40]) by mx1.freebsd.org (Postfix) with ESMTP id 5DCAC8FC15 for ; Sat, 1 Oct 2011 10:24:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tu-chemnitz.de; s=dkim2010; h=Resent-Message-ID:Resent-To:Resent-From:Resent-Date:Content-Transfer-Encoding:Content-Type:MIME-Version:In-Reply-To:References:Subject:To:From:Date:Message-ID; bh=S5rG5hmOGTGNOQSSaNI81D0RBs4uj8rPNpJgTaj1o5I=; b=PN/pMlU8b9xsUcMUlRbHzmZ2M0+6ONGKurTXE93w6cG8W7o0cqRPJm7gF+ihIREAHPYFUWNYT/kp5pNkkhrYZPsxSrVewrCXJNfVlv6B9X//Tx+AqaBQwT+pEAGpw7XfHC558l6+ZueKyX4E9XZhKZgOg1NeVk/aWQfAznouLX0=; Received: from pat.hrz.tu-chemnitz.de ([134.109.133.4] helo=mailbox.hrz.tu-chemnitz.de) by cora.hrz.tu-chemnitz.de with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1R9wkb-00077C-WA for freebsd-arm@freebsd.org; Sat, 01 Oct 2011 12:24:58 +0200 Received: from boogie.hrz.tu-chemnitz.de ([134.109.133.10] helo=localhost) by mailbox.hrz.tu-chemnitz.de with esmtp (Exim 4.76) (envelope-from ) id 1R9wkb-0007H6-Uh for freebsd-arm@freebsd.org; Sat, 01 Oct 2011 12:24:57 +0200 Received: from rlydontknow.csn.tu-chemnitz.de (rlydontknow.csn.tu-chemnitz.de [134.109.92.98]) by mail.tu-chemnitz.de (Horde Framework) with HTTP; Sat, 01 Oct 2011 12:22:37 +0200 Message-ID: <20111001122237.85311q2igb64ohd9@mail.tu-chemnitz.de> Date: Sat, 01 Oct 2011 12:22:37 +0200 From: Matthieu Kraus To: Naoyuki Tai References: <20110930120022.4ABAA10656A7@hub.freebsd.org> <20110930173253.55166lqso9c8zvad@mail.tu-chemnitz.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit Resent-Date: Sat, 01 Oct 2011 12:24:57 +0200 Resent-From: matthieu.kraus@s2008.tu-chemnitz.de Resent-To: freebsd-arm@freebsd.org Resent-Message-ID: <20111001122457.10406riw1uwpbrsp@mail.tu-chemnitz.de> User-Agent: Internet Messaging Program (IMP) H3 (4.3.9) X-Originating-IP: 134.109.92.98 X-Scan-Signature: b87095131af23dd7cc8c04746d52a551 Cc: Subject: Re: GlobalScale DreamPlug + FreeBSD 8.2 release X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Oct 2011 10:24:59 -0000 Quoting Naoyuki Tai : > On Fri, 30 Sep 2011 11:32:53 -0400, Matthieu Kraus > wrote: > >> I've been playing around a bit with FreeBSD on the Dreamplug during >> the last few days and had some issues as well, however here's what I >> got so far: >> >> first I didn't manage to get it to work with a dynamic fdt, so you'll >> need a static one (see attachment). >> >> second I found a somewhat customized and pretty stripped kernel config >> more useful, so I'll attach mine as well to give you some guidance. > > Unfortunately, you are using > include "../mv/kirkwood/std.dreamplug" > so it's kinda hard to tell what the config ends up. actually that's a little left-over - just use std.db88f6xxx, my std.dreamplug is a plain copy I created while starting to customize my setup > > Do you use ZFS? > I'm new to ZFS (I finally installed one) and the docs recommend > at least 1GB of physical memory which DreamPlug does not have. > So, I'm staying away from ZFS. If you have anything to share > about zfs on DreamPlug, it would be great. > yes, I'm using zfs with some tweaks (disabling zil, etc. (see zfs evil tuning guide)), however I didn't test it's functionality during heavy load, yet. also zfs requires a little patching as stated in the zfs thread on this ml (you need to add a file to files.arm and tweak the cpuvar.h of opensolaris (unlike the proposed hack I just undef'd cpu_id in the solaris cpuvar.h prior to defining it) >> finally for booting on the plug: >> there are basically two options here: >> first is to boot via go as you already tried >> second (which I find nicer) is to use mkimage from the ports >> collection to create an image file uboot can read which should be >> issues like this: >> mkimage -A arm -O linux -T kernel -C none -a 900000 -e 900000 -n >> "FreeBSD" -d kernel.bin image_name >> or if you have a compressed kernel: >> mkimage -A arm -O linux -T kernel -C gzip -a 900000 -e 900000 -n >> "FreeBSD" -d kernel.bin.gz image_name >> >> if you go for the image, you can use the default boot options as >> guidance (just load the image at 640000 or whatever and boot it - >> it'll be moved to the prroper place and executed there) >> >> note that -O linux isn't required - e.g. -O netbsd works as well - >> however -O FreeBSD doesn't work as u-boot recognizes it, but doesn't >> have a bootcmd implemented for it. > > Nice. > Can I do this on intel machine? > Yes, you can do this on any machine. >> following that I got most things to work so far (except libertas chip >> in ap mode as that one is lacking a proper driver - especially an sdio >> one). >> >> RlyDontKnow > > As far as I understand, this wifi hardware is same as the OLPC XO > wifi, and the linux driver does exit but not FreeBSD. > # I have no interest in wifi part of DreamPlug. > yes, there's a linux driver available - actually two: libertas_sdio (mainline linux) for managed mode and uap8xxx (http://plugcomputer.org/plugwiki/images/d/d5/Uap_module.tar.gz) for infrastructure mode finally something I forgot to state yesterday: I'm using 9.0-CURRENT rather than 8.2-RELEASE which has a few fixes for some problems iirc (e.g. mount rootfs waits till usb is all done)