From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=40658 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pn5Au-00065c-PU for qemu-devel@nongnu.org; Wed, 09 Feb 2011 03:13:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pn5At-0000iz-3m for qemu-devel@nongnu.org; Wed, 09 Feb 2011 03:13:20 -0500 Received: from mail-yi0-f45.google.com ([209.85.218.45]:38931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pn5As-0000iu-TF for qemu-devel@nongnu.org; Wed, 09 Feb 2011 03:13:19 -0500 Received: by yie21 with SMTP id 21so2848861yie.4 for ; Wed, 09 Feb 2011 00:13:18 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <2F734DBCC05CAB4DAA198E581D746C1A05AB063B@exh1.main.inorg.chem.msu.ru> References: <2F734DBCC05CAB4DAA198E581D746C1A05AB063B@exh1.main.inorg.chem.msu.ru> Date: Wed, 9 Feb 2011 08:13:18 +0000 Message-ID: Subject: Re: [Qemu-devel] /dev/mtd emulation From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Anton L. Vinokurov" Cc: "qemu-devel@nongnu.org" On Wed, Feb 9, 2011 at 7:18 AM, Anton L. Vinokurov 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. Stefan