qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Flash devices
Date: Thu, 20 Apr 2006 23:17:26 +0200	[thread overview]
Message-ID: <4447FA66.8000505@bellard.org> (raw)
In-Reply-To: <ECDC9C7BC7809340842C0E7FCF48C393EFCBD2@MCHP7IEA.ww002.siemens.net>

Schwarz, Konrad wrote:
>>Date: Tue, 18 Apr 2006 21:54:42 +0200
>>From: Stefan Weil <weil@mail.berlios.de>
>>Subject: [Qemu-devel] Flash simulation
>>To: qemu-devel@nongnu.org
>>Message-ID: <44454402.7030404@mail.berlios.de>
>>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>
>>A typical embedded system (and also most standard PCs) 
>>contains flash memory. Full system emulation should also 
>>emulate flash behaviour - not only read accesses but also 
>>flash type discovery and flash programming.
>>
>>Is there an easy way to realise flash memory emulation with 
>>Qemu? Must I write this emulation from scratch?
>>Hints how this might be done are welcome.
> 
> 
> The QEMU memory interface is capable of supporting Flash emulation.
> As far as I know, no ready solutions exist, so you need to do this from
> scratch.
> 
> The data sheet of the Flash device you want to emulate documents the
> commands the
> device understands.  You need to implement the finite state machine
> which interprets those commands.
> 
> A high-fidelity emulation will also simulate Flash erase and programming
> times.

There is already an implementation of a flash device made by Jocelyn 
Mayer but I have not merged it yet because it needs an architectural 
change in QEMU concerning memory mapped I/Os. I'll try to make this 
change ASAP.

Fabrice.

  reply	other threads:[~2006-04-20 21:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-20 11:13 [Qemu-devel] RE: Qemu-devel Digest, Vol 37, Issue 54 Schwarz, Konrad
2006-04-20 21:17 ` Fabrice Bellard [this message]
2006-06-30 21:16   ` [Qemu-devel] Flash devices Stefan Weil

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=4447FA66.8000505@bellard.org \
    --to=fabrice@bellard.org \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).