qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] /dev/mtd emulation


From: Anton L. Vinokurov
Subject: [Qemu-devel] /dev/mtd emulation
Date: Wed, 9 Feb 2011 07:18:02 +0000

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

address@hidden

 

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]