[U-Boot] [PATCH] UBI: fix endless loop when a bitflip was detected

Holger Brunck holger.brunck at keymile.com
Fri Oct 7 09:39:36 CEST 2011


Hi Wolfgang,

Wolfgang Denk wrote:
> In message <1315904833-11430-1-git-send-email-holger.brunck at keymile.com> you wrote:
>> On km_kirkwood boards we saw that u-boot gets stuck if the
>> UBI layer detects a correctable bitflip in the NAND flash
>> when u-boot tries to attach to the UBI device.
>>
>> This was already fixed in the UBI layer in the current
>> mainline linux. The original commit was:
>>
>> "commit b86a2c56e512f46d140a4bcb4e35e8a7d4a99a4b
>> Author: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
>> Date:   Sun May 24 14:13:34 2009 +0300
>>

[...]

>>
>> Signed-off-by: Holger Brunck <holger.brunck at keymile.com>
>> cc: Stefan Roese <sr at denx.de>
>> ---
>>  drivers/mtd/ubi/build.c |    9 +++++++++
>>  drivers/mtd/ubi/eba.c   |    8 ++++++--
>>  drivers/mtd/ubi/ubi.h   |   10 ++++++++--
>>  drivers/mtd/ubi/wl.c    |   43 +++++++++++++++++++++++++++++++++++++------
>>  4 files changed, 60 insertions(+), 10 deletions(-)
> 
> Checkpatch says:
> 
> total: 0 errors, 2 warnings, 166 lines checked
> 
> Please clean up and resubmit.  Thanks.
> 

I already made the request to drop this patch. Please take a look at:
http://lists.denx.de/pipermail/u-boot/2011-September/101888.html

Best regards
Holger Brunck


More information about the U-Boot mailing list