[Yaffs-archive] RE: how to start?

Charles Manning Charles.Manning@trimble.co.nz
Thu, 21 Nov 2002 08:45:01 +1300


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_01C290CD.50CEA2D0
Content-Type: text/plain;
	charset="iso-8859-1"

Sharath
 
You will only need to build YAFFS into the kernel once you start doing
rootfs stuff. For starting off you should be fine just just building YAFFS
as a module. That is what you get if you just make the stuff in CVS.
 
Then
#insmod yaffs.o      <- install the yaffs file system
#mkdir /mnt/yaffs    <- make a mount point
#mount -t yaffs /dev/mtd0 /mnt/yaffs <- mount up yaffs
 
YAFFS really needs a patchin style script like JFFSx to include it into the
kernel tree for full menuconfig support. I believe someone has done this
already. It would be nice to see this in CVS.
 
-- CHarles
 
 
 

-----Original Message-----
From: Skumar [mailto:skumar@mistralsoftware.com]
Sent: Wednesday, 20 November 2002 6:21 p.m.
To: Charles Manning
Subject: Re: how to start?


thanks charles
I am able to build yaffs image. 
 
Now the linux image should know about yaffs to mount the image. i am using
linux 2.4.18 kernel. when i make menuconfig, in filesystem i don't have
yaffs file system support. 
how to go about this problem should i patch linux?
 
 
Regards 
sharath 
 

----- Original Message ----- 
From: Charles Manning <mailto:Charles.Manning@trimble.co.nz>  
To: 'Skumar' <mailto:skumar@mistralsoftware.com>  ; yaffs@toby-churchill.org
<mailto:yaffs@toby-churchill.org>  
Sent: Wednesday, November 20, 2002 12:58 AM
Subject: RE: how to start?

Sharath
 
To answer your questions...
 
To get yaffs working on your board the easiest (preferred) way is to use the
mtd interface to your NAND parts. You then mount the mtd device as a yaffs
file system. There are docs on this in CVS.
 
YAFFS has a utility called mkyaffsimage that will create a file system
image. This is useful for creating a rootfs. Nick Bane has got YAFFS up as a
rootfs on Balloon
http://www.toby-churchill.org/Distribution/distribution.html
<http://www.toby-churchill.org/Distribution/distribution.html> . Hopefully
Nick will write a nice doc sometime (hint Nick :-)).
 
I don't know if the yaffs list is archived.
 
-- Charles

-----Original Message-----
From: Skumar [mailto:skumar@mistralsoftware.com]
Sent: Tuesday, 19 November 2002 10:31 p.m.
To: yaffs@toby-churchill.org
Subject: how to start?


Hi,
I am working on S3C2410 (arm9tdmi) based evaluation board. i want to try
yaffs on it. i need information on how to
1) test yaffs on my board (mount yaffs on nand flash)
2) boot linux with yaffs as root
 
also is there a mailing list archive which i can access all the mails
 
Regards 
sharath


