public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <David.Woodhouse@mvhi.com>
To: Werner Almesberger <almesber@lrc.di.epfl.ch>
Cc: Linux-MTD mailing list <mtd@imladris.demon.co.uk>
Subject: Re: RFC: kernel-based PCMCIA ...
Date: Thu, 20 May 1999 11:37:16 +0100	[thread overview]
Message-ID: <E10kQCS-0001AQ-00@devel2.axiom.internal> (raw)


< Followup to a post to linux-kernel, archived at 
	http://www.deja.com/getdoc.xp?AN=479544719&fmt=text >

Hello Werner,

almesber@lrc.di.epfl.ch said:
> ... for getting access to storage cards in early stages of porting,
> where user space development is still difficult. (E.g. because there's
> no libc port, no distribution, etc.)
> 
> This patch is vs. 2.3.3. Documentation is included.
>
>  Comments ? 

Not only 'in early stages of porting', but for root filesystems on embedded 
devices, where initrd is a blatant waste of space.

I've been looking at this for some time, on and off, and have produced a 
generic 'memory technology device' layer which will allow simple hardware 
drivers to be interfaced to a more generic upper layer which covers such 
things as the FTL filesystem.

My code borrowed very heavily from David Hinds' existing such code in the 
PCMCIA distribution.

Also, Alexander Larsson has produced some code very similar in principle to 
these. 

I have recently started a mailing list (mtd@imladris.demon.co.uk,
majordomo-managed) for discussion of this. It might be useful if you could join
us there. 

The tentative conclusion that (I think) we've reached so far is that we will
use Alexander's version of the code as a basis for further work. 

We will attempt to make this provide all the functionality required by the
existing MTD layer in the PCMCIA code, with a view to including it in the 2.3
kernels, and converting the PCMCIA code to use it (when present).

I'm actively working on drivers for the Disk-On-Chip 2000 from M-systems. We 
already have drivers for CFI-compliant flash memories, and for the ISA flash 
cards from M-Systems. There is also a driver to use uncacheable main memory as 
a memory device, which I've used mainly for testing.

My main concern at the moment is producing a standalone driver for the DoC2000,
with FTL built-in to it, for embedded systems using the 2.0 kernel. As soon as
I've done that, I'll be turning back to the generic subsystem design, and
producing a DoC2000 driver for the new system.

I suppose that we should start by taking Alexander's code and merging in all
the functionality required by the PCMCIA system, at which point we can look at
making it presentable to Linus for 2.3.soon. New memory hardware drivers can be
added as and when they're completed.

My main criterion for this 'merge' (and I'm sure that David Hinds will back me
up on this one) is that it should be simple for the PCMCIA code to switch 
between the two subsystems, preferably with no more than a few #ifdefs in a 
single header file.

As an aside - we may have patent problems with using FTL on anything other 
than PCMCIA devices. Our position on this is as yet undecided. 
I've suggested that perhaps the flags for each low-level device should include
a PCMCIA/ NON-PCMCIA bit, and the default configuration of the FTL driver
should refuse to work with non-PCMCIA devices. I don't really know what else we
can do.

Anyway, I hope that I've wittered for long enough to spark some productive 
debate on the subject. As soon as we have some conclusions, I'll put up a web 
site for the project, too, on http://imladris.mvhi.com/mtd/ 

I'd like to set up a list archive, too - but I'm busy on trying to hack the 
Disk-On-Chip. Any volunteers for the task, please contact me and I'll give you 
an account to play with.


----                                 ----                                 ----
David Woodhouse        David.Woodhouse@mvhi.com       Office: (+44) 1223 810302
 Project Leader,     Process Information Systems      Mobile: (+44) 976 658355
    Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
             finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.




To unsubscribe, send "unsubscribe mtd" to majordomo@imladris.demon.co.uk

             reply	other threads:[~1999-05-20 10:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-20 10:37 David Woodhouse [this message]
1999-05-18 14:03 ` Re[2]: RFC: kernel-based PCMCIA Mike Kilburn
1999-06-05  2:41 ` Jason Gunthorpe
  -- strict thread matches above, loose matches on Subject: below --
1999-06-07  9:38 David Woodhouse
1999-06-23  2:19 ` Jason Gunthorpe
1999-06-23 11:10 David Woodhouse

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=E10kQCS-0001AQ-00@devel2.axiom.internal \
    --to=david.woodhouse@mvhi.com \
    --cc=almesber@lrc.di.epfl.ch \
    --cc=mtd@imladris.demon.co.uk \
    /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