From owner-freebsd-arm@FreeBSD.ORG Sun Aug 15 14:57:02 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 590FE1065697 for ; Sun, 15 Aug 2010 14:57:02 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 1D4BD8FC18 for ; Sun, 15 Aug 2010 14:57:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o7FEqdVZ038574; Sun, 15 Aug 2010 08:52:39 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 15 Aug 2010 08:53:12 -0600 (MDT) Message-Id: <20100815.085312.690091871549704621.imp@bsdimp.com> To: john@thinlinx.com From: "M. Warner Losh" In-Reply-To: <1281869630.24339.63.camel@xeon.thinmesh.com> References: <1281869630.24339.63.camel@xeon.thinmesh.com> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 14:57:02 -0000 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. : (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. Warner