linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dave Littell <littelld@verizon.net>
To: linuxppc-embedded@ozlabs.org
Subject: direct access to Flash from userland
Date: Wed, 03 Sep 2008 18:35:14 -0500	[thread overview]
Message-ID: <48BF1F32.8010707@verizon.net> (raw)

Hi all,

I have a CFI Flash device which has some non-CFI commands I need to
issue from userland.  I've tried mmap() of the mtdblock device, but that
only yielded a corrupted Flash as my non-CFI command sequences were
simply written to Flash.  An attempted mmap() of the character mtd
device fails the mmap() call.

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.)


Thanks,
Dave

             reply	other threads:[~2008-09-04  0:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-03 23:35 Dave Littell [this message]
  -- strict thread matches above, loose matches on Subject: below --
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
2008-09-08  6:00     ` Ankur Maheshwari

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=48BF1F32.8010707@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).