MTD/ DoC Millenium Plus - Failure in flash detection

Ruediger Haertel hae at port.de
Mon Jul 11 04:04:53 EDT 2005


Am Freitag, 8. Juli 2005 10:48 schrieb Ruediger Haertel:
>
> Now I get output from nanddump. But I cannot see the file contents
> that I wrote to the DoC.
>
> testfile: "0123456789ABCDEF"
>
> /> nandwrite -p /dev/mtd5 /mnt/testfile
> MTD_open
> MTD_ioctl
> MTD_ioctl
> Writing data to block 0
> MTD_ioctl
> Bad block at 0, 1 block(s) from 0 willM be skipped
> Writing dataT to block 4000
> D_ioctl
> MTD_write
> MTD_close
>
> Seems to have worked. However nanddump (I dumped the complete 16 MB)
> does not show the file contents on the DoC.
> Do I have to format the DoC or do any other preparation? I thought
> that was only necessary with the "old" driver.
>
> This is also my next step. Preparing for a filesystem. I think I have
> to format it with the ntfl_format tool and then mkfs.jff2. Right?

Using "nftl_format /dev/mtd5" erases the DoC like "eraseall /dev/mtd5" 
completely so that no flash chips are detected :(.

Any suggestions how to restore the original state of the DoC.

-- 

Ruediger Haertel




More information about the linux-mtd mailing list