public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Thomas.Gleixner@t-online.de (Thomas Gleixner)
To: David Woodhouse <dwmw2@infradead.org>
Cc: "Veli-Pekka Ylönen" <velpeyl@utu.fi>,
	linux-mtd@lists.infradead.org, jffs-dev@axis.com
Subject: Re: NAND flash and JFFS(2)
Date: Wed, 6 Feb 2002 23:47:02 +0100	[thread overview]
Message-ID: <02020623470200.00888@thomas> (raw)
In-Reply-To: <Pine.LNX.4.44.0202061444340.2447-100000@lapdancer.baythorne.internal>

On Wednesday,  6. February 2002 05:54, David Woodhouse wrote:
>
> We should be able to use their ECC hardware. As with the DiskOnChip, this
> effectively limits us to one write per page, even if the NAND chip can do
> more than that.
The ECC hardware does not limit us to one write. The ECC hardware just 
calculates the ECC if requested and you must read it back out of the CPLD. 
Then you program it into the spare area. On read you must also enable the ECC 
hardware, read the page, read the ECC .... You can do also read/write without 
ECC.There are no restrictions which part of the spare area to use. You can 
also do everything in software. Anyway we need a different driver for this 
adaptors, because they implement the access to the select lines in their 
CPLD.

> > Maybe we can use the SmartMedia scheme for ECC placement in general for
> > all NAND chips.
> Except DiskOnChip, which has its own layout.
OK

> > I have a look on the data sheets again. I know only about 2 writes/page
> > limit. But maybe we need this, when we have a less smart adaptor with ECC
> > hardware.
> Yes, the ECC makes supporting multiple writes quite hard. We could invent
> new node types and do ECC per-node, but I think it would be better to do
> block-based ECC and use the hardware capabilities, as we have to do write
> batching into blocks anyway.
See above

> OK. Could you show me the changes you had to make?
Should i put them into CVS to jffs-nand-branch or send them by mail ?

> OK, I'll have a go at it. I was leaving it till last, because it's not
> particularly likely to happen in real life. Once the rest works, I'll be
> all happy and motivated to do the evil bits of the error handling :)
sounds good to me

> OK. It would be nice if we could trigger GC to fill the wbuf, rather than
> padding - and only pad it if we really can't use up the space with GC
> writes.
Sure, but we must have something, that makes sure that data is written 
immidiatly to the flash, if we have sensitive data loggers or configuration 
data, where a loss is not acceptable.
 
Another thought about cleanmarker nodes. If we keep them in the page, we can 
easy burn a jffs2-image into a raw flash. This makes life easier for 
bootloaders....

Thomas
__________________________________________________
Thomas Gleixner, autronix automation GmbH
auf dem berg 3, d-88690 uhldingen-muehlhofen
fon: +49 7556 919891 , fax: +49 7556 919886
mail: gleixner@autronix.de, http://www.autronix.de  

  reply	other threads:[~2002-02-06 22:33 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <02020523405103.11497@thomas>
2002-02-06  4:54 ` NAND flash and JFFS(2) David Woodhouse
2002-02-06 22:47   ` Thomas Gleixner [this message]
2002-02-06 22:55     ` David Woodhouse
2002-02-07  6:51       ` Thomas Gleixner
2002-02-07  7:04         ` David Woodhouse
2002-02-11 13:42           ` Thomas Gleixner
2002-02-11 13:53             ` David Woodhouse
     [not found]               ` <0202121847440K.00764@thomas>
2002-02-13 11:40                 ` Thomas Gleixner
2002-02-13 20:03 Lance Nakamura
2002-02-13 20:19 ` Thomas Gleixner
  -- strict thread matches above, loose matches on Subject: below --
2002-02-11 23:42 Steve_Chen
2002-02-12  0:10 ` Thomas Gleixner
2002-02-11 15:32 Thomas Gleixner
2002-02-11 15:48 ` Thomas Gleixner
2002-02-11 19:28   ` Thomas Gleixner
2002-02-05 14:41 Veli-Pekka Ylönen
2002-02-05 15:30 ` David Woodhouse
2002-02-05 17:28   ` Thomas Gleixner
2002-02-05 21:18     ` David Woodhouse
2002-02-05 17:35   ` Veli-Pekka Ylönen

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=02020623470200.00888@thomas \
    --to=thomas.gleixner@t-online.de \
    --cc=dwmw2@infradead.org \
    --cc=gleixner@autronix.de \
    --cc=jffs-dev@axis.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=velpeyl@utu.fi \
    /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