Hi all,

I want to restore the NAND flash file system on DM365 EVM, so I
followed the document of DM365 "getting started guide" on A.5.2.
1.      Flash_eraseall  /dev/mtd3
2.      Mount -t yaffs2 /dev/mtdblock3 /mnt/nand
3.      tar xf  /target-reduced-dm365.tar

But  for 1. Flash_eraseall,  I saw the following:
Erasing 128 Kibyte @ 1e0000 -- 0 % complete.
flash_eraseall: /dev/mtd3: MTD Erase failure: Input/output error
Erasing 128 Kibyte @ 6b20000 -- 20 % complete.
flash_eraseall: /dev/mtd3: MTD Erase failure: Input/output error
Erasing 128 Kibyte @ 16d210000 -- 21 % complete.

Is it a hardware error or software error? And how to fix it?

When "tar xf  /target-reduced-dm365.tar"
There are thousands of lines like
**>> yaffs chunk xx was not erased
 **>> yaffs write required 2 attempt.

I did some search, and doubt whether my kernel configure has a
problem.  This is the default configure for yaffs file system.
File Systems
          -> Miscellaneous  file system
            <*> YAFFS2 File system support
            [  ] Lets yaffs do it own ECC
            <*> autoselect  yaffs  format
           [  ]  disable lazy loading
           (10) reserved blocks for checkpointing
           [  ]  turn off wide tnodes
           [  ]  force chunk erase check

should it be configured like "let yaffs do it own ECC".

Thanks a lot.

Best Regards,
Tao

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to