Hi All,

Thanks for your support and coperation.

I am able to read files using YAFFS Direct interface.

Now I want to copy a binary file e.g. XYZ into RAM's specified address.

How can I get the start address of file XYZ on NAND flash with file-size (EOF)?

Is there any patch release to support this functionality?

Thanks in advance.

Regards,
Saquib


On Mon, Jun 14, 2010 at 2:59 AM, Charles Manning <manningc2@actrix.gen.nz> wrote:
On Friday 11 June 2010 00:27:31 Saquib wrote:
> Hi All,
>
> Thanks for your continued support and cooperation.
>
> I am using 1GB NAND Flash. From Linux, I created four partitions of 256MB
> each and mounted YAFFS2 on four directories /mnt1, /mnt2, /mnt3 and /mnt4
> respectively.
> *
> /mnt4 folder may contain some executable images.* *From boot-loader I have
> to run this executable image.*
>
> My queries are :
>
> (1) Using YAFFS2 Direct Interface can it be achieved?

Yes you can write files in YDI and read it in Linux, or vice versa.

> (2) Can I create partition from YDI?

Yes.

> (3) Partition sizes should be same as Linux?

Yes.

> (4) If yes, how can I access same file which was saved from Linux?

Have you read the information on YAFfS Direct?

http://yaffs.net/yaffs-direct-user-guide

-- Charles


_______________________________________________
yaffs mailing list
yaffs@lists.aleph1.co.uk
http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs