U-boot bch4_sw vs omap bch4_hw

jean-philippe francois jp.francois at cynove.com
Fri Dec 7 10:26:06 EST 2012


Hi Ivan,

I have applied your patches for hardware bch ecc support on
OMAP. On the linux side, everything is fine. However I have some trouble
when it comes to u-boot and kernel interoperability.

A nand page written with bch4_sw ecc by U-boot fails the ecc step when
read by the kernel. Looking at a nanddump, OOB placement and size of
the ecc data are the same.

Do you know of any patch for u-boot that would make the  bch4_sw ecc
identical to the kernel one ?

Thank you,
Jean-Philippe François



More information about the linux-mtd mailing list