linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* flash writing with Linux
@ 2001-03-16  9:57 Matthias Fuchs
  2001-03-16 10:37 ` Wolfgang Denk
  2001-03-16 15:25 ` Subodh Nijsure
  0 siblings, 2 replies; 7+ messages in thread
From: Matthias Fuchs @ 2001-03-16  9:57 UTC (permalink / raw)
  To: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: flash writing with Linux
@ 2001-03-19 17:31 Kári Davíðsson
  0 siblings, 0 replies; 7+ messages in thread
From: Kári Davíðsson @ 2001-03-19 17:31 UTC (permalink / raw)
  To: linuxppc-embedded


> -----Original Message-----
> From: Matthias Fuchs [mailto:matthias.fuchs@esd-electronics.com]
> Sent: 19. mars 2001 17:16
> To: Subodh Nijsure; linuxppc-embedded
> Subject: Re: flash writing with Linux
>
>
>
> 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 !

It is flash abstracation layer (driver), and is now part of the
official linux 2.4.x kernels from Linus.
http://www.mtd-infradead.org

> >
> > 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.

Yes it is.

>
> 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: flash writing with Linux
@ 2001-03-19 17:45 Julia Elbert
  0 siblings, 0 replies; 7+ messages in thread
From: Julia Elbert @ 2001-03-19 17:45 UTC (permalink / raw)
  To: 'linuxppc-embedded@lists.linuxppc.org'


Hello,

Is there a working version of mtd for ppc? I was working on it a while back,
was able to access the chip after memory mapping, but was unable to reliably
partition and mount the /dev/nftla. I think it was a problem on the reads
with inb and outb. I use the 860T from Embedded Planet.

Thanks,
--Julia

		-----Original Message-----
		From:	Kári Davíðsson [mailto:karid@flaga.is]
		Sent:	Monday, March 19, 2001 9:31 AM
		To:	linuxppc-embedded
		Subject:	RE: flash writing with Linux


		> -----Original Message-----
		> From: Matthias Fuchs
[mailto:matthias.fuchs@esd-electronics.com]
		> Sent: 19. mars 2001 17:16
		> To: Subodh Nijsure; linuxppc-embedded
		> Subject: Re: flash writing with Linux
		>
		>
		>
		> 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 !

		It is flash abstracation layer (driver), and is now part of
the
		official linux 2.4.x kernels from Linus.
		http://www.mtd-infradead.org

		> >
		> > 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.

		Yes it is.

		>
		> 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/

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-03-19 17:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-16  9:57 flash writing with Linux Matthias Fuchs
2001-03-16 10:37 ` Wolfgang Denk
2001-03-16 15:25 ` Subodh Nijsure
2001-03-19 17:16   ` Matthias Fuchs
2001-03-19 17:35     ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2001-03-19 17:31 Kári Davíðsson
2001-03-19 17:45 Julia Elbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).