Problems with AM29LV641DL flash

syed khader khader_s_s at yahoo.com
Fri Dec 1 11:02:44 EST 2006


Hi 
   I am facing the following problems with a 16MB AM29LV641DL flash on a 2.6.11.12 kernel on a arm-920t board.
  1) I was able to root mount jffs2 successfully on a partition but when I create files in the partition I see 
" Node totlen on flash (0xffffffff) != totlen from node ref (0x00000030) "
errors, even if I ensure that there are no unclean reboots. These files are eventually lost on reboot.
     I am using a native flash utility through ICE to program the flash with a jffs2 image.
  2) When I tried to erase the jffs2 flash partition using "flash_eraseall"
I see no errors, but when I remount jffs2 I see that it does not erase anything and  all the files are intact. 
  3) My mtd debug log show me the following messages(when I try to create a file):

MTD do_write_oneword(): WRITE 0x003601d8(0x00006ee6)
MTD do_write_oneword(): NOP
MTD do_write_oneword(): WRITE 0x003601da(0x00007d26)
MTD do_write_oneword(): NOP
Node totlen on flash (0xffffffff) != totlen from node ref (0x00000030)
MTD do_write_oneword(): WRITE 0x003601fc(0x00001985)
MTD do_write_oneword(): NOP
MTD do_write_oneword(): WRITE 0x003601fe(0x0000c002)
MTD do_write_oneword(): WRITE 0x00360200(0x00000044)
MTD do_write_oneword(): NOP
MTD do_write_oneword(): WRITE 0x00360202(0x00000000) 

4) I feel it is not a problem with jffs2/mtd but something to do with hardware. But how can I confirm that it is not mtd driver problem?
Also how can I ensure that flash_eraseall has really deleted data from flash?


 
____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com




More information about the linux-mtd mailing list