[U-Boot] bug, nand, am33xx: nand->ecc.strength not set in board_nand_init()
Scott Wood
scottwood at freescale.com
Tue Jun 4 18:48:43 CEST 2013
On 06/04/2013 03:52:32 AM, Heiko Schocher wrote:
> commit dfe64e2c89731a3f9950d7acd8681b68df2bae03
> Author: Sergey Lapin <slapin at ossfans.org>
> Date: Mon Jan 14 03:46:50 2013 +0000
>
> mtd: resync with Linux-3.7.1
>
> Introduced runtime bug:
>
> U-Boot 2013.04-00499-g46567df-dirty (Jun 04 2013 - 08:17:08)
>
> I2C: ready
> DRAM: 512 MiB
> WARNING: Caches not enabled
> NAND: BUG: failure at nand_base.c:3214/nand_scan_tail()!
> BUG!
> resetting ...
>
> on boards using drivers/mtd/nand/omap_gpmc.c as in board_nand_init()
> nand->ecc.strength is not set. Fix this!
Thanks, applied to u-boot-nand-flash. We did try to update all the
existing drivers to do this. Omap_gpmc did get updated, but it was
incomplete, as unlike most drivers, it has two different places where
this stuff gets initialized (the actual init, and the ecc switch
command).
-Scott
More information about the U-Boot
mailing list