linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: linuxppc-embedded@ozlabs.org
Cc: Dave Littell <littelld@verizon.net>
Subject: Re: direct access to Flash from userland
Date: Fri, 5 Sep 2008 17:50:12 +0200	[thread overview]
Message-ID: <200809051750.13421.arnd@arndb.de> (raw)
In-Reply-To: <0B45E93C5FF65740AEAE690BF3848B7AD38369@rennsmail04.eu.thmulti.com>

On Thursday 04 September 2008, Fillod Stephane wrote:
> >Is there a way for a userland application to issue non-CFI commands
> >directly to a Flash device? =A0(This is a 2.6.18-based kernel on a AMCC
> >PPC440EPx platform.)
>=20
> I don't know whether there's specific ioctl for such purpose.
> Have you tried to read the mtd source? You may also hack the mtd
> layer to add your command. Definitely a question for=20
> http://www.linux-mtd.infradead.org/mail.html
>=20

There is no ioctl command for sending arbitrary requests to the
flash, but it sounds like something that should be implemented
in the kernel, in mtdchar, depending on what the command does.

What are you actually trying to do with those commands?

	Arnd <><

  reply	other threads:[~2008-09-05 15:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-04 12:22 direct access to Flash from userland Fillod Stephane
2008-09-05 15:50 ` Arnd Bergmann [this message]
2008-09-06  3:32   ` Dave Littell
2008-09-08  6:00     ` Ankur Maheshwari
  -- strict thread matches above, loose matches on Subject: below --
2008-09-03 23:35 Dave Littell

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=200809051750.13421.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=littelld@verizon.net \
    /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;
as well as URLs for NNTP newsgroup(s).