* [U-Boot] 4-bit ECC (BCH) support for NAND
@ 2011-08-09 9:41 Hitz, Christian
2011-08-09 18:33 ` Scott Wood
0 siblings, 1 reply; 2+ messages in thread
From: Hitz, Christian @ 2011-08-09 9:41 UTC (permalink / raw)
To: u-boot
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?
Regards,
Christian
--
Christian Hitz
aizo ag, Schlieren, Switzerland, www.aizo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] 4-bit ECC (BCH) support for NAND
2011-08-09 9:41 [U-Boot] 4-bit ECC (BCH) support for NAND Hitz, Christian
@ 2011-08-09 18:33 ` Scott Wood
0 siblings, 0 replies; 2+ messages in thread
From: Scott Wood @ 2011-08-09 18:33 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-09 18:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-09 9:41 [U-Boot] 4-bit ECC (BCH) support for NAND Hitz, Christian
2011-08-09 18:33 ` Scott Wood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox