[Yaffs] Yaffs2 2.4 support

James Newell jnewell@wgate.com
Mon, 7 Mar 2005 18:41:18 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C5236F.28BEEBB0
Content-Type: text/plain;
	charset="windows-1250"

I pulled down the 2.4.29 from kernel.org, and the 2.6.9.  Only the 2.6.9 had
it.
I'm currently working 2.4.18 (for company reasons).  It appears that the mtd
large block nand support would need to be back ported as well to allow
yaffs2 to have large block nand support in this older kernel.  I've read a
little of the mtd list, and there seems to be no interest for them to keep
the 2.4 kernel support alive.  Do you have any advice on a good snapshot of
the mtd driver to back port the 2.4.18 kernel.  They don't appear to have
any cvs branches to distinguish from 2.6 support and 2.4.

Thanks,

Jim 

-----Original Message-----
From: Charles Manning [mailto:manningc2@actrix.gen.nz] 
Sent: Monday, March 07, 2005 6:18 PM
To: James Newell; yaffs@stoneboat.aleph1.co.uk
Subject: Re: [Yaffs] Yaffs2 2.4 support

On Tuesday 08 March 2005 08:49, James Newell wrote:
> Yaffs2 is using a mtd 2.6 only structure members called block_isbad, 
> and block_markbad members from mtd_info structure.
>
> Is yaffs2 usage of these memebers required for 2.4 kernel support? In 
> other words, am I required to back port the mtd 2.6 kernel driver in 
> order to use
> yaffs2 in a 2.4 kernel?

Probably, though I thought this was also supported in more recent 2.4.x too.

I got it going on my 2.4.27-based PC. This should be a pretty simple
back-port though.

block_isbad and block_markbad push the bad block marking & detection into
the mtd because different devices have different bad block marking
strategies. 


_______________________________________________
yaffs mailing list
yaffs@stoneboat.aleph1.co.uk
http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.6.2 - Release Date: 3/4/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.6.2 - Release Date: 3/4/2005
 

------_=_NextPart_001_01C5236F.28BEEBB0
Content-Type: text/html;
	charset="windows-1250"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dwindows-1250">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Yaffs] Yaffs2 2.4 support</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>I pulled down the 2.4.29 from kernel.org, and the =
2.6.9.&nbsp; Only the 2.6.9 had it.</FONT>
<BR><FONT SIZE=3D2>I'm currently working 2.4.18 (for company =
reasons).&nbsp; It appears that the mtd large block nand support would =
need to be back ported as well to allow yaffs2 to have large block nand =
support in this older kernel.&nbsp; I've read a little of the mtd list, =
and there seems to be no interest for them to keep the 2.4 kernel =
support alive.&nbsp; Do you have any advice on a good snapshot of the =
mtd driver to back port the 2.4.18 kernel.&nbsp; They don't appear to =
have any cvs branches to distinguish from 2.6 support and =
2.4.</FONT></P>

<P><FONT SIZE=3D2>Thanks,</FONT>
</P>

<P><FONT SIZE=3D2>Jim </FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Charles Manning [<A =
HREF=3D"mailto:manningc2@actrix.gen.nz">mailto:manningc2@actrix.gen.nz</=
A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Monday, March 07, 2005 6:18 PM</FONT>
<BR><FONT SIZE=3D2>To: James Newell; =
yaffs@stoneboat.aleph1.co.uk</FONT>
<BR><FONT SIZE=3D2>Subject: Re: [Yaffs] Yaffs2 2.4 support</FONT>
</P>

<P><FONT SIZE=3D2>On Tuesday 08 March 2005 08:49, James Newell =
wrote:</FONT>
<BR><FONT SIZE=3D2>&gt; Yaffs2 is using a mtd 2.6 only structure =
members called block_isbad, </FONT>
<BR><FONT SIZE=3D2>&gt; and block_markbad members from mtd_info =
structure.</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; Is yaffs2 usage of these memebers required for =
2.4 kernel support? In </FONT>
<BR><FONT SIZE=3D2>&gt; other words, am I required to back port the mtd =
2.6 kernel driver in </FONT>
<BR><FONT SIZE=3D2>&gt; order to use</FONT>
<BR><FONT SIZE=3D2>&gt; yaffs2 in a 2.4 kernel?</FONT>
</P>

<P><FONT SIZE=3D2>Probably, though I thought this was also supported in =
more recent 2.4.x too. </FONT>
<BR><FONT SIZE=3D2>I got it going on my 2.4.27-based PC. This should be =
a pretty simple back-port though.</FONT>
</P>

<P><FONT SIZE=3D2>block_isbad and block_markbad push the bad block =
marking &amp; detection into the mtd because different devices have =
different bad block marking strategies. </FONT></P>
<BR>

<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>yaffs mailing list</FONT>
<BR><FONT SIZE=3D2>yaffs@stoneboat.aleph1.co.uk</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs" =
TARGET=3D"_blank">http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo=
/yaffs</A></FONT>
</P>

<P><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>No virus found in this incoming message.</FONT>
<BR><FONT SIZE=3D2>Checked by AVG Anti-Virus.</FONT>
<BR><FONT SIZE=3D2>Version: 7.0.308 / Virus Database: 266.6.2 - Release =
Date: 3/4/2005</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR>
<BR><FONT SIZE=3D2>--<BR>
No virus found in this outgoing message.<BR>
Checked by AVG Anti-Virus.<BR>
Version: 7.0.308 / Virus Database: 266.6.2 - Release Date: 3/4/2005<BR>
</FONT>&nbsp;
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C5236F.28BEEBB0--