public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Jörn Engel" <joern@logfs.org>
To: Charles Manning <manningc2@actrix.gen.nz>
Cc: "falls huang" <falls.huang@gmail.com>,
	"Jörn Engel" <joern@logfs.org>,
	linux-mtd@lists.infradead.org
Subject: Re: mtd support for large NAND
Date: Tue, 16 Oct 2007 21:55:22 +0200	[thread overview]
Message-ID: <20071016195521.GN583@lazybastard.org> (raw)
In-Reply-To: <200710170847.46250.manningc2@actrix.gen.nz>

On Wed, 17 October 2007 08:47:46 +1300, Charles Manning wrote:
> On Tuesday 16 October 2007 23:47:27 Jörn Engel wrote:
> > On Fri, 12 October 2007 16:36:09 +0800, falls huang wrote:
> > >   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
> >
> > Something like this would work:
> >
> > $ truncate 5GiB foo
> > $ qemu -s -no-kqemu -hda rootfs -hdb foo -kernel arch/i386/boot/bzImage \
> >        -append "ro root=/dev/hda block2mtd.block2mtd=/dev/hdb"
> >
> > Instead of truncate you can also use dd:
> > $ dd if=/dev/zero of=foo bs=1 seek=5368709119
> 
> Plus modifying mtd to handle partitions greater than the u32 size limit.

I believe Falls Huang wanted to do just that and needed a test setup.
But I may be wrong.

Jörn

-- 
Linux [...] existed just for discussion between people who wanted
to show off how geeky they were.
-- Rob Enderle

  reply	other threads:[~2007-10-16 20:03 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
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 [this message]
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=20071016195521.GN583@lazybastard.org \
    --to=joern@logfs.org \
    --cc=falls.huang@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=manningc2@actrix.gen.nz \
    /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