[U-Boot-Users] skipping bad blocks when erasing nand
Wolfgang Denk
wd at denx.de
Fri Jul 14 13:19:23 CEST 2006
In message <44B76ABA.3000607 at fsforth.de> you wrote:
>
> / # mtd_debug erase /dev/mtd/2 0x22f00000 0x3000000
> nand_erase: attempt to erase a bad block at page 0x0004bf40
> MEMERASE: Input/output error
That's the behaviour I would expect to see from looking at the code.
And what you will see in U-Boot, too - same code, same behaviour.
> I think, bad blocks should not prevent U-Boot from erasing a partition,
> which is needed to write an OS there, which needs to be booted.
I tend to agree here, which was the reason that I said I was willing
to accept the patch, but that at least the printf() shoould be kept
so that the user gets the warning.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Hello! I'm from outer space, and I've made myself look like a signa-
ture. While you are reading this, I'm having sex with your eyes. I
know it feels good to you, because you're smiling. I'm very horny, so
send me to someone else when you've had enough. Thanks!
Sincerely, A Stranger in a Strange Land
More information about the U-Boot
mailing list