From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.professional-internet.de ([213.69.77.2] helo=hermes.professional-internet.de) by canuck.infradead.org with esmtp (Exim 4.52 #1 (Red Hat Linux)) id 1DrtHg-0004ke-3r for linux-mtd@lists.infradead.org; Mon, 11 Jul 2005 04:05:08 -0400 From: Ruediger Haertel To: tglx@linutronix.de Date: Mon, 11 Jul 2005 10:04:53 +0200 References: <200507061745.18226.hae@port.de> <200507071704.19393.hae@port.de> <200507081048.18115.hae@port.de> In-Reply-To: <200507081048.18115.hae@port.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507111004.54060.hae@port.de> Cc: linux-mtd@lists.infradead.org Subject: Re: MTD/ DoC Millenium Plus - Failure in flash detection List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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