1. This forum section is a read-only archive which contains old newsgroup posts. If you wish to post a query, please do so in one of our main forum sections (here). This way you will get a faster, better response from the members on Motherboard Point.

WRITING AND READING FROM A FLASH

Discussion in 'Embedded' started by manaila, Jun 1, 2011.

  1. manaila

    manaila Guest

    Hi
    I am new to embedded Linux systems. I am trying to write and read from
    [NAND]flash memory. The nand memory is divided into four partitions a
    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 YAFF
    file system in partition 4 from partition 3. So my problem is how can i d
    that, sample source code for YAFFS;

    Cheers



    ---------------------------------------
    Posted through http://www.EmbeddedRelated.com
    manaila, Jun 1, 2011
    #1
    1. Advertising

  2. On Jun 1, 3:20 am, "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 do
    > that, sample source code for YAFFS;
    >
    > Cheers
    >
    > ---------------------------------------        
    > Posted throughhttp://www.EmbeddedRelated.com


    Two places to look:
    <http://www.giyf.com> <- this one is VERY important.
    <http://yaffs.net>
    NeedCleverHandle, Jun 1, 2011
    #2
    1. Advertising

  3. manaila skrev 2011-06-01 12:20:
    > 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
    Ulf Samuelsson, Jul 4, 2011
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    8
    Views:
    658
    Sudeep
    Jan 16, 2006
  2. Anon
    Replies:
    1
    Views:
    409
    George Macdonald
    Sep 12, 2004
  3. Anon
    Replies:
    1
    Views:
    241
    George Macdonald
    Sep 12, 2004
  4. ynezz

    Help with reading/writing FLASH

    ynezz, Jan 13, 2005, in forum: Embedded
    Replies:
    0
    Views:
    273
    ynezz
    Jan 13, 2005
  5. mfgunes
    Replies:
    0
    Views:
    590
    mfgunes
    Jul 20, 2007
Loading...

Share This Page