[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Flash devices

From: Fabrice Bellard
Subject: [Qemu-devel] Flash devices
Date: Thu, 20 Apr 2006 23:17:26 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

Schwarz, Konrad wrote:
Date: Tue, 18 Apr 2006 21:54:42 +0200
From: Stefan Weil <address@hidden>
Subject: [Qemu-devel] Flash simulation
To: address@hidden
Message-ID: <address@hidden>
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

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

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]