From: Florian Fainelli <ffainelli@freebox.fr>
To: linux-mtd@lists.infradead.org
Cc: "peter.barada@gmail.com" <peter.barada@gmail.com>,
Matthieu CASTET <matthieu.castet@parrot.com>
Subject: Re: NAND ECC on a per-partition basis
Date: Tue, 17 Aug 2010 10:04:27 +0200 [thread overview]
Message-ID: <201008171004.28280.ffainelli@freebox.fr> (raw)
In-Reply-To: <4C6A3AD1.3070203@parrot.com>
On Tuesday 17 August 2010 09:31:29 Matthieu CASTET wrote:
> Peter Barada a écrit :
> > I'm working with a Micron POP part for an omap3530, and I need to write
> > pages in the boot block using the builtin Hamming ECC(as the bootrom
> > expects it), but the rest of the blocks I want to use the NAND's builtin
> > 4-bit ECC engine.
> >
> > Is there any way to specify the ECC method on a per-partition basis?
>
> No, but you can write in raw mode and compute the ecc in userspace.
Yes, this is a good solution. However, Linux is very likely to report bad
blocks in your bootloader partition, due to the ECC algorithm being different.
At some point we might want to be able to be able to define the ECC layout on a
per-partition basis anyway. I do not say this is easy, especially as we might
be switching between software/hardware ECC layouts from one block to another.
--
Florian
prev parent reply other threads:[~2010-08-17 8:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-16 14:38 NAND ECC on a per-partition basis Peter Barada
2010-08-17 7:31 ` Matthieu CASTET
2010-08-17 8:04 ` Florian Fainelli [this message]
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=201008171004.28280.ffainelli@freebox.fr \
--to=ffainelli@freebox.fr \
--cc=linux-mtd@lists.infradead.org \
--cc=matthieu.castet@parrot.com \
--cc=peter.barada@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;
as well as URLs for NNTP newsgroup(s).