linux-mips
[Top] [All Lists]

Re: how to select the filesystem for nand flash?

To: "David Daney" <ddaney@avtrex.com>
Subject: Re: how to select the filesystem for nand flash?
From: zhuzhenhua <zzh.hust@gmail.com>
Date: Fri, 10 Mar 2006 08:51:39 +0800
Cc: linux-mips <linux-mips@linux-mips.org>
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=bQjx4+k5Wt7yQ6KyaSJ4aiV0e2vKhdRfGJBxDjU5QTj9BGx6GyglnLtV9w741FnW7WkSV3SjcSSwDqLaeg0lXap6I7gi3QXEWu2FB76hKmWEmkX7KSAGPi7e6IUskKzjsVvjhTfiGnz75e0fSQbkTHUdebvvLthGTPUlvzoo5BM=
In-reply-to: <44105361.9000909@avtrex.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <50c9a2250603081748u639d35c0n272d53e24acc9f02@mail.gmail.com> <44105361.9000909@avtrex.com>
Sender: linux-mips-bounce@linux-mips.org
On 3/10/06, David Daney <ddaney@avtrex.com> wrote:
> zhuzhenhua wrote:
> > In the linux, I find there are two solutions for nand flash: one is
> > YAFFS2/JFFS2 + MTD, other is EXT2/EXT3+FTL. Because we have to
> > implement vfat based FTL for our u-disk,so i wonder if  the ext2/ext3
> > + FTL is stable enough to be root filesystem?
> > thanks for any hints.
>
> If you are going to be writing to the rootfs then you will want either
> yaffs or jffs2 as they distribute the wear across the entire device
> instead of concentrating it on a few blocks.
>
> Most implementations I have seen (and what I do myself) is to have a
> read-only rootfs on cramfs of squashfs, and then have a seperate
> writable partition with either yaffs or jffs2.
>
> David Daney.
>
thanks for your advice.
if i don't want u-disk function, i will select your solution.
but i don't know how to use yaffs or jffs2 to implement a u-disk
it seems that i have to use fat+FTL

<Prev in Thread] Current Thread [Next in Thread>