public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* utilities for mtd
@ 2005-02-24 19:34 C. Michael Sundius
  2005-02-28  7:57 ` Niraj Maheshwari
  0 siblings, 1 reply; 2+ messages in thread
From: C. Michael Sundius @ 2005-02-24 19:34 UTC (permalink / raw)
  To: linux-mtd

Hi,

I am using a the mtd code from the 2.4.20 kernel. how/where do I get 
the corresponding utilities
such as flash_erase, flash_lock etc... I grabbed a random version of 
them somewhere and it
didn't seem to work.. for one the flash_erase program calls an ioctl 
"MEMGETREGIONCOUNT"
and my kernel returned:
	in appropriate ioctl for this device....

any help is appreciated.

thanks



C Michael Sundius
Solico Group LLC
232 Nevada St
San Francisco, CA 94110
msundius@sundius.com
(415)608-0121

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

* Re: utilities for mtd
  2005-02-24 19:34 utilities for mtd C. Michael Sundius
@ 2005-02-28  7:57 ` Niraj Maheshwari
  0 siblings, 0 replies; 2+ messages in thread
From: Niraj Maheshwari @ 2005-02-28  7:57 UTC (permalink / raw)
  To: C. Michael Sundius; +Cc: linux-mtd

Hi,

I think you must have tried flash_erase on a block device
(/dec/mtdblock0) but flash_erase will work only for Char Device. So
you can create a char MTD device by giving below commands.

mknod /dev/mtd0 c 90 0

Now try the flash_erase command, it should work.

Regds
Niraj


On Thu, 24 Feb 2005 11:34:34 -0800, C. Michael Sundius
<msundius@sundius.com> wrote:
> Hi,
> 
> I am using a the mtd code from the 2.4.20 kernel. how/where do I get
> the corresponding utilities
> such as flash_erase, flash_lock etc... I grabbed a random version of
> them somewhere and it
> didn't seem to work.. for one the flash_erase program calls an ioctl
> "MEMGETREGIONCOUNT"
> and my kernel returned:
>        in appropriate ioctl for this device....
> 
> any help is appreciated.
> 
> thanks
> 
> C Michael Sundius
> Solico Group LLC
> 232 Nevada St
> San Francisco, CA 94110
> msundius@sundius.com
> (415)608-0121
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>

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

end of thread, other threads:[~2005-02-28  7:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-24 19:34 utilities for mtd C. Michael Sundius
2005-02-28  7:57 ` Niraj Maheshwari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox