imx27: No space left to write bad block table

Fabio Estevam festevam at gmail.com
Mon Apr 19 13:41:00 BST 2021


Hi Miquel,

On Mon, Apr 19, 2021 at 9:27 AM Miquel Raynal <miquel.raynal at bootlin.com> wrote:

> commit bd9c9fe2ad04546940f4a9979d679e62cae6aa51
> Author: Stefan Riedmueller <s.riedmueller at phytec.de>
> Date:   Thu Mar 25 11:23:37 2021 +0100
>
>     mtd: rawnand: bbt: Skip bad blocks when searching for the BBT in NAND
>
>     The blocks containing the bad block table can become bad as well. So
>     make sure to skip any blocks that are marked bad when searching for the
>     bad block table.
>
>     Otherwise in very rare cases where two BBT blocks wear out it might
>     happen that an obsolete BBT is used instead of a newer available
>     version.
>
>     Signed-off-by: Stefan Riedmueller <s.riedmueller at phytec.de>
>     Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
>     Link: https://lore.kernel.org/linux-mtd/20210325102337.481172-1-s.riedmueller@phytec.de

This commit landed in linux-next 20210329. I was able to find the
kernelci log for this version and NAND is correctly probed:
https://storage.kernelci.org/next/master/next-20210329/arm/imx_v4_v5_defconfig/gcc-8/lab-pengutronix/baseline-imx27-phytec-phycard-s-rdk.html

The first NAND error starts with 20210330:
https://storage.kernelci.org/next/master/next-20210330/arm/imx_v4_v5_defconfig/gcc-8/lab-pengutronix/baseline-imx27-phytec-phycard-s-rdk.html

Regards,

Fabio Estevam



More information about the linux-mtd mailing list