[PATCH v1] configs: colibri-imx7: Fix bad block table in flash configuration

sbabic at denx.de sbabic at denx.de
Thu Mar 30 10:44:24 CEST 2023


> From: Stefan Eichenberger <stefan.eichenberger at toradex.com>
> Make sure that the bad block table in flash is used on Colibri iMX7.
> Without this configuration enabled U-Boot corrupts the bad block table
> and Linux will update the table on each reboot. The corruption occurs
> because if CONFIG_SYS_NAND_USE_FLASH_BBT is not set, U-boot will store
> bad blocks out of band, while the Linux driver for the iMX7 will store
> them in band in a bad block table.
> Fixes: fd8c1fc9430 ("arm: dts: imx7: colibri: add raw NAND support")
> Signed-off-by: Stefan Eichenberger <stefan.eichenberger at toradex.com>
> Signed-off-by: Francesco Dolcini <francesco.dolcini at toradex.com>
> Reviewed-by: Michael Trimarchi <michael at amarulasolutions.com>
> Reviewed-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>
Applied to u-boot-imx, next, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list