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

Kamal Dasu kdasu.kdev at gmail.com
Fri Feb 12 08:16:17 PST 2016


Rafal,

Thanks for pointing this out, will send a patch with the above solution.

Kamal

On Fri, Feb 12, 2016 at 7:06 AM, Rafał Miłecki <zajec5 at gmail.com> wrote:
> 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