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 1fretr-0001RZ-LF for linux-mtd@lists.infradead.org; Mon, 20 Aug 2018 07:46:57 +0000 Date: Mon, 20 Aug 2018 09:46:30 +0200 From: Miquel Raynal To: Kostya Porotchkin Cc: Daniel Mack , Haojian Zhuang , Richard Weinberger , linux-mtd@lists.infradead.org, David Woodhouse , Brian Norris , Marek Vasut , Mike Dunn , Sergey Larin Subject: Re: [EXT] Re: nand speed test Message-ID: <20180820094630.392f050f@xps13> In-Reply-To: <1c78935418904123a9cc27a65ec9d3e4@IL-EXCH02.marvell.com> References: <20180804205923.25298-1-boris.brezillon@bootlin.com> <20180804205923.25298-2-boris.brezillon@bootlin.com> <1c78935418904123a9cc27a65ec9d3e4@IL-EXCH02.marvell.com> 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: , Hi Kostya, Kostya Porotchkin wrote on Sun, 19 Aug 2018 14:12:16 +0000: > Hi, Miguel, >=20 > We clearly have a problem with BBT on this 8K-page NAND. > The Linux driver is unable to find BBT after reboot, even if it reports t= hat the new table was written upon previous boot. > It looks like the u-boot also lost the BBT information after reboot. > So something is not yet working well with this 4GB device. >=20 > Marvell>> nand info =20 >=20 > Device 0: nand0, sector size 1024 KiB > Page size 8192 b > OOB size 448 b > Erase size 1048576 b > subpagesize 8192 b > options 0x 200 > bbt options 0x a0000 > Marvell>> nand bad =20 >=20 > Device 0 bad blocks: > ff800000 > ff900000 > ffa00000 > ffb00000 > ffc00000 > ffd00000 > ffe00000 > fff00000 This enlarging list is very likely to show a mismatch between U-Boot and Linux ECC configuration, you should check that first. It will probably explain why BBT is not recognized. Thanks, Miqu=C3=A8l