JFFS2 Cleanmarker Issue

Sudeep K N sudeepholla.maillist at gmail.com
Sun Jun 29 07:52:28 EDT 2008


On Wed, Jun 18, 2008 at 12:24 AM, Suresh Rajashekara
<suresh at mistralsolutions.com> wrote:
> Sudeep K N wrote:
>>
>> Hi,
>>
>> The clean marker is not getting written to spare area on your nand device.
>> The first 4 bytes of clean maker is 19852003 I think.
>> Just check whether you are getting spare write request for these bytes in
>> your
>> Nand driver and also check if you have written it properly to the spare
>> area.
>>
>
> Thanks Sudeep. I think the oneNAND driver has some issues. Now I guess I am
> in the right direction.
>
> One more question I have is, why the first 2 bytes are ff ff and the
> cleanmarker is starting from the 3rd byte? Is this how it is? I thought the
> cleanmarker should start from the first byte.
>
> Thanks in advance,
>
> Best Regards,
> Suresh
>

No cleanmarker doesnot always start from 1st byte
The position of cleanmarker depends on the oobfree area specified by
you through
struct nand_ecclayout

-- 
Regards,
Sudeep



More information about the linux-mtd mailing list