------_=_NextPart_001_01C290CD.50CEA2D0
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=272013519-20112002>Sharath</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=272013519-20112002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=272013519-20112002>You 
will only need to build YAFFS into the kernel once you start doing rootfs 
stuff.</SPAN></FONT><FONT color=#0000ff face=Arial size=2><SPAN 
class=272013519-20112002> For starting off you should be fine just just building 
YAFFS as a module. That is what you get if you just make the stuff in 
CVS.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=272013519-20112002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=272013519-20112002>Then</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=272013519-20112002>#insmod yaffs.o&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;- 
install the yaffs file system</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=272013519-20112002>#mkdir 
/mnt/yaffs&nbsp;&nbsp;&nbsp; &lt;- make a mount point</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=272013519-20112002>#mount 
-t yaffs /dev/mtd0 /mnt/yaffs &lt;- mount up yaffs</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=272013519-20112002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=272013519-20112002>YAFFS 
really needs a patchin style script like JFFSx to include it into the kernel 
tree for full menuconfig support. I believe someone has done this already. It 
would be nice to see this in CVS.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=272013519-20112002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=272013519-20112002>-- 
CHarles</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=272013519-20112002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=272013519-20112002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=272013519-20112002></SPAN></FONT>&nbsp;</DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Skumar 
  [mailto:skumar@mistralsoftware.com]<BR><B>Sent:</B> Wednesday, 20 November 
  2002 6:21 p.m.<BR><B>To:</B> Charles Manning<BR><B>Subject:</B> Re: how to 
  start?<BR><BR></DIV></FONT>
  <DIV><FONT face=Arial size=2>thanks charles</FONT></DIV>
  <DIV><FONT face=Arial size=2>I am able to build yaffs image. </FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Now the linux image should know about yaffs to 
  mount the image. i am using linux 2.4.18 kernel. when i make menuconfig, in 
  filesystem i don't have yaffs file system support. </FONT></DIV>
  <DIV><FONT face=Arial size=2>how to go about this problem should i patch 
  linux?</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Regards </FONT></DIV>
  <DIV><FONT face=Arial size=2>sharath </FONT></DIV>
  <DIV>&nbsp;</DIV>
  <BLOCKQUOTE 
  style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
    <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
    <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
    <A href="mailto:Charles.Manning@trimble.co.nz" 
    title=Charles.Manning@trimble.co.nz>Charles Manning</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A 
    href="mailto:skumar@mistralsoftware.com" 
    title=skumar@mistralsoftware.com>'Skumar'</A> ; <A 
    href="mailto:yaffs@toby-churchill.org" 
    title=yaffs@toby-churchill.org>yaffs@toby-churchill.org</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, November 20, 2002 
    12:58 AM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: how to start?</DIV>
    <DIV><BR></DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
    class=926121819-19112002>Sharath</SPAN></FONT></DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
    class=926121819-19112002></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=926121819-19112002>To 
    answer your questions...</SPAN></FONT></DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
    class=926121819-19112002></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=926121819-19112002>To 
    get yaffs working on your board the easiest (preferred) way is to use the 
    mtd interface to your NAND parts. You then mount the mtd device as a yaffs 
    file system. There are docs on this in CVS.</SPAN></FONT></DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
    class=926121819-19112002></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
    class=926121819-19112002>YAFFS has a utility called mkyaffsimage that will 
    create a file system image. This is useful for creating a rootfs. Nick Bane 
    has got YAFFS up as a rootfs on Balloon <A 
    href="http://www.toby-churchill.org/Distribution/distribution.html">http://www.toby-churchill.org/Distribution/distribution.html</A>. 
    Hopefully Nick will write a nice doc sometime (hint Nick 
    :-)).</SPAN></FONT></DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
    class=926121819-19112002></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=926121819-19112002>I 
    don't know if the yaffs list is archived.</SPAN></FONT></DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
    class=926121819-19112002></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=926121819-19112002>-- 
    Charles</SPAN></FONT></DIV>
    <BLOCKQUOTE style="MARGIN-RIGHT: 0px">
      <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma 
      size=2>-----Original Message-----<BR><B>From:</B> Skumar 
      [mailto:skumar@mistralsoftware.com]<BR><B>Sent:</B> Tuesday, 19 November 
      2002 10:31 p.m.<BR><B>To:</B> yaffs@toby-churchill.org<BR><B>Subject:</B> 
      how to start?<BR><BR></DIV></FONT>
      <DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
      <DIV><FONT face=Arial size=2>I am working on&nbsp;S3C2410 (arm9tdmi) based 
      evaluation board. i want to try yaffs on it. i need information on how 
      to</FONT></DIV>
      <DIV><FONT face=Arial size=2>1) test yaffs on my board (mount yaffs on 
      nand flash)</FONT></DIV>
      <DIV><FONT face=Arial size=2>2) boot linux with yaffs as root</FONT></DIV>
      <DIV>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2>also is there a mailing list archive which i 
      can access all the mails</FONT></DIV>
      <DIV>&nbsp;</DIV>
      <DIV><FONT face=Arial size=2>Regards </FONT></DIV>
      <DIV><FONT face=Arial 
size=2>sharath</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C290CD.50CEA2D0--


---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by 
sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe" 
(without the quotes) as the subject.