Date: Mon, 16 Aug 2010 07:13:26 +1000 From: John Nicholls <john@thinlinx.com> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD EABI ARM & Network boot image howto? Message-ID: <1281906806.27697.9.camel@xeon.thinmesh.com> In-Reply-To: <20100815.085312.690091871549704621.imp@bsdimp.com> References: <1281869630.24339.63.camel@xeon.thinmesh.com> <20100815.085312.690091871549704621.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2010-08-15 at 08:53 -0600, M. Warner Losh wrote: > In message: <1281869630.24339.63.camel@xeon.thinmesh.com> > John Nicholls <john@thinlinx.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1281906806.27697.9.camel>