jffs2 and nand mtd

Alex Karev lineum at mail.ru
Thu Aug 11 04:07:16 EDT 2005


Artem B. Bityuckiy wrote:

>On Thu, 2005-08-11 at 11:31 +0400, Alex Karev wrote:
>  
>
>>Hello
>>
>>While we mount empty jffs2 and then copying  files it's ok, after 
>>remount/reboot. the files have zero gaps ~2kb at some (stable?) 
>>locations, and filesytem is broken that way.
>>install procedure following:
>>
>>#flash_eraseall -j /dev/mtd0
>>#mount -t jffs2 /dev/mtdblock0 /mnt
>>#cp ...
>>    at this stage files looks ok.
>>#umount
>>#mount
>>    zero gaps appear in data on flash and lot of debug info with some 
>>Eeps, sometimes kernel panic.
>>    
>>
>Hmm, could you please report which MTD snapshot do you use (date) ?
>
>  
>
We don't know how to find real date of snapshot but
we follow stages for 2.4 kernels mentioned in 
http://www.linux-mtd.infradead.org/source.html#kernelversions

/...
cd mtd/
/cvs update -dP -D 2005-03-04

And then apply some patch which we found at list archive to make  
*getlink* works for JFFS2.



/




More information about the linux-mtd mailing list