Charles, I will download it and test it on my board. The code was fixed before, but I will use your code. I used jffs2 on my ARM7DTMI and ARM940DTMI boards before, but I got a few problems and jffs2 is too complicated to fix these problems. YAFFS is more simple than jffs2 and I think it will be more stable. You do a great job. Steve Tsai Charles Manning wrote: >Steve > >Due to another list delivery problem, it took longer to resolve this. > >I have eliminated the callback. > >There is a new yaffs_mtdif.c in CVS. > >-- CHarles > >[snip] > > >>Thomas: I defer to your judgement. In the meantime, Steve, I suggest >>disabling the callback. ie: in nandmtd_EraseBlockInNAND: >> - set ei.callback to NULL instead of the callback address >> - comment out the down(&dev.sem) >> >> >>-- Charles >> >>On Thu, 03 Apr 2003 17:51, Steve Tsai wrote: >> >> >>>My system halt when I did some file operation on yaffs file system. And >>>the console display "nand_erase: attempt to erase a bad block at page >>>0x00001ce0" then the system halt. I found that nandmtd_EraseBlockInNAND >>>will not return, if nand_erase does not call the callback function. >>>nand_erase will not call to callback function, if it does not erase >>>flash successfully. Does anyone fix it? >>> >>>Steve Tsai >>> >>> >>>------------------------------------------------------------------------- >>>-- ------------ 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 >>>yaffs-request@toby-churchill.org with the text "unsubscribe" (without the >>>quotes) as the subject. >>> >>> > > > --------------------------------------------------------------------------------------- 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 yaffs-request@toby-churchill.org with the text "unsubscribe" (without the quotes) as the subject.