Atmel Nand PMECC UBI ECC issue

Boris Brezillon boris.brezillon at bootlin.com
Wed Mar 28 01:32:04 PDT 2018


On Tue, 27 Mar 2018 16:08:46 +0200
Richard Weinberger <richard at nod.at> wrote:

> Oliver,
> 
> Am Dienstag, 27. März 2018, 10:28:52 CEST schrieb Olivier Schonken:
> > Hi Richard
> > 
> > The bytes in question is at offset 36c90.  
> 
> Okay. At this offset we have a UBIFS data node of length 1477.
> One bit of the UBIFS magic changed. 0x30 instead of 0x31
> Fun fact, the UBIFS CRC32 is correct. UBIFS magic and the CRC32 are not 
> covered by the CRC.
> So, really just one bit changed, in the magic.

Looks like this problem was caused by a bug in the atmel NFC driver.
Fix is available here [1].

Regards,

Boris

[1]http://patchwork.ozlabs.org/patch/891725/
-- 
Boris Brezillon, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the linux-mtd mailing list