[U-Boot] [PATCH] Make nboot skip bad blocks
Scott Wood
scottwood at freescale.com
Tue Mar 17 18:00:14 CET 2009
On Mon, Mar 16, 2009 at 04:15:52PM +0100, 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...
No, it was worse than that -- I sent a patch to fix it, but the boot
portion of it was broken and incomplete. I'll apply this and send
another patch to fix another bug.
-Scott
More information about the U-Boot
mailing list