jffs2_flash_writev(): Non-contiguous write to

Ricard Wanderlof ricard.wanderlof at axis.com
Wed Oct 18 06:38:19 EDT 2006


On Wed, 18 Oct 2006, Démi Zsolt wrote:

>> While I don't think this is the solution to your problem, note that 
>> there there now is an mtd-utils 1.0.1 from the same place. I know at 
>> least some of the applications in 1.0.0 don't work properly with 2.6.18 
>> due to mtd changes.
>> 
> Thanks, but I don't see any changes in the produced jffs2 image file...

Well I didn't really think it was a solution, just a longshot since there 
was an updated version available.

> the problem is in wbuf.c in the kernel jffs2 file system driver... I'm 
> using the mtd-utils only for erasing the flash (I have tested and it's 
> fill the hole section with 0xff) , copying the image into flash (I have 
> tested, the image correctly copied into flash), and producing image file 
> containing jffs2 file system.

Sounds ok so far.

> The jffs2 file system driver is the part of the mtd?

Yes, in the sense that it is developed by the group of people, but it 
lives in fs/jffs2 in the kernel tree rather than in drivers/mtd .

/Ricard
--
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30




More information about the linux-mtd mailing list