Re: [Yaffs] mkyaffs utility for yaffs2 large block NAND flas…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bryan Wu
Date:  
To: Siddharth Choudhuri
CC: yaffs
Subject: Re: [Yaffs] mkyaffs utility for yaffs2 large block NAND flash
On Mon, 2007-08-06 at 18:17 -0700, Siddharth Choudhuri wrote:
> Hi,
>
> Is there is a mkyaffs version for YAFFS2 on large block NAND flash. I want to burn a YAFFS2 image
> (derived out of mkyaffs2image) onto a NAND flash partition.
>
> I tried using the nandwrite (mkyaffs2image -> erase flash -> nandwrite -a -o /dev/mtdN
> yaffs2.img), but every time I mount/umount, I get a series of "gc prioritised messages" for every
> block that the image was written to. However, if I erase the flash and copy the files, the same
> messages does not appear. Are these messages a notification or error ?
>


I met this problems before. And got some information from the List.
Currently, you can use this method to do some test:
- erase flash
- mount -t yaffs /dev/mtdblockN /mnt
- cp the files (you want to store in the NAND flash) to the /mnt
- umount /mnt

Then the files should be in the flash now.

- Bryan Wu