On Saturday 06 March 2010 21:10:36 Dean Sinaean wrote:
> Hello,
> I am a beginner for yaffs ,too.. I am to use it on a 64M nand flash and it
> is 512+16 type.
> My OS is linux,kernel version is 2.6.30 .My question is how should I fix it
> into my kernel and how should I make the image?
> I've tried to patch it and configure it in many ways and make the image
> using mkyaffsimg. But the result is disappointing. It just can execute
> linuxrc(busybox).
First get yaffs working by itself while running from a different root. Once
you have it all working then work through what is required to make the yaffs
root.
You need your NAND exposed as an mtdblock device.
Get a yaffs tarball.
Patch it into the linux tree using the patch-ker.sh script.
Config yaffs parts of the kernel.
Build kernel.
Boot and use the tracing. Google for yaffs tracing for more info.
--- Charles
>
> On Wed, Feb 24, 2010 at 9:48 AM, Sven Van Asbroeck
<
ab154365@yahoo.co.uk>wrote:
> > > I intend to use YAFFS to a SD Card
> > > file system.
> >
> > If you are planning to use an SD Card as a storage medium, you don't need
> > yaffs. Using yaffs on an SD Card medium does not give you any benefits.
> > If anything, it will wear out your SD Card faster.
> >
> > yaffs is a file system designed to run on top of raw flash. An SD Card is
> > not raw flash. It contains a raw flash chip, true, but it also contains a
> > microcontroller with firmware which will make the raw flash look like a
> > standard disk (block device). This firmware is called a 'flash
> > translation layer'.
> >
> > In short, if you want to use an SD Card as a storage medium, use a
> > standard disk (block device) file system such as FAT.
> >
> > Sven
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > yaffs mailing list
> > yaffs@lists.aleph1.co.uk
> > http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs