<br><br><div><span class="gmail_quote">On 5/26/06, <b class="gmail_sendername">Charles Manning</b> <<a href="mailto:manningc2@actrix.gen.nz">manningc2@actrix.gen.nz</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
The email got really badly smashed up by the time I received it, and I expect<br>others might have had the same problem too. This might have been due to your<br>emial client or it might be due to the way Nick forwarded it. It is best to
<br>post directly to the list.<br><br>On Wednesday 24 May 2006 17:55, <a href="mailto:hurray_0@sina.com">hurray_0@sina.com</a> wrote:<br>> # mount -t<br>> yaffs /dev/mtdblock/3 /mnt> yaffs: Attempting MTD mount on
31.3, dev is<br>> 7939 "1f:03"> yaffs: MTD device does not support required functions> mount:<br>> Mounting /dev/mtdblock/3 on /mnt failed<br><br> </blockquote><div><br><br> </div><br><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
There are a few things that need to be right:<br><br>1) When you mount, you need to tell the system you want to mount in "yaffs"<br>mode to support 512 byte devices. You can do this with<br><br># mount -t yaffs /dev/mtdblock/2 /mnt/flash
<br><br>The "MTD device does not support required functions" happens because different<br>mtd functions are used for 512 byte NAND versus 2k NAND or the mtd driver you<br>have does not support the required functions.
<br><br>The easiest way to resolve this is likely to look in yaffs_fs.c where the<br>checks are made and add a few more checks.</blockquote><div><br>and also could be cause enough when we have a cvs yaffs trying to talk to a
2.4.18 kernel <br>on the mx2 which i believe has a custom nand_core layer written <br> <br> <br></div></div>