From: Charles Manning <manningc2@actrix.gen.nz>
To: linux-mtd@lists.infradead.org
Subject: Re: mtd support for large NAND
Date: Wed, 17 Oct 2007 09:12:09 +1300 [thread overview]
Message-ID: <200710170912.09567.manningc2@actrix.gen.nz> (raw)
In-Reply-To: <20071016195521.GN583@lazybastard.org>
On Wednesday 17 October 2007 08:55:22 Jörn Engel wrote:
> 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.
Does block2mtd simulate spare/oob areas too? Depending on what is being tested
that might or might not be important.
-- Charles
next prev parent reply other threads:[~2007-10-16 20:12 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
2007-10-16 20:12 ` Charles Manning [this message]
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=200710170912.09567.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