From: Jan Kiszka <jan.kiszka@web.de>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: "Anton L. Vinokurov" <anton@netams.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Re: /dev/mtd emulation
Date: Wed, 09 Feb 2011 09:46:36 +0100 [thread overview]
Message-ID: <4D52546C.1090908@web.de> (raw)
In-Reply-To: <AANLkTinToOUMQTMtGnOn1a+Wex6bvmT2o2ZnNWEFsEs9@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 632 bytes --]
On 2011-02-09 09:13, Stefan Hajnoczi wrote:
> On Wed, Feb 9, 2011 at 7:18 AM, Anton L. Vinokurov <anton@netams.com> wrote:
>> ~ # dmesg | grep mtd
>>
>> ~ #
>
> Have you tried qemu -drive if=mtd,file=/path/to/firmware?
>
> QEMU has some flash emulation code in
> hw/{nand.c,onenand.c,pflash_cfi01.c,pflash_cfi02.c}. I've never used
> them but perhaps someone else can help if you provide more details
> about the hardware you are trying to emulate.
You also need to wire up that flash device on board init, i.e. add some
pflash_*_register to pc_init1. Check some embedded board for the precise
pattern.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]
next prev parent reply other threads:[~2011-02-09 8:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-09 7:18 [Qemu-devel] /dev/mtd emulation Anton L. Vinokurov
2011-02-09 8:13 ` Stefan Hajnoczi
2011-02-09 8:46 ` Jan Kiszka [this message]
2011-02-09 15:34 ` [Qemu-devel] " Anton L. Vinokurov
2011-02-09 17:15 ` Artyom Tarasenko
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=4D52546C.1090908@web.de \
--to=jan.kiszka@web.de \
--cc=anton@netams.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@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;
as well as URLs for NNTP newsgroup(s).