From: David Brownell <david-b@pacbell.net>
To: vimal singh <vimal.newwork@gmail.com>
Cc: Linux MTD <linux-mtd@lists.infradead.org>
Subject: Re: query: nand read/write method for 2048 + 64 byte page
Date: Fri, 26 Jun 2009 10:10:41 -0700 [thread overview]
Message-ID: <200906261010.42073.david-b@pacbell.net> (raw)
In-Reply-To: <ce9ab5790906260422q136ed6e1p41593ece4b5fe319@mail.gmail.com>
On Friday 26 June 2009, vimal singh wrote:
> The problem is that HW ECC engine in BCH mode dose not provide any
> possible configuration where we can keep ECC bytes in main area
> itself. OOB + ECC data has to be in only spare area.
Healthy. I disike that "infix OOB" myself. It is however
a standard ECC mode in the NAND framework. :(
So you're asking about how to map hardware-specific details
to the NAND framework? That wasn't clear.
> Would it not be the good idea to perform read/write for full (2112 bytes) page?
I'm not sure I can answer that without reading up on that
particular NAND ECC engine.
Recall however that the NAND framework will think in terms
of 2KB reads, with OOB data on the side. There will be
separate reads for 2K and then 64 bytes.
> And enable HW_ECC before read/write and then call for ecc.calculate or
> ecc.correct accordingly. Rest all things can be taken care by
> underlying controller driver.
Those sentences seem to elide critical parts of the process.
Like the details of OOB and ECC handling, which seem to be
what you're not sure of...
next prev parent reply other threads:[~2009-06-26 17:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-26 4:28 query: nand read/write method for 2048 + 64 byte page David Brownell
2009-06-26 5:17 ` vimal singh
2009-06-26 5:56 ` David Brownell
2009-06-26 11:22 ` vimal singh
2009-06-26 17:10 ` David Brownell [this message]
2009-06-27 5:17 ` Amit Kumar Sharma
2009-06-28 6:23 ` vimal singh
-- strict thread matches above, loose matches on Subject: below --
2009-06-23 11:47 vimal singh
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=200906261010.42073.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=linux-mtd@lists.infradead.org \
--cc=vimal.newwork@gmail.com \
/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