<br><br><div><span class="gmail_quote">On 5/26/06, <b class="gmail_sendername">Charles Manning</b> &lt;<a href="mailto:manningc2@actrix.gen.nz">manningc2@actrix.gen.nz</a>&gt; 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>&gt; # mount -t<br>&gt; yaffs /dev/mtdblock/3 /mnt&gt; yaffs: Attempting MTD mount on 
31.3, dev is<br>&gt; 7939 &quot;1f:03&quot;&gt; yaffs: MTD device does not support required functions&gt; mount:<br>&gt; Mounting /dev/mtdblock/3 on /mnt failed<br><br>&nbsp;</blockquote><div><br><br>&nbsp;</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 &quot;yaffs&quot;<br>mode to support 512 byte devices. You can do this with<br><br>#&nbsp;&nbsp;mount -t yaffs /dev/mtdblock/2&nbsp;&nbsp;/mnt/flash
<br><br>The &quot;MTD device does not support required functions&quot; 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&nbsp;also&nbsp;could&nbsp;be&nbsp;cause&nbsp;enough when&nbsp;we&nbsp;have&nbsp;a&nbsp;cvs&nbsp;yaffs&nbsp;trying&nbsp;to&nbsp;talk&nbsp;to&nbsp;a&nbsp;
2.4.18&nbsp;kernel&nbsp;&nbsp;<br>on&nbsp;the mx2&nbsp;which&nbsp;i believe has&nbsp;a&nbsp;custom&nbsp;nand_core&nbsp;layer written&nbsp; <br>  <br>&nbsp;<br></div></div>