public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] 4-bit ECC (BCH) support for NAND
Date: Tue, 9 Aug 2011 13:33:47 -0500	[thread overview]
Message-ID: <4E417D8B.9090106@freescale.com> (raw)
In-Reply-To: <CD1B567EF015FE41B29FF476B8600DDD21D96CDED9@vsrv-mail01.newtechgroup.local>

On 08/09/2011 04:41 AM, Hitz, Christian wrote:
> Hi,
> 
> we are looking to change the NAND flash part on our custom board 
> (AT91SAM9G20-EK based). The new part requires at least a 4-bit ECC 
> algorithm (e.g. BCH). As our processor has no hardware ECC 
> capabilities the ECC has to be calculated in software.
> 
> The Linux kernel has support for BCH ECC since 2.6.39. Has U-Boot 
> support for this kind of ECC algorithm? E.g. Could we use U-Boot to 
> write a kernel and rootfs with matching ECC into the flash?

It has not been aded to U-Boot yet, but U-Boot's NAND code is derived
from Linux's, so it shouldn't be too hard to bring the Linux BCH code over.

-Scott

      reply	other threads:[~2011-08-09 18:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-09  9:41 [U-Boot] 4-bit ECC (BCH) support for NAND Hitz, Christian
2011-08-09 18:33 ` Scott Wood [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=4E417D8B.9090106@freescale.com \
    --to=scottwood@freescale.com \
    --cc=u-boot@lists.denx.de \
    /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