This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

flash DM365 NAND errors



Hi,

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.

In the kernel configuration, should it be configured like “let yaffs do it own ECC”. The default is not.

Of course, the NAND does not work.

Thanks a lot.

 Tao