Re: [Qemu-devel] /dev/mtd emulation

2011-02-09 Thread Stefan Hajnoczi
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

[Qemu-devel] /dev/mtd emulation

2011-02-08 Thread Anton L. Vinokurov
Dear Developers, I am struggling to run some exotic box firmware inside of QEMU. Originally it is i386 processor, MontaVista-Linux based appliance. I was able to boot and run it, but main guest application fails while reading from /dev/mtd1 (generic open()). To my understanding, it is a some fo