WRITING AND READING FROM A FLASH

Jun 01, 2011 2 Replies

Hi I am new to embedded Linux systems. I am trying to write and read from a [NAND]flash memory. The nand memory is divided into four partitions as follows:


mtdblock0 to save start code and U-Boot when start the Nand Flash mtdblock1 to save kernel of Linux mtdblock2 to save Cramfs file system mtdblock3 to load yaffs file system and other partition



Cramfs file system is read-only; i want to read/write a file to a YAFFS file system in partition 4 from partition 3. So my problem is how can i do that, sample source code for YAFFS;


Cheers


--------------------------------------- Posted through

formatting link


o

Two places to look:

manaila skrev 2011-06-01 12:20:

You mount the YAFFS file system and copy the file.

Best Regards Ulf Samuelsson These are my own personal opinions, which may or may not be shared by my employer Atmel Nordic AB

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required