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

2011-02-09 Thread Artyom Tarasenko
On Wed, Feb 9, 2011 at 4:34 PM, Anton L. Vinokurov wrote: > Jan, Stefan, > > I've tried indeed but with no luck: > (qemu) info block > ide0-hd0: type=hd removable=0 file=vimage.dat ro=0 drv=raw encrypted=0 > mtd0: type=hd removable=0 file=firmware.bin ro=0 drv=raw encrypted=0 > floppy0: type=flopp

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

2011-02-09 Thread Anton L. Vinokurov
Jan, Stefan, I've tried indeed but with no luck: (qemu) info block ide0-hd0: type=hd removable=0 file=vimage.dat ro=0 drv=raw encrypted=0 mtd0: type=hd removable=0 file=firmware.bin ro=0 drv=raw encrypted=0 floppy0: type=floppy removable=1 locked=0 [not inserted] sd0: type=floppy removable=1 locke

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

2011-02-09 Thread Jan Kiszka
On 2011-02-09 09:13, Stefan Hajnoczi wrote: > 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}.