RFC: detect and manage power cut on MLC NAND (linux-mtd Digest, Vol 144, Issue 70)

Boris Brezillon boris.brezillon at free-electrons.com
Wed Mar 18 03:03:55 PDT 2015


On Wed, 18 Mar 2015 10:56:15 +0100
Andrea Marson <andrea.marson at dave.eu> wrote:

> >
> > IIUC, you want to select SLC/MLC mode on a per-partition basis, that
> > should be feasible, and this would be particularly useful for bootloader
> > partitions (where UBI is not involved).
> That's exactly what I was thinking about.
> However it is still not clear to me how this should be implemented. I 
> have read a datasheet saying that "SLC mode" consists of halving block 
> addresses, that is higher bit of block address lines must be set to low. 
> I wonder if this strategy prevents paired page related issues. I think 
> one should work at page addressing level instead, in order to use pages 
> that are not paired only. Do you think it makes sense?

Yes, actually implementing the SLC mode in software is quite easy, the
only thing we need is a description of which pages are paired together
in a block.
Moreover, by doing that in SW we won't have to deal with each vendor
implementation of "SLC mode".



-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the linux-mtd mailing list