flash writing with Linux

3 messages, 2 authors, 2001-03-19 · open the first message on its own page

flash writing with Linux

From: Matthias Fuchs <hidden>
Date: 2001-03-16 09:57:20

Hi,

does anybody know if a flash writing tool for Linux is available ?
I want to update a flash image from a running Linux. The Linux is
running from a ramdisk, so the flash can be erased and rewritten.

I think what I need are two thing: A device driver for accessing the
flash and a command line tool for erasing and writing to the flash.

Matthias
--
-------------------------------------------------
\ Matthias Fuchs                                 \
 \ esd electronic system design Gmbh              \
  \ Vahrenwalder Straße 205                        \
   \ D-30165 Hannover                               \
    \ email: matthias.fuchs@esd-electronics.com      \
     \ phone: +49-511-37298-0                         \
      \ fax:   +49-511-37298-68                        \
       --------------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: flash writing with Linux

From: Subodh Nijsure <hidden>
Date: 2001-03-16 15:25:38

Hi,

does anybody know if a flash writing tool for Linux is available ?
I want to update a flash image from a running Linux. The Linux is
running from a ramdisk, so the flash can be erased and rewritten.

I think what I need are two thing: A device driver for accessing the
flash and a command line tool for erasing and writing to the flash.
Perhaps you can take a look at mtd and use that to manage your flash.
With mtd you can partition your flash to different devices and erase them
selectively.

Once you have your flash partitioned you can simply cat a file to /dev/mtd#
to copy new content to the flash.

/Subodh Nijsure

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: flash writing with Linux

From: Matthias Fuchs <hidden>
Date: 2001-03-19 17:16:26

Hi Subodh,

Subodh Nijsure wrote:
Perhaps you can take a look at mtd and use that to manage your flash.
With mtd you can partition your flash to different devices and erase them
selectively.
What is mtd ? Never heard of before !
Once you have your flash partitioned you can simply cat a file to /dev/mtd#
to copy new content to the flash.
That sounds nice and seems to be same like the stuff Wolfgang offered in
his 2.4.3-preX patch.

Matthias


--
-------------------------------------------------
\ Matthias Fuchs                                 \
 \ esd electronic system design Gmbh              \
  \ Vahrenwalder Straße 205                        \
   \ D-30165 Hannover                               \
    \ email: matthias.fuchs@esd-electronics.com      \
     \ phone: +49-511-37298-0                         \
      \ fax:   +49-511-37298-68                        \
       --------------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help