From: Artem Bityutskiy <dedekind1@gmail.com>
To: Salvatore Frizzoli - IMS Italy <sfrizzoli@imsitaly.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: get mtd name and manufacturer from high level app
Date: Fri, 04 Dec 2009 10:50:04 +0200 [thread overview]
Message-ID: <1259916604.8673.17.camel@localhost> (raw)
In-Reply-To: <4B167A11.6010407@imsitaly.com>
On Wed, 2009-12-02 at 15:30 +0100, Salvatore Frizzoli - IMS Italy wrote:
> Hi all,
>
> I am working on an application under a uClinux kernel.
> This application would read name, manufacturer and id of the mtd flash
> device.
> I have seen that it is not possible to do this by ioctl, so I don't know
> how to do.
Take a look at the mtdinfo utility in mtd-utils/ubi-utils. It reads most
of the data from sysfs.
Manufecturer ID is not available though, and you need to teach the
kernel to export it.
Look inside of mtdinfo to find out how it does things. You can also
extend it and send patches.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
prev parent reply other threads:[~2009-12-04 8:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-02 14:30 get mtd name and manufacturer from high level app Salvatore Frizzoli - IMS Italy
2009-12-04 8:50 ` Artem Bityutskiy [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=1259916604.8673.17.camel@localhost \
--to=dedekind1@gmail.com \
--cc=linux-mtd@lists.infradead.org \
--cc=sfrizzoli@imsitaly.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