<div id="mb_0"><div>Hi all<br><br>I am considering switching from jffs2 to yaffs2 to improve mount time.<br>Currently, I have aprox 30-60 sec mount time for a 22 MB partition + some<br>additional 60 sec while the garbage collection continues to run.
<br><br>I have previously used YAFFS with success. Back then I was using the<br>direct interface though. <br><br>Currently I am on a <a href="http://2.6.17.6/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font>
2.6.17.6</a> ARM kernel with a fresh YAFFS2 checkout and<br>up-to-date MTD utils from git. I create my Image with mkyaffs2image and
<br>burn it using flash_eraseall + nandwrite -a -o. When mounted I get a<br>single "lost+found" dir which contains a lot files:<br> <br>UCM]$ll /mnt/flash_fs/lost\+found/<br>Using fallback suid method<br>?--------- 1 root root 535297448 Jan 1 00:06 obj100201
<br>?--------- 1 root root 127526295 Jan 1 00:06 obj100250<br>?--------- 1 root root 382546882 Jan 1 00:06 obj1007 <br>?--------- 1 root root 534871804 Jan 1 00:06 obj1008<br>?--------- 1 root root 511678771 Jan 1 00:06 obj1011
<br>?--------- 1 root root 380946853 Jan 1 00:06 obj101205 <br>etc...<br><br>I have tried applying the mtd2if2.c patch and switching back and forth<br>between YAFFS and MTD ECC. Have I missed something here?<br><br>
BTW: what is the correct way of forcing YAFFS2 to use ECC calculated by<br>MTD? I wan't to do this so I can burn the images from u-boot in the same<br>way as I burn JFFS2 images.<br><br>If I manage to get YAFFS2 running on my target, I want to enhance the
<br>mkyaffs2image to support root+permission squash plus support<br>for device_table files. Is anyone else working on this?<br><br>Thanks in advance:)<br></div><div><span class="sg">kim
</span></div></div>