From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.bootlin.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f16VN-00057y-W5 for linux-mtd@lists.infradead.org; Wed, 28 Mar 2018 08:32:27 +0000 Date: Wed, 28 Mar 2018 10:32:04 +0200 From: Boris Brezillon To: Richard Weinberger Cc: Olivier Schonken , David Woodhouse , Brian Norris , linux-mtd@lists.infradead.org, Marek Vasut Subject: Re: Atmel Nand PMECC UBI ECC issue Message-ID: <20180328103204.5272349a@bbrezillon> In-Reply-To: <3546894.3QeRhpBW0o@blindfold> References: <1849050.lXIvJB3S2I@blindfold> <3546894.3QeRhpBW0o@blindfold> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 27 Mar 2018 16:08:46 +0200 Richard Weinberger wrote: > Oliver, >=20 > Am Dienstag, 27. M=C3=A4rz 2018, 10:28:52 CEST schrieb Olivier Schonken: > > Hi Richard > >=20 > > The bytes in question is at offset 36c90. =20 >=20 > 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=20 > 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/ --=20 Boris Brezillon, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com