[Yaffs-archive] Re: How to write yaffsimage to flash

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: Steve Tsai, yaffs
Subject: [Yaffs-archive] Re: How to write yaffsimage to flash
On Tue, 01 Apr 2003 21:56, Steve Tsai wrote:
> I want to write the yaffs image to flash. From the howto on
> incorporation yaffs as a root fs, I should add in the block numbers in
> the oob. Where is the block number? Is is chunkNumber? I did not saw
> block number in tha tags. Thanks.


Steve

There are two useful utilities for this. They are in CVS under /utils:

* mkyaffsimage: This takes a directory and builds a yaffs file system image
from it. This file is in the form of NAND pages that you can write to NAND
quite simply (eg. with bootloder style code) or you can write with mkyaffs.

* mkyaffs: Format an mtd for YAFFS. Optionally load it with an image
generated by mkyaffsimage.

Hope that is what you were looking for.

-- Charles

---------------------------------------------------------------------------------------
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 with the text "unsubscribe"
(without the quotes) as the subject.