All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michel LECONTE <michel.leconte@sacet.com>
To: linux-mtd@lists.infradead.org
Subject: NAND Flash FTL
Date: Thu, 08 Mar 2007 18:23:24 +0100	[thread overview]
Message-ID: <45F0468C.5020306@sacet.com> (raw)

Thanks David it works now.

The problem now is it's too long to be mount.
I think my filesystem is too big.
I've try another way with FTL and ext2.
First I did some partition :
# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00400000 00010000 "physmap-flash.0"
mtd1: 04000000 00020000 "Linux"
mtd2: 0e000000 00020000 "Apps"
mtd3: 10000000 00020000 "Data"

Then I used nftl_format :
# ./nftl_format /dev/mtd1
$Id: nftl_format.c,v 1.24 2005/11/07 11:15:13 gleixner Exp $
Unrecognized Erase size, 0x20000 - I'm confused

And ftl_format :
cm-debian:/opt# ./ftl_format /dev/mtd1
Partition size = 64 mb, erase unit size = 128 kb, 1 transfer units
Reserved 5%, formatted size = 62883328 bytes
Erasing all blocks...
+++
block erase failed: Input/output error
format failed.

ftl_chek :
cm-debian:/opt# ./ftl_check /dev/mtd1
Memory region info:
  Region size = 64 mb  Erase block size = 128 kb

No valid erase unit headers!

What's wrong ?
Can I use FTL with my NAND Flash ?
ftl_format is it just for PMCIA and nftl_format for Disk On Chip or not ?

                 reply	other threads:[~2007-03-08 17:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=45F0468C.5020306@sacet.com \
    --to=michel.leconte@sacet.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.