MLC nand driver for linux

Sasa Sasa sasak.1983 at gmail.com
Fri Mar 12 04:46:10 EST 2010


Hi,

Only first time it is working.
i.e cat file > /dev/mtd0; hexdump /dev/mtd0 > k; cat file >
/dev/mtd0;hexdump /dev/mtd0 >k1. This time data will get corrupted i.e
k and k1 are different.

yes umount is safe.(No power cut.)

Regards
Sasa


2010/3/12 Liu Hui-R64343 <r64343 at freescale.com>:
>
>
>> -----Original Message-----
>> From: linux-mtd-bounces at lists.infradead.org
>> [mailto:linux-mtd-bounces at lists.infradead.org] On Behalf Of Sasa Sasa
>> Sent: 2010年3月12日 17:19
>> To: Paulraj, Sandeep
>> Cc: linux-mtd at lists.infradead.org; massimo cirillo
>> Subject: Re: MLC nand driver for linux
>>
>> Hi Paulraj,
>>
>> Thanks for your help.
>>
>> I am able to bring basic mlc nand. But have some queries:-
>> 1) Right now I am using no ECC. Can we write same data to
>> same page without erasing it in mlc nand which is possible for SLC.
>> i.e writing "cat file > /dev/mtd0"  will corrupt mlc nand
>> while writing it multiple times.
> MLC nand flash does not support mulple program without erasing, which
> Is different with SLC(tipically, it can program 4 times without erasing)
>
>>
>>
>> 2) In jffs2 data gets corrupted while mounting and remounting
>> it again. and got the following error
>> JFFS2 notice: (542) read_dnode: wrong data CRC in data node at
>> 0x02109184: read 0x419fcf65, calculated 0x6e3d71b3.
> Did you safely umount it? Imean not do the power cut without umount it.
>
>>
>> Do you have any idea that these issues might be related to
>> timing programming for mlc nand. or any specific changes
>> would be done in mlc nand driver?
>>
>> Regards
>> Sasa
>>
>> On Fri, Mar 5, 2010 at 3:16 AM, Paulraj, Sandeep
>> <s-paulraj at ti.com> wrote:
>> >
>> >
>> >> Hi,
>> >> Sorry my earlier message was rejected because of suspicious header.
>> >>
>> >> Hi Paulraj,
>> >> I'm interested in testing Numonyx MLC Nand devices.
>> >> So, what kind of tests have you done with MLC NAND ?
>> > The ones we get in mtd-utils
>> >> File system level ?
>> > We load jffs and yaffs2
>> >> Driver level ?
>> > We check if ECC correction actually takes place
>> >> Have you modified in any part the nand_base.c file ?
>> > No.
>> >> And what kernel version ?
>> > The latest 2.6.33.. I have been working on it since 2.6.28.
>> >> thanks
>> >>
>> >
>> >
>>
>> ______________________________________________________
>> Linux MTD discussion mailing list
>> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>>
>>
>



More information about the linux-mtd mailing list