USB function controller emulation in QEMU
D开发者_如何学JAVAoes QEMU provide emulation for any target with USB device controller? Actually I am developing an embedded linux based device and was thinking about testing it on QEMU.
BR, Mooni
You can find this information in the QEMU Manual, section "3.9 USB emulation":
QEMU emulates a PCI UHCI USB controller. You can virtually plug virtual USB devices or real host USB devices (experimental, works only on Linux hosts). Qemu will automatically create and connect virtual USB hubs as necessary to connect multiple USB devices.
There you also find all relevant configuration parameters.
The USB Controller is provided for the following targets:
- PC System
- MIPS/malta has a PIIX4 PCI/USB/SMbus controller
- ARM: has various options
I'm looking for this as well. There is a bit of code for virtual usb devices in the repo but I'm specifically looking for a way to write a dcd (device controller driver) which can be accessed as a virtual device from the host running the qemu simulation. I'm looking for a way to implement this for stm32 family.
精彩评论