Re: [Yaffs] MKYAFFS : Writing data into YAFFS2 filesystem

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Ross Younger
Date:  
To: yaffs
Subject: Re: [Yaffs] MKYAFFS : Writing data into YAFFS2 filesystem
Saquib wrote:
> **>> yaffs chunk 64 was not erased
> [...]
> !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!!


> I am just thinking whether mkyaffs2image needs to be executed before
> writing any data to flash after erasing it. Is my understanding correct
> or wrong?


A properly erased flash device is ready for use by YAFFS; there is no
separate "format" step. You should be able to mount the device and use
it immediately after erasing it; I do. My guess would be that there's
something funny going on in your MTD driver, that it's not matching your
flash part in some way.

mkyaffs2image is a host-side tool which prepares a filesystem image to
be programmed into your flash device later. Unless you know this will be
useful to you, it won't be.


Ross