From owner-freebsd-small@FreeBSD.ORG Tue May 23 00:07:26 2006 Return-Path: X-Original-To: freebsd-small@freebsd.org Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F382816AA43; Tue, 23 May 2006 00:07:25 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E15243D53; Tue, 23 May 2006 00:07:25 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4N067Qt075969; Mon, 22 May 2006 18:06:08 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 22 May 2006 18:06:07 -0600 (MDT) Message-Id: <20060522.180607.71164808.imp@bsdimp.com> To: jim@netgate.com From: Warner Losh In-Reply-To: References: <2159F853-C89E-4032-9931-56F4B7D214C0@netgate.com> <9f7850090605181118o30b71b94mca294b2195e9ae1e@mail.gmail.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: gnn@freebsd.org, freebsd-small@freebsd.org Subject: Re: Flash File Systems or Translation Layers? X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 00:07:26 -0000 > The driver for 'this' ;-) is that most bootloaders can't read the > (root) filesystem. By putting the > kernel out in the flash somewhere, its easy for the loader to read > the kernel into memory, do a bit > of setup, then 'jump' to the kernel. The kernel can load the root > filesystem (or the boot loader can read it > into memory somewhere, if necessary.) I'm working on porting the i386 boot2 to the arm part that I'm working on. I've written a loader from almost scratch for it (started with the bootloader that came with an eval board). I'll add support for booting off of SD cards and SPI flash memory parts that have been partitioned using UFS. I'm not sure how much sense it makes to use UFS for the SPI part that will just have a kernel, a FPGA image and a RAM disk on it, but it makes good sense for a SD card that will look like a more traditional system. Warner