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.43 #1 (Red Hat Linux)) id 1DqXvH-0000rk-K3 for linux-mtd@lists.infradead.org; Thu, 07 Jul 2005 11:04:23 -0400 From: Ruediger Haertel To: tglx@linutronix.de Date: Thu, 7 Jul 2005 17:04:19 +0200 References: <200507061745.18226.hae@port.de> <1120742513.26713.106.camel@tglx.tec.linutronix.de> <200507071532.17991.hae@port.de> In-Reply-To: <200507071532.17991.hae@port.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507071704.19393.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 Donnerstag, 7. Juli 2005 15:32 schrieb Ruediger Haertel: > Am Donnerstag, 7. Juli 2005 15:21 schrieb Thomas Gleixner: > > On Thu, 2005-07-07 at 15:05 +0200, Ruediger Haertel wrote: > > > For the NAND DiskOnChip driver I had to apply the patch mentioned > > > here: > > > http://lists.infradead.org/pipermail/linux-mtd/2004-October/01064 > > >0. html > > > > > > > > > What irritates me is the output: > > > DiskOnChip BNAND Media Header not found. > > > > > > Why is that ? > > > > Obviously the header is not at the expected place. > > > > > />nanddump /dev/mtd5 /var/xxx 0 128 > > > MTD_open > > > MTD_ioctl > > > Unknown flash (not normalM NAND) > > > > Is this nanddump from latest MTD-CVS ? > > No. I use the one of the uClinux-dist-20041215. I'll give the one > from mtd-cvs a try. Should I use realy the latest snapshot or the one > I am using from date 2005.03.03. > Now I used the nanddump from mtd-cvs 2005-03-03. The same result. It reads oobsize and oobblock as 0. I printed the values of the mtd structure during probing and they are: oob size: 16, oob block: 512 Seems ok. So I guess my device file is not correct. I am using /dev/mtd5,c,90,9. Just for completeness here is the probing output of the driver: Using configured DiskOnChip probe address 0x40000000 DiskOnChip found at 0x40000000 NAND device: Manufacturer ID: 0x98, Chip ID: 0x73 (Toshiba NAND 16MiB 3,3V 8-bit) oob size: 16, oob block: 512 nand_read_ecc: Failed ECC read, page 0x00000020 on chip 0 ECC error scanning DOC at 0x4000 nand_read_ecc: Failed ECC read, page 0x00000040 on chip 0 ECC error scanning DOC at 0x8000 nand_read_ecc: Failed ECC read, page 0x00000060 on chip 0 ECC error scanning DOC at 0xc000 nand_read_ecc: Failed ECC read, page 0x00000080 on chip 0 ECC error scanning DOC at 0x10000 DiskOnChip BNAND Media Header not found. mtd: Giving out device 5 to DiskOnChip Millennium Plus -- Ruediger Haertel