From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.davidb.org ([66.93.32.219]) by bombadil.infradead.org with esmtps (Exim 4.68 #1 (Red Hat Linux)) id 1J9y3X-0008IR-CD for linux-mtd@lists.infradead.org; Wed, 02 Jan 2008 07:30:27 +0000 Received: from davidb by mail.davidb.org with local (Exim 4.68 #1 (Debian)) id 1J9y0U-0002z1-6A for ; Tue, 01 Jan 2008 23:27:18 -0800 Date: Tue, 1 Jan 2008 23:27:18 -0800 From: David Brown To: linux-mtd@lists.infradead.org Subject: Re: Does UBI support MLC nand flash? Message-ID: <20080102072715.GA11408@old.davidb.org> References: <002601c84cfa$7886bc10$1fa9580a@swcenter.sec.samsung.co.kr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Jan 02, 2008 at 02:13:07PM +0800, Nancy wrote: >I notice mtd-utils "nandwrite.c" does write each page's oob area >twice, write oob(filesystem area) once, and then call "pwrite" to >write pagedata including oob (ecc part). I don't think that will work >right on MLC nand. The underlying driver will have to support cached writes for this to work. It's listed as a TODO in nand_base.c, at least in the stable kernel. Dave