[Yaffs] yaffs2 direct interface(tags)

Abhishek Bhattacharya abhishek.b@lgsoftindia.com
Thu, 27 Jan 2005 13:22:42 +0530


This is a multi-part message in MIME format.

------_=_NextPart_001_01C50445.2EF761A3
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


Hello
=0D
Form the code of yaffs2, direct interface, it looks like there is no
function like yaffs_LoadTagsIntoSpare().
Instead in "yaffs_flashif.c", an attempt is made to write to the flash
with tags.
=0D
How does this spare concept get replaced by Extended tags?
=0D
Is it necessary to use pack and unpack tags for yaffs2 , or can we
directly pass a pointer to=0D
extended tags to the driver?
Which pack, unpack routine should be used for yaffs2?
=0D
=0D
I am using 128 MB NAND flash ( 2K + 64) bytes page
=0D
Thanks
Abhishek
=0D
=0D


***************************************************************************=
***************************************************************************=
****

This email message is for the sole use of the intended recipient(s)and may=
 contain CONFIDENTIAL and PRIVILEGED information.
LG Soft India will not be responsible for any viruses or defects or any=
 forwarded attachments emanating either from within=0D
LG Soft India or outside. Any unauthorized review, use, disclosure or=
 distribution is prohibited. If you are not the intended=0D
recipient, please contact the sender By reply email and destroy all copies=
 of the original message.

***************************************************************************=
***************************************************************************=
****
------_=_NextPart_001_01C50445.2EF761A3
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN=0D
class=3D209383307-27012005>Hello</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=0D
class=3D209383307-27012005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D209383307-27012005>Form the=
 code of=0D
yaffs2, direct interface, it looks like there is no function like=0D
yaffs_LoadTagsIntoSpare().</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D209383307-27012005>Instead=
 in=0D
"yaffs_flashif.c", an attempt is made to write to the flash with=0D
tags.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=0D
class=3D209383307-27012005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D209383307-27012005>How does=
 this spare=0D
concept get replaced by Extended tags?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=0D
class=3D209383307-27012005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D209383307-27012005>Is it=
 necessary to=0D
use pack and unpack tags for yaffs2 , or can we directly pass a pointer to=
=0D
</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D209383307-27012005>extended=
 tags to the=0D
driver?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D209383307-27012005>Which=
 pack, unpack=0D
routine should be used for yaffs2?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=0D
class=3D209383307-27012005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=0D
class=3D209383307-27012005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D209383307-27012005>I am=
 using 128 MB=0D
NAND flash ( 2K + 64) bytes page</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=0D
class=3D209383307-27012005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=0D
class=3D209383307-27012005>Thanks</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=0D
class=3D209383307-27012005>Abhishek</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=0D
class=3D209383307-27012005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=0D
class=3D209383307-27012005></SPAN></FONT>&nbsp;</DIV></BODY></HTML>

<table><tr><td bgcolor=3D#ffffff><font color=
=3D#000000>****************************************************************=
***************************************************************************=
***************<br><br>This email message is for the sole use of the=
 intended recipient(s)and may contain CONFIDENTIAL and PRIVILEGED=
 information.<br>LG Soft India will not be responsible for any viruses or=
 defects or any forwarded attachments emanating either from within <br>LG=
 Soft India or outside. Any unauthorized review, use, disclosure or=
 distribution is prohibited. If you are not the intended <br>recipient,=
 please contact the sender By reply email and destroy all copies of the=
 original=
 message.<br><br>**********************************************************=
***************************************************************************=
*********************<br></font></td></tr></table>
------_=_NextPart_001_01C50445.2EF761A3--