From owner-freebsd-small@FreeBSD.ORG Thu May 18 18:18:43 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 289BE16A459 for ; Thu, 18 May 2006 18:18:43 +0000 (UTC) (envelope-from mf.danger@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8ABF043D60 for ; Thu, 18 May 2006 18:18:41 +0000 (GMT) (envelope-from mf.danger@gmail.com) Received: by nf-out-0910.google.com with SMTP id x29so86921nfb for ; Thu, 18 May 2006 11:18:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=a04JiwgVbhHwYyx3JG+Ag4ex8BeKiNum0zvrlZyqNy9xx9O34YtozKaYxAc0QZlH0lLkVhbjb6Mae87uNMRlW5jumvfxAWQ6B7Nan6ZrsgUwurvYGTBUUZNgGK8fpQpWe7tQL+J8R3eed8qB8XOqUJt3JHCp26cNZrD/084FvR4= Received: by 10.48.216.13 with SMTP id o13mr781754nfg; Thu, 18 May 2006 11:18:38 -0700 (PDT) Received: by 10.49.55.14 with HTTP; Thu, 18 May 2006 11:18:38 -0700 (PDT) Message-ID: <9f7850090605181118o30b71b94mca294b2195e9ae1e@mail.gmail.com> Date: Thu, 18 May 2006 11:18:38 -0700 From: "marty fouts" To: "Jim Thompson" In-Reply-To: <2159F853-C89E-4032-9931-56F4B7D214C0@netgate.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <446BBE65.50104@FreeBSD.org> <9f7850090605171746p5ff4dbefq46211ce93aafc116@mail.gmail.com> <446C2380.6020000@FreeBSD.org> <9f7850090605181006m56c38a56lcc7037beaf6b6fa@mail.gmail.com> <2159F853-C89E-4032-9931-56F4B7D214C0@netgate.com> 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: Thu, 18 May 2006 18:18:44 -0000 On 5/18/06, Jim Thompson wrote: > > On May 18, 2006, at 7:06 AM, marty fouts wrote: > > > On 5/18/06, Jim Thompson wrote: > >> > I have no idea how you got that impression, but ecos/redboot are at > least as "alive" as linux is, and more > popular than u-boot. (I had my mitts on u-boot back when it was > "ppcboot".) I was misinformed. Thanks for the correction. > >> Still having a bootloader that knows how to 'read' the filesystem > >> isn't that important, as long as you can store the kernel somewhere > >> other than >in< the filesystem. No "dinking" needed. (are you > >> aware that 'dink' is also a bootloader (for ppc)?) > > > > Agreed. This seems to be a common approach in shipping devices, and it > > has advantages that make it appealing. > > What is "this"? Sorry for the lack of clarity. Having the kernel somewhere other than in the filesystem is "this"; a common approach in shipping devices. > > This is why the authors were off designing JFFS3. Definitely > > investigate JFFS2, especially reading the archives of the MTD mailing > > list, but I'd strongly advise against modeling a system on its data > > structures. > In practice this is only a problem for systems with a >lot< of > flash. Most of the boards that are > interesting have 4-16MB of flash. None of the boards that are interesting to me have less than 64mb of flash ;) and I've seen JFFS2 performance problems on 16mb flash partitions. I'm coming at this from a telephony point of view, where none of the currently shipping devices are limited to 16MB of flash. 32mb is typical, 64mb is common, and 128mb development boards are in common use. (The TS7250 board that I mentioned earlier is available with 128mb NAND.) > I don't think we can restrict ourselves to supporting only NAND > flash. In particular, Intel's "Strataflash" (and the Micron (etc) > equivalents are all NOR-based. Agreed. But I think that NAND and NOR are enough different that they need to be supported differently.