public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Charles Manning <manningc2@actrix.gen.nz>
To: linux-mtd@lists.infradead.org
Subject: Re: mtd support for large NAND
Date: Tue, 16 Oct 2007 13:27:15 +1300	[thread overview]
Message-ID: <200710161327.15290.manningc2@actrix.gen.nz> (raw)
In-Reply-To: <49eab5c80710120136m557b0df1ye3bd4e04d345d222@mail.gmail.com>

On Friday 12 October 2007 21:36:09 falls huang wrote:
> Hello !
>
>   How can I simulate a large nandflash(>4G) in linux PC ? I want to
> take a look at it, but I don't have any develop-board that has 4G

There are a few problems you face here. Firstly, mtd does not support >4G 
which will need fixing.

Secondly, even if your system has > 4G it might not be all simultaneously 
accessible and you will need to use highmem as a way to do temporary mappings 
to access this memory.

I might be tempted to try do this using some sort of userspace driver then 
just backing the driver with regular files (eg. 8x1G files to simulate 8G of 
NAND).


>
> On 10/11/07, Artem Bityutskiy <dedekind@infradead.org> wrote:
> > On Thu, 2007-10-11 at 09:11 +1300, Charles Manning wrote:
> > > Last I looked (2.6.23), mtd_info is limited by a u32 size field to
> > > 4Gbytes of flash. That's no longer very large and is limiting some
> > > applications.
> > >
> > > Is anyone working on this?
> >
> > Yeah, the problem is known, but nobody is working on the fix AFAIK.
> >
> > --
> > Best regards,
> > Artem Bityutskiy (Битюцкий Артём)
> >
> >
> > ______________________________________________________
> > Linux MTD discussion mailing list
> > http://lists.infradead.org/mailman/listinfo/linux-mtd/

  reply	other threads:[~2007-10-16  0:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-10 20:11 mtd support for large NAND Charles Manning
2007-10-11  7:22 ` Artem Bityutskiy
2007-10-12  8:36   ` falls huang
2007-10-16  0:27     ` Charles Manning [this message]
2007-10-16  7:27       ` Artem Bityutskiy
2007-10-16 10:47     ` Jörn Engel
2007-10-16 19:47       ` Charles Manning
2007-10-16 19:55         ` Jörn Engel
2007-10-16 20:12           ` Charles Manning
2007-10-16 20:42             ` Jörn Engel
2007-10-16 21:16               ` Charles Manning

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=200710161327.15290.manningc2@actrix.gen.nz \
    --to=manningc2@actrix.gen.nz \
    --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