public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Niraj Maheshwari <niraj.maheshwari@gmail.com>
To: "C. Michael Sundius" <msundius@sundius.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: utilities for mtd
Date: Mon, 28 Feb 2005 13:27:01 +0530	[thread overview]
Message-ID: <f6d0cd06050227235769c791c8@mail.gmail.com> (raw)
In-Reply-To: <1f065e28ae2a88eda8f37b9c40f54ed2@sundius.com>

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

      reply	other threads:[~2005-02-28  7:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-24 19:34 utilities for mtd C. Michael Sundius
2005-02-28  7:57 ` Niraj Maheshwari [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f6d0cd06050227235769c791c8@mail.gmail.com \
    --to=niraj.maheshwari@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=msundius@sundius.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox