linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Bad blocks in a FAT32 partition of MLC nand flash
@ 2010-07-22 13:37 rednoah
  2010-07-26  4:52 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: rednoah @ 2010-07-22 13:37 UTC (permalink / raw)
  To: linux-mtd

Hi:
   I'm using samsung s3c2416 board with a 8G MLC nand flash.A partition
larger than 7G was reserved for cutomer.They use PC to store files in this
partition.Since Windows XP was their mainly used OS,there is no other
file-system choice except FAT32.But FAT32 can't cope with bad blocks in
nand flash,which may be an easy job for yaffs.So these errors such as
"path too deep","crc error" are common when copying files to the MLC
nand flash partition.I refered to the mtd homepage.It seems that there is 2
solutions:

1.use a flash translation layer to deal with wear leveling and bad block.But
it seems that there is no reliable open source FTL for nand flash.There is no
FTL for MLC nand flash in main-line kernel.

2.use ubi layer,but there is no block device driver on ubi for building FAT32
or ext2.There is a ubi block device driver.But it doesn't belong main-line mtd
driver.

Could anyone give some suggestions on the problem?
B/r

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bad blocks in a FAT32 partition of MLC nand flash
  2010-07-22 13:37 Bad blocks in a FAT32 partition of MLC nand flash rednoah
@ 2010-07-26  4:52 ` Artem Bityutskiy
  0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2010-07-26  4:52 UTC (permalink / raw)
  To: rednoah; +Cc: linux-mtd

On Thu, 2010-07-22 at 21:37 +0800, rednoah wrote:
> Hi:
>    I'm using samsung s3c2416 board with a 8G MLC nand flash.A partition
> larger than 7G was reserved for cutomer.They use PC to store files in this
> partition.Since Windows XP was their mainly used OS,there is no other
> file-system choice except FAT32.But FAT32 can't cope with bad blocks in
> nand flash,which may be an easy job for yaffs.So these errors such as
> "path too deep","crc error" are common when copying files to the MLC
> nand flash partition.I refered to the mtd homepage.It seems that there is 2
> solutions:
> 
> 1.use a flash translation layer to deal with wear leveling and bad block.But
> it seems that there is no reliable open source FTL for nand flash.There is no
> FTL for MLC nand flash in main-line kernel.
> 
> 2.use ubi layer,but there is no block device driver on ubi for building FAT32
> or ext2.There is a ubi block device driver.But it doesn't belong main-line mtd
> driver.

There is not public upstream solution for your problem. But you can
develop an FTL layer on top of UBI.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-26  4:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-22 13:37 Bad blocks in a FAT32 partition of MLC nand flash rednoah
2010-07-26  4:52 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).