> Date: Tue, 18 Apr 2006 21:54:42 +0200 > From: Stefan Weil <[EMAIL PROTECTED]> > Subject: [Qemu-devel] Flash simulation > To: qemu-devel@nongnu.org > Message-ID: <[EMAIL PROTECTED]> > 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. Regards, Konrad Schwarz _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel