public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: "J.D. Bakker" <bakker@thorgal.et.tudelft.nl>, jasmine@linuxgrrls.org
Cc: linux-mtd@lists.infradead.org
Subject: Re: Handling multiple NAND chips -- take 2
Date: Wed, 25 Feb 2004 21:46:53 +0100	[thread overview]
Message-ID: <200402252146.53616.tglx@linutronix.de> (raw)
In-Reply-To: <a06002005bc62a78212ec@[130.161.115.44]>

On Wednesday 25 February 2004 20:35, J.D. Bakker wrote:
> At 6:29 PM +0000 25/2/04, jasmine@linuxgrrls.org wrote:
> >  > I think that's acceptable. It's _definitely_ OK on NOR. On NAND we may
> >>
> >>  be sharing some control lines between different chips, but I still
> >> think it's OK and we can deal with that in the board-level driver.
> >
> >What if you have a board with an onboard NAND (for the OS) and a
> >SmartMedia slot?  That's surprisingly common.  It's very difficult to buy
> >consistent Smartmedia cards, too-  they often have different parts in
> >them during a run.
>
> That's true, but would you want the SmartMedia card to be part of the
> linear array ? What I'm doing here is to do for NAND devices what the
> linear (or possibly RAID0) driver does for disks. In both cases is
> the array size/configuration fixed on creation, in neither case will
> you have anything useful/usable when one of the components goes away.

The mtdconcat layer provides this RAID0 function already, but it does not work 
with shared control lines. If you have seperate control lines you can use the 
code as is.

> It could well make sense to treat the (hot-plugged) SM card as a
> separate entity, with its own partitions and all. This, however, is
> not what I'm trying to achieve. What I want is the reverse, deal with
> multiple NAND chips as if they were one, larger, NAND device. I can't
> see how hot-plugging et al would be useful in such a scenario (but
> I'm open to any and all demonstrations of the narrow-mindedness of
> such an approach).

The point is that you can have some soldered chips and a SM card sharing the 
same control lines. The soldered chips could form a large parition mtd0 and 
the SM card would be mtd1. 

-- 
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de

  reply	other threads:[~2004-02-25 20:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-25 17:44 Handling multiple NAND chips -- take 2 J.D. Bakker
2004-02-25 17:59 ` David Woodhouse
2004-02-25 18:06   ` Derek Jones
2004-02-25 18:29   ` jasmine
2004-02-25 19:35     ` J.D. Bakker
2004-02-25 20:46       ` Thomas Gleixner [this message]
2004-02-25 19:19   ` J.D. Bakker
2004-02-25 20:22 ` Thomas Gleixner
2004-02-26  7:54   ` 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=200402252146.53616.tglx@linutronix.de \
    --to=tglx@linutronix.de \
    --cc=bakker@thorgal.et.tudelft.nl \
    --cc=jasmine@linuxgrrls.org \
    --cc=linux-mtd@lists.infradead.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