[Yaffs-archive] RE: how to start?

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: 'Skumar'
CC: 'yaffs@toby-churchill.org'
Subject: [Yaffs-archive] RE: how to start?
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> ;
<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:
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