ECC errors after UBI writes with brcmnand (Northstar with v6.1 controller)

Miquel Raynal miquel.raynal at bootlin.com
Wed Mar 23 08:48:00 PDT 2022


Hi Rafał,

zajec5 at gmail.com wrote on Wed, 23 Mar 2022 16:33:48 +0100:

> On 22.03.2022 18:53, Rafał Miłecki wrote:
> > On 18.03.2022 19:02, Rafał Miłecki wrote:  
> >> My problem is that ubifs complains about ECC errors. I spent some time
> >> debugging it and it seems that:
> >> 1. Initially all blocks written by bootloader can be read fine
> >> 2. Few blocks written by ubifs -> ubi -> brcmnand can't be read back

Do you write and read with U-boot or Linux only ? There is either a
regression (maybe look at the different commits on this driver since
last version it worked?) or if you U-boot to write and Linux to read
maybe there is an ECC mismatch because of a core regression when
parsing the DT, or a difference of configuration.

A few ideas... But there is nothing obvious.

Thanks,
Miquèl



More information about the linux-mtd mailing list