MLC nand driver for linux

Vimal Singh vimal.newwork at gmail.com
Wed Feb 24 05:39:15 EST 2010


On Wed, Feb 24, 2010 at 2:31 PM, Ricard Wanderlof
<ricard.wanderlof at axis.com> wrote:
>
> On Tue, 23 Feb 2010, Paulraj, Sandeep wrote:
>
>>>
>>> I am also using micron mlc nand device.(4k page size)
>>>
>>> Just for ref, could I refer your driver from mainline linux kernel if
>>> available, i think it would be same for SLC and MLC.
>>
>> Drivers/mtd/nand/davinci_nand.c
>
> Note that this driver is dependent on hardware ECC generation of TI DaVinci
> microcontrollers. The equivalent hardware may exist on other systems, but as
> far as I can tell there is no built in software ECC algorithm apart from the
> standard 1 bit / 256 bytes algorithm in mtd.
>

Linux kernel supports Reed-Solomon library. You can use that if more
number of bit correction is required.
One can take help from 'nand/diskonchip.c' driver about uses of this library.


-- 
Regards,
Vimal Singh



More information about the linux-mtd mailing list