> 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 http://www.EmbeddedRelated.com
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
Reply by NeedCleverHandle●June 1, 20112011-06-01
On Jun 1, 3:20=A0am, "manaila" <chessmylitis@n_o_s_p_a_m.hotmail.com>
wrote:
> 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 d=
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 http://www.EmbeddedRelated.com