qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] /dev/mtd emulation
@ 2011-02-09  7:18 Anton L. Vinokurov
  2011-02-09  8:13 ` Stefan Hajnoczi
  0 siblings, 1 reply; 5+ messages in thread
From: Anton L. Vinokurov @ 2011-02-09  7:18 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

[-- Attachment #1: Type: text/plain, Size: 1119 bytes --]

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 form of onboard flash, which I don't have inside of QEMU guest:

~ # uname -a
Linux (none) 2.6.10_mvl401 #1 Tue Jun 1 15:50:57 PDT 2010 i686 unknown
~ # ls -la /dev/mtd*
crw-r--r--    1 root     root      90,   0 Oct 16  2008 /dev/mtd0
crw-r--r--    1 root     root      90,   2 Oct 16  2008 /dev/mtd1
crw-r--r--    1 root     root      90,   4 Oct 16  2008 /dev/mtd2
...
~ # cat /proc/mtd
dev:    size   erasesize  name
~ # dmesg | grep mtd
~ #

Well, I am fine to write some emulation code, ideally to map some host file to make It visible as /dev/mtdX from the guest. Would you please give me some hint where to start from?
Unfortunately, neither 2.6.10_mvl401 sources nor physical appliance itself are not available to me.

Regards,

Anton Vinokurov
anton@netams.com<mailto:anton@netams.com>




[-- Attachment #2: Type: text/html, Size: 4636 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-09 17:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-09  7:18 [Qemu-devel] /dev/mtd emulation Anton L. Vinokurov
2011-02-09  8:13 ` Stefan Hajnoczi
2011-02-09  8:46   ` [Qemu-devel] " Jan Kiszka
2011-02-09 15:34     ` [Qemu-devel] " Anton L. Vinokurov
2011-02-09 17:15       ` Artyom Tarasenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).