This is only a warning.
It is issued by the MTD driver while scanning for bad blocks in the flash
device. see: drivers/mtd/nand/nand_bbt.c :
printk (KERN_WARNING "Bad eraseblock %d at 0x%08x\n", i >> 1, (unsigned int)
from);
The device is still good!
NAND devices, like hard drives, ship with bad blocks to increase yield, and
reducing cost. They also develop bad blocks over time. The Kernel keeps track
of these bad blocks so the filesystem knows not to use them.
Each block consists of 32 pages, and each page has a 1/2 K. So you lose 16 KB
for each bad block. (Which isn't bad for 128MB flash system).
Unfortunately the TS boot code does not check for errors or bad blocks when it
loads the 256KB Redboot image from flash. So if you have a bad block in this
area, your system could fail to boot with no error message.
I have build a 2K ARM assembly language boot loader that will correct and
detect errors as it loads the 256KB Redboot image from flash. It is part of
the "Serial Blaster" project (to be launched in alpha version, for the
TS7250, soon).
-Curtis.
On September 12, 2005 12:53 pm, Daniel Smolik wrote:
> Adriano Winter Bess napsal(a):
> > 2005/9/12, <>:
> >
> >>Dear all,
> >>
> >>I'm using TS7250 with onboard 128MB Nand Flash.
> >>
> >>When i'm running from nand flash, i get this kernel warning as follows:
> >>
> >>***********
> >>Searching for NAND flash...
> >>NAND device: Manufacturer ID: 0x20, Chip ID: 0x79 (ST Micro NAND 128MiB
> >>3,3V 8-bit)
> >>Scanning device for bad blocks
> >>Bad eraseblock 245 at 0x003d4000
> >>Bad eraseblock 279 at 0x0045c000
> >>Bad eraseblock 281 at 0x00464000
> >>***********
> >
> >
> > Just FYI, I also ran into this problem... Actually I have *many* more
> > "Bad eraseblocks" warnings. I've searched the internet a lot on how to
> > fix it, but I couldn't find either. I read it somewhere it *could* be
> > related to the yaffs2 filesystem on the NAND flash, but I'm not sure
> > about this.
>
> May be it really bad block on NAND falsh. I have one TS7250 running 14
> days and I never see this message.
>
> Cheers
> Dan
>
>
>
>
> YAHOO! GROUPS LINKS
>
>
> Visit your group "ts-7000" on the web.
>
> To unsubscribe from this group, send an email to:
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|