mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nicolas Pitre <nico@cam.org>
To: Franck Bui-Huu <vagabon.xyz@gmail.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: How can I prevent MTD to access the end of a flash device ?
Date: Sun, 23 Apr 2006 13:24:16 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0604231323180.3603@localhost.localdomain> (raw)
In-Reply-To: <cda58cb80604231006x4911598bg6c1e3d62f07d80e7@mail.gmail.com>

On Sun, 23 Apr 2006, Franck Bui-Huu wrote:

> Nicolas,
> 
> 2005/11/22, Nicolas Pitre <nico@cam.org>:
> > On Tue, 22 Nov 2005, Franck wrote:
> >
> > > Hi,
> > >
> > > I have two questions that I can't answer by my own. I tried to look at
> > > FAQ and documentation on MTD website but found no answer.
> >
> > Please consider using the MTD mailing list next time (you certainly read
> > about it on the MTD web site).
> >
> > > First question is about size of flash. I have a Intel strataflash
> > > whose size is 32MB but because of a buggy platform hardware I can't
> > > access to the last 64KB of the flash. How can I make MTD module aware
> > > of this new size. The restricted map size is initialized by my driver
> > > but it doesn't seem to be used by MTD.
> >
> > The easiest thing to do is to define MTD partitions, the last one being
> > the excluded flash area.
> >
> 
> I hope you don't mind if I continue this thread 5 months later...I put
> this issue in my TODO list and now I really need to fix it.
> 
> Your advice seems fine, but it brings some restrictions on flash
> concatenations: for example, if I have 2 flashes of 32Mbytes, I need
> to create 2 partitions whose sizes are 32M - 64K bytes but then I
> can't concatenate these two partitions anymore since concatenation
> works with mtd devices, not partitions, does it ?

MTD partitions are MTD "devices" as well.


Nicolas

  reply	other threads:[~2006-04-23 17:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cda58cb80511070248o6d7a18bex@mail.gmail.com>
2005-11-22 14:58 ` Franck
2005-11-22 15:21   ` Josh Boyer
2005-11-22 15:53   ` Nicolas Pitre
2005-11-24  8:32     ` Franck
2005-11-28 16:55       ` Nicolas Pitre
2006-04-23 17:06     ` Franck Bui-Huu
2006-04-23 17:24       ` Nicolas Pitre [this message]
2006-04-23 18:57         ` Franck Bui-Huu
2006-04-24 15:40           ` David Woodhouse
2006-04-24 16:12             ` Franck Bui-Huu

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=Pine.LNX.4.64.0604231323180.3603@localhost.localdomain \
    --to=nico@cam.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vagabon.xyz@gmail.com \
    /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

all inboxes | Powered by JetHome®