From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from blaster.systems.pipex.net ([62.241.163.7]) by canuck.infradead.org with esmtp (Exim 4.43 #1 (Red Hat Linux)) id 1DJBnQ-0004GB-Ak for linux-mtd@lists.infradead.org; Wed, 06 Apr 2005 10:46:21 -0400 Message-ID: <4253F6C2.1080105@infocell-its.com> Date: Wed, 06 Apr 2005 15:48:34 +0100 From: Zeri Virgo MIME-Version: 1.0 To: Dan Brown References: <4249C357.2040600@ieee.org> <424C1C58.3000905@infocell-its.com> <424C5F16.8010809@ieee.org> <424CA4EA.8090904@infocell-its.com> <424CAE31.8040302@ieee.org> <425157C5.4040007@infocell-its.com> <425181A7.2010809@ieee.org> <42527DD5.4080009@infocell-its.com> <4252EC5D.4090806@ieee.org> <4253D280.6090308@infocell-its.com> <4253D61C.6010109@infocell-its.com> <4253E056.5050603@ieee.org> In-Reply-To: <4253E056.5050603@ieee.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-mtd@lists.infradead.org Subject: Re: [UPDATE] DOCBoot support for NFTL-based DOC2000 List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > 1) The image didn't get written properly (using nandwrite without the > -o option would certainly have this effect, but you indicated that you > did use -o). Yes, I definitely used the -o option to nandwrite. > I'm not sure where to go next. Can you please run "mtd_debug info > /dev/mtd0" and tell me the result, just as a sanity check? mtd.type = MTD_NANDFLASH mtd.flags = MTD_CLEAR_BITS | MTD_ERASEABLE | MTD_OOB | MTD_ECC mtd.size = 67108864 (64M) mtd.erasesize = 16384 (16K) mtd.oobblock = 512 mtd.oobsize = 16 mtd.ecctype = (unknown ECC type - new MTD API maybe?) regions = 0 This may be useless, but I did a nanddump of the first 0x208000 bytes. 0x00 to 0xff -> data Then each of the following chunks of data (ie, not chunks of ff) are preceeded by OOB Data (eg, OOB Data: 36 7f eb 1f 3b aa ff ff ff ff ff ff ff ff ff ff 0x000000200: 0e cd...) 0x200 to 0x2ff -> data 0x400 to 0x43a -> data 0x600 to 0x629 -> data 0x800 to 0x8ff -> data 0xa00 to 0xa75 -> data Then a large chunk (1144949 bytes) 0xc00 to 0x119075 -> data Some mysterious OOB Data before 0x119200, though no normal data following it. Then the rest is blank. - Zeri