linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dave Littell <littelld@verizon.net>
To: linuxppc-embedded@ozlabs.org
Subject: Re: direct access to Flash from userland
Date: Fri, 05 Sep 2008 22:32:50 -0500	[thread overview]
Message-ID: <48C1F9E2.2030502@verizon.net> (raw)
In-Reply-To: <200809051750.13421.arnd@arndb.de>

Arnd Bergmann wrote:
> 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?  (This is a 2.6.18-based kernel on a AMCC
>>> PPC440EPx platform.)
>> 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 
>> http://www.linux-mtd.infradead.org/mail.html
>>
> 
> 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?
> 

Hi Arnd,

There are some sector protection options and a user-writable
one-time-programmable section that's larger than the presently
implemented 8-byte area that I need to support.


Thanks,
Dave

  reply	other threads:[~2008-09-06  3:32 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
2008-09-06  3:32   ` Dave Littell [this message]
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=48C1F9E2.2030502@verizon.net \
    --to=littelld@verizon.net \
    --cc=linuxppc-embedded@ozlabs.org \
    /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).