[PATCH] u-boot from nand and skip bad block

trimarchi at gandalf.sssup.it trimarchi at gandalf.sssup.it
Fri Apr 11 02:17:10 CEST 2008

Quoting Werner Almesberger <werner at openmoko.org>:

> Andy Green wrote:
>> Thanks for the patch.  I have to rebase git U-Boot on last mokopatches
>> before I try it out, I will do that tonight.
> By the way, Andy, do you want me to add this to SVN or shall we
> proceed directly by also switching u-boot daily builds over to git ?
> The patch looks good, though I haven't tried to actually run it.
> Michael, does it solve any specific problems you've observed, or
> is this just to improve general correctness ?
The code does't skip coorectly the bad block, because it use  
start_addr instead
of i in the if code in main loop (so the condition is always true).
Then it must check the first and second page, byte 5 of 16 extrabyte.
> - Werner
Regards Michael

This message was sent using IMP, the Internet Messaging Program.

More information about the openmoko-kernel mailing list