From: Sphinx King <alpharoot@gmail.com>
To: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
Cc: linux-mtd@lists.infradead.org
Subject: Re: ext2 and fat32 can't handle bad block of nand flash?
Date: Tue, 20 Sep 2005 18:36:12 +0800 [thread overview]
Message-ID: <5b42f13105092003367c286a9c@mail.gmail.com> (raw)
In-Reply-To: <20050920101524.GB2143@wohnheim.fh-wedel.de>
On 9/20/05, Jörn Engel <joern@wohnheim.fh-wedel.de> wrote:
> On Tue, 20 September 2005 15:38:52 +0800, Sphinx King wrote:
> > Thanks for your link. I prefer FAT32 because this MTD partition will
> > be mounted to Windows PC through USB mass storage so that data can be
> > transfered between the board and PC. By reading doc it sounds like I
> > need to add translation layer between MTD and FAT32. But I could not
> > find the howto doc on FTL/NFTL in the net or archive. Could you please
> > provide any links? Besides, the NFTL is patented as described in the
> > kerel config, there will be problems if I use it in my product?
>
> If you have a USB key, you should already have some FTL hidden inside
> the device. Just use the USB mass storage driver and run FAT on the
> block device.
>
> If that strategy doesn't work, your USB key is broken in some way. In
> that case, you should look for a different supplier.
>
If there is FTL inside the device, I believe it is just the
/dev/mtdblock/4. On my board the /dev/mtdblock/4 is mounted to PC
through USB mass storage, and PC can format it as FAT32 but it is not
stable due to the bad block.
On the board this mtd block is also mounted under linux (mount -t vfat
/dev/mtdblock/4 /datadisk). Under linux it is not stable yet. So I
think I should find something than mtdblock to make FAT32 work.
My USB module is ok because the stability problem happens only when
the data was being written to the bad block of nand flash.
--
Sphinx
prev parent reply other threads:[~2005-09-20 10:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-17 12:55 ext2 and fat32 can't handle bad block of nand flash? Sphinx King
2005-09-19 9:19 ` Jörn Engel
[not found] ` <5b42f13105092000387cd0cc24@mail.gmail.com>
[not found] ` <20050920101524.GB2143@wohnheim.fh-wedel.de>
2005-09-20 10:36 ` Sphinx King [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5b42f13105092003367c286a9c@mail.gmail.com \
--to=alpharoot@gmail.com \
--cc=joern@wohnheim.fh-wedel.de \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox