From owner-freebsd-arm@FreeBSD.ORG Sun Aug 15 21:14:56 2010 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 AE45C1065674 for ; Sun, 15 Aug 2010 21:14:56 +0000 (UTC) (envelope-from john@thinlinx.com) Received: from nschwmtas05p.mx.bigpond.com (nschwmtas05p.mx.bigpond.com [61.9.189.149]) by mx1.freebsd.org (Postfix) with ESMTP id 49D9A8FC19 for ; Sun, 15 Aug 2010 21:14:55 +0000 (UTC) Received: from nschwotgx01p.mx.bigpond.com ([203.36.172.54]) by nschwmtas05p.mx.bigpond.com with ESMTP id <20100815211454.FUKM12312.nschwmtas05p.mx.bigpond.com@nschwotgx01p.mx.bigpond.com>; Sun, 15 Aug 2010 21:14:54 +0000 Received: from [192.168.25.1] (really [203.36.172.54]) by nschwotgx01p.mx.bigpond.com with ESMTP id <20100815211453.MGTI8424.nschwotgx01p.mx.bigpond.com@[192.168.25.1]>; Sun, 15 Aug 2010 21:14:53 +0000 From: John Nicholls To: "M. Warner Losh" In-Reply-To: <20100815.085312.690091871549704621.imp@bsdimp.com> References: <1281869630.24339.63.camel@xeon.thinmesh.com> <20100815.085312.690091871549704621.imp@bsdimp.com> Content-Type: text/plain Date: Mon, 16 Aug 2010 07:13:26 +1000 Message-Id: <1281906806.27697.9.camel@xeon.thinmesh.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A090206.4C6858CD.01C2,ss=1,fgs=0 Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD EABI ARM & Network boot image howto? 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: Sun, 15 Aug 2010 21:14:56 -0000 On Sun, 2010-08-15 at 08:53 -0600, M. Warner Losh wrote: > In message: <1281869630.24339.63.camel@xeon.thinmesh.com> > John Nicholls writes: > : Special thanks to Yohanes Nugroho & Greg Ansley for the fantastic work > : they have done with the FreeBSD port to the AT91SAM9G20. Great to see > : FreeBSD gaining more traction in the embedded World :) > : > : I have a couple of questions, > : > : (1) I noticed a significant performance boost under Linux when Linux ARM > : moved to EABI, are there any plans for a EABI FreeBSD version? > : > : http://wiki.debian.org/ArmEabiPort > > People have talked about it, but so far nothing concrete has been > done, to my knowledge. OK, that's a pity... > : (2) I can build a Linux image which contains the Kernel and a root file > : system in one file which is great for network booting, can I do > : something similar with FreeBSD? > > Yes. You can add MD_ROOT and MD_ROOT_SIZE to your kernel config > file. MD_ROOT_SIZE sets the size of the ram disk. You can build an > image from a directory tree using makefs. You can use > sys/tools/embed_mfs.sh into the image. > > Much of this can be automated with the MFS_IMAGE makeoption on arm. Thanks for this Warner, is there any documentation such as a HOWTO somewhere? I want to create something similar to our Linux image which we have shrunk to about 8MB including the Linux Kernel, Xserver and Rdesktop. I have found NanoBSD, mfsBSD and miniBSD which look like good starting points also for small images John > Warner