linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: duncanp@research.canon.com.au
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: flash drivers
Date: Wed, 26 Apr 2000 11:08:20 +0200	[thread overview]
Message-ID: <200004260908.LAA14516@denx.local.net> (raw)
In-Reply-To: Your message of "Wed, 26 Apr 2000 19:29:52 +1000." <20000426082939.EC8373C960@elph.research.canon.com.au>


In message <20000426082939.EC8373C960@elph.research.canon.com.au> you wrote:
>
> I'm about to go and write some software to allow us to program on-board
> flash devices. I'm planing on putting all of the code in a kernel
> driver - i've seen some flash drivers which put some code in the
> kernel, and other code (to write the flash - I gather the algorithms
> vary a fair bit between deivices) in user space.

For CFI conformant FLASH devices you can use (or  easily  adapt)  the
FLASH  driver  that is included with my port of Linux for the TQM8xxL
board; get ftp://ftp.denx.de/pub/LinuxPPC/usr/src/CDK.tar.gz and have
a look at the files  CDK/patches/linux-2.2.13/FLASH.patch  and  maybe
CDK/patches/linux-2.2.13/FTL.patch

> So, before I go and do this, has anyone already done something similar
> they would be happy to share with me?

While I was trying to make this as portable as possible, I only could
test it in a configuration with two banks of 16 bit FLASH memory. You
may have to make minor adjustemnts for other configurations.

Feedback appreciated.

> I'd like to write this so it can be dropped into the standard kernels
> and adapted to new 8xx based boards without much effort, so if anybody
> has any comments they'd like to make, please lemme know.

If my version of the drivers proves helpful, I'd  like  to  integrate
whatever changes needed to make it work on other hardware as well.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Roses are red
Violets are blue
Some poems rhyme

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2000-04-26  9:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-26  9:29 flash drivers duncanp
2000-04-26  9:08 ` Wolfgang Denk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-05-10 13:41 Brown, David (dbrown03)
2000-05-10 14:10 ` Wolfgang Denk
2000-05-11 21:05 ` Scott Anderson
     [not found] <BE1C564723B3D21191FD0000F840E39801D8151A@rfcmx2.rfc.comm.harris.com>
2000-05-10 20:32 ` Wolfgang Denk

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=200004260908.LAA14516@denx.local.net \
    --to=wd@denx.de \
    --cc=duncanp@research.canon.com.au \
    --cc=linuxppc-embedded@lists.linuxppc.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).