public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Ben Dooks <ben@trinity.fluff.org>
To: Harald Welte <laforge@openmoko.org>
Cc: linux-mtd@lists.infradead.org
Subject: Re: ECC on 2048 byte page size 8-bit NAND on Samsung S3C2440
Date: Tue, 15 May 2007 06:37:28 +0100	[thread overview]
Message-ID: <20070515053727.GF805@trinity.fluff.org> (raw)
In-Reply-To: <20070515003039.GB32448@prithivi.gnumonks.org>

On Tue, May 15, 2007 at 08:30:40AM +0800, Harald Welte wrote:
> Hi!
> 
> On openmoko's future mobile communications devices, we're using 2048
> byte page sized NAND chips (x8 organization such as K9F8G08U0A).
> 
> However, it seems to me that the ECC support for 2048byte page sized
> NAND chips is not really implemented yet, neither by the NAND core, nor
> by the S3C2440 NAND driver.
> 
> As far as I understand it (I haven't worked with 2k page before), the
> 2440 NAND controller can generate a 4-byte ECC for each 2048byte page (8
> bytes in case of x16 organization, this seems somehow strange).
> 
> In addition to ECC on the actual main data area, it also supports ECC on
> the OOB data, too.  I haven't found any piece of code in any other NAND
> driver in the kernel that uses this feature.
> 
> Also, I don't see something like a standard ECC layout for the 2048byte
> page deivces.  Is there one?
> 
> I can certainly spend my time hacking up some working code.  The
> quesetion is if there is already some thought by one of the people
> involved for some longer time with linux-mtd and/or the s3c2440.
> 
> So if you have implementation thoughts / wishes / guidelines: THis is
> the time to raise them, before I just doo what I deem appropriate ;)

Hi. we're in the process of upgrading to large page nand ourselves,
expect patches released before the end of the week, we're just doing
QA on our patchset and updating our release tool.

-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.

  reply	other threads:[~2007-05-15  5:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-15  0:30 ECC on 2048 byte page size 8-bit NAND on Samsung S3C2440 Harald Welte
2007-05-15  5:37 ` Ben Dooks [this message]
2007-05-15  7:04 ` David Woodhouse
2007-05-15  8:39 ` Charles Manning

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=20070515053727.GF805@trinity.fluff.org \
    --to=ben@trinity.fluff.org \
    --cc=laforge@openmoko.org \
    --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