From: Charles Manning <manningc2@actrix.gen.nz>
To: linux-mtd@lists.infradead.org
Cc: "falls huang" <falls.huang@gmail.com>, "Jörn Engel" <joern@logfs.org>
Subject: Re: mtd support for large NAND
Date: Wed, 17 Oct 2007 08:47:46 +1300 [thread overview]
Message-ID: <200710170847.46250.manningc2@actrix.gen.nz> (raw)
In-Reply-To: <20071016104727.GH583@lazybastard.org>
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.
-- Charles
next prev parent reply other threads:[~2007-10-16 19:49 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 [this message]
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=200710170847.46250.manningc2@actrix.gen.nz \
--to=manningc2@actrix.gen.nz \
--cc=falls.huang@gmail.com \
--cc=joern@logfs.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