[PATCH] ARM: BCM5301X: Fix NAND ECC parameters for Linksys Panamera

Rafał Miłecki zajec5 at gmail.com
Fri Apr 27 23:44:04 PDT 2018


On 28 April 2018 at 06:19, Vivek Unune <npcomplete13 at gmail.com> wrote:
> On Fri, Apr 27, 2018 at 10:05 AM, Vivek Unune <npcomplete13 at gmail.com> wrote:
>> On Wed, Apr 25, 2018 at 11:02:04AM +0200, Rafał Miłecki wrote:
>>>
>>> The easiest solution: ignore all these "error -74 (ECC error) while
>>> reading" errors (they may last for few minutes!). I believe UBI should
>>> simply recreate all pages it couldn't access and once you wait long
>>> enough, all your NAND flash will be using BCH8.
>>
>> Let me build the firmware with BCH-8 and wait it out. I'll report back my
>> results.
>
> I can confirm that BCH-8 indeed works after letting it run through those
> ECC errors.
>
> Thanks!

Great, thanks! That controller behavior (reading BCH8 fine while
working in BCH4 mode) is really confusing.

-- 
Rafał



More information about the linux-arm-kernel mailing list