brcmnand (iproc): bitflips and ECC errors due to ignored ECC config

Rafał Miłecki zajec5 at gmail.com
Fri Feb 12 04:06:07 PST 2016


On 8 February 2016 at 21:05, Kamal Dasu <kdasu.kdev at gmail.com> wrote:
> "Unfortunately, we don't really have a way to clearly differentiate 1-bit
> Hamming and 1-bit BCH in DT, do we?"
>
> Yes hamming is a special case in that sense. Adding an optional
> "ecc_algo"  field would help.
> If Rafal has the ability to  create an image with BCH-2 through BCH-8
> that can also work on this part. However the current issue needs to
> get fixed to have 1-bit hamming along side 1-bit BCH support. And
> maybe we default to using BCH, unless hamming is chosen for 1-bit.

I can't really change the way bootloader (CFE) works and how it
flashes image to the NAND. So I'm stuck with BCH-1.



More information about the linux-mtd mailing list