[Yaffs-archive] Re: bad block problem

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nick Bane
Date:  
To: Skumar, yaffs
Subject: [Yaffs-archive] Re: bad block problem
Sharath

I had exactly that problem a while back till I made sure that the ecc connectivity between yaffs and mtd was working right. Things like one mtd layer being passed an integer indicating which oob style to use and another being passed a pointer into an array of oob defs. Both versions link fine of course. There is also some potential for confusion with the yaffs and smart media locations too.

If it is *nearly* right then reads often seem ok but the block is marked as bad and when the data is moved a bad block marker stops reuse of the block. Erasing the bad block marks is bad as this also removes the manufacturer bad block marks and the mtd filters this out. For dev work I stomp on this filter and accept any bad consequences.

See http://62.49.201.250/balloon/ for sample linux source trees with yaffs integration - new 2.4.25-vrs2-tcl1 added recently.

Nick

----- Original Message -----
From: "Skumar" <>
To: "yaffs" <>
Sent: Thursday, March 25, 2004 5:54 AM
Subject: bad block problem


> hin
> i am working on s3c2410 processor using yaffs above mtd on NAND flash.
> i am facing problem that sometimes the yaffs is marking all the blocks as
> bad & the yaffs partition becomes unusable.
> i want to know if someone has faced this problem before.
> i want to know whether to debug yaffs or mtd?
> 
> Regards
> sharath
> 
> 
> 
> ---------------------------------------------------------------------------------------
> This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
> If mailing list membership is no longer wanted you can remove yourself from the list by 
> sending an email to  with the text "unsubscribe" 
> (without the quotes) as the subject. 
> 
> N?¬™¨¥Šx%ŠËb²?,µç[É:?È(n­Èb–Z)z{(~Ü?­ì0ÂÚ?ÉÈn­Èb–Z+€‡æj)bž    b²Ùž™·«²?©ŠÉ薉àz¼?ž×Ê‹œjzޚ‹Þʋ«±é_~º&¶?¥ŠË[Êǧv)àjw¦j)m£&Ÿ~Êު笶Ú?ÉÈn­Èb–Z+ƒ?­†Ø^µìmº{.nÇ+‰·°ŠØhºÛaz«¨µë?²Ø^²æã