From manningc2@actrix.gen.nz Mon Mar 08 22:23:06 2010
Received: from smtp.firstline.co.nz ([203.167.210.162] helo=firstline.co.nz)
	by stoneboat.aleph1.co.uk with smtp (Exim 4.69)
	(envelope-from <manningc2@actrix.gen.nz>) id 1NolLk-0002PF-5M
	for yaffs@lists.aleph1.co.uk; Mon, 08 Mar 2010 22:23:06 +0000
Received: (qmail 15341 invoked by uid 453); 8 Mar 2010 22:22:42 -0000
X-Virus-Checked: Checked by ClamAV on firstline.co.nz
Received: from Unknown (HELO linux-dual-head.local) (10.14.210.25)
	by firstline.co.nz (qpsmtpd/0.40) with ESMTP;
	Tue, 09 Mar 2010 11:22:42 +1300
From: Charles Manning <manningc2@actrix.gen.nz>
To: yaffs@lists.aleph1.co.uk
Date: Tue, 9 Mar 2010 11:22:41 +1300
User-Agent: KMail/1.9.10
References: <8CC81D7DBEF3542-CE8-AE9@web-mmc-m07.sysops.aol.com>
	<326806.20707.qm@web29118.mail.ird.yahoo.com>
	<a4451d5a1003060010h569db1b6y69bf0876351cc31@mail.gmail.com>
In-Reply-To: <a4451d5a1003060010h569db1b6y69bf0876351cc31@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <201003091122.41658.manningc2@actrix.gen.nz>
X-SA-Exim-Connect-IP: 203.167.210.162
X-SA-Exim-Mail-From: manningc2@actrix.gen.nz
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on
	stoneboat.aleph1.co.uk
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=4.5 tests=AWL,BAYES_00,SPF_NEUTRAL
	autolearn=no version=3.2.5
X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:14:11 +0000)
X-SA-Exim-Scanned: Yes (on stoneboat.aleph1.co.uk)
Subject: Re: [Yaffs] YAFFS for beginners?
X-BeenThere: yaffs@lists.aleph1.co.uk
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: Discussion of YAFFS NAND flash filesystem <yaffs.lists.aleph1.co.uk>
List-Unsubscribe: <http://lists.aleph1.co.uk/cgi-bin/mailman/options/yaffs>,
	<mailto:yaffs-request@lists.aleph1.co.uk?subject=unsubscribe>
List-Archive: <http://lists.aleph1.co.uk/lurker/list/yaffs.html>
List-Post: <mailto:yaffs@lists.aleph1.co.uk>
List-Help: <mailto:yaffs-request@lists.aleph1.co.uk?subject=help>
List-Subscribe: <http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs>,
	<mailto:yaffs-request@lists.aleph1.co.uk?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2010 22:23:06 -0000

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




