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 1JA7Gh-0003gf-Ob for linux-mtd@lists.infradead.org; Wed, 02 Jan 2008 17:20:40 +0000 Date: Wed, 2 Jan 2008 09:17:28 -0800 From: David Brown To: Josh Boyer Subject: Re: Does UBI support MLC nand flash? Message-ID: <20080102171728.GA13503@old.davidb.org> References: <002601c84cfa$7886bc10$1fa9580a@swcenter.sec.samsung.co.kr> <20080102063945.5355d112@zod.rchland.ibm.com> <20080102165228.GA11327@old.davidb.org> <20080102111300.544ea5cb@zod.rchland.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20080102111300.544ea5cb@zod.rchland.ibm.com> Cc: Nancy , kmpark@infradead.org, linux-mtd@lists.infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Jan 02, 2008 at 11:13:00AM -0600, Josh Boyer wrote: >On Wed, 2 Jan 2008 08:52:28 -0800 >David Brown wrote: > >> On Wed, Jan 02, 2008 at 06:39:45AM -0600, Josh Boyer wrote: >> >On Wed, 2 Jan 2008 14:19:16 +0800 >> >Nancy wrote: >> > >> >> oh, forgot to metion UBI. >> >> UBI has two headers for each LED/PED, they are not write at same time. >> >> Is that against MLC nand's no ramdom write and write only once >> >> permission? >> > >> >Not to my knowledge. The second header is written to the second page >> >in the block if subpage writes aren't supported by the underlying >> >chip. That should still work fine for MLC. >> >> Many MLC devices will not allow you to write to the second page after >> having written to the third or subsequent pages. Would this still work? > >Yes... UBI doesn't write actual data to the blocks until both headers >are in place. I guess I need to read up more. I though the second header was written after the data had been written. In that case, it would probably be fine. Dave