[U-Boot] [PATCH] Make nboot skip bad blocks

Wolfgang Denk wd at denx.de
Mon Mar 16 20:59:52 CET 2009


Dear Scott,

In message <20090316151552.GA4330 at localhost.localdomain>
Ladislav Michl wrote:
> On Sun, Mar 15, 2009 at 05:59:28PM -0400, Mike Frysinger wrote:
> > On Friday 13 March 2009 09:38:19 Ladislav Michl wrote:
> > > nboot command currently does not skip bad blocks and gives read error when
> > > loading image stored over bad block. With patch applied, nboot works as
> > > expected:
> > 
> > iirc, some people proposed a new command or an option to nboot to get skip 
> > behavior (e.g. nboot.jffs2), but i dont see the value in nboot never skipping 
> > bad blocks.  when would anyone ever want to use a boot command and have bad 
> > blocks attempt to be processed ?
> 
> Ah... Are you reffering to "Loading from NAND using 'nboot' Periodically Fails
> Where 'nand read' Succeeds" thread?
> http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/41977/
> It seems conclusion was to skip bad blocks by default, but no patch went in.
> I'm considering it a bug fix and therefore -rc material...

Could you please comment?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's a small world, but I wouldn't want to paint it.


More information about the U-Boot mailing list