[Top][All Lists]

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

Re: [Qemu-devel] [PATCH 0/3] usb-musb: make qdev-aware

From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 0/3] usb-musb: make qdev-aware
Date: Fri, 02 Sep 2011 09:50:44 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110805 Red Hat/3.1.12-1.el6_1 Thunderbird/3.1.12

On 09/02/11 09:03, address@hidden wrote:
How to you test musb?

Unfortunately I don't have any test cases which actively use the musb,
so I settle for testing an n810 image (and a beagle image in my omap3
tree) and confirming that the init part of things still works ok.
(I'm not entirely happy with this but init is really all we're changing
with these patches so we should be ok...)

Riku/Juha -- do you have any musb test images/command lines?

With an existing n810 image I guess you can test USB networking by adding
"-usb -net user,vlan=0 -net nic,model=usb,vlan=0 -usbdevice net -redir
tcp:2022::22" to qemu command line parameters. In the guest, launch X
terminal and command "sudo gainroot" followed by "udhcpc". You should now
be able to ssh to the guest from the host with "ssh -p 2022
address@hidden". Would this be sufficient for your needs?

For starters just "qemu-system-arm -M n810" is better than nothing, this does at least make sure it doesn't blow up somewhere when creating the device tree.

Booting an image and operating some usb device is even better. Are n810 images are freely available for download somewhere? Failing that, is it possible to just install some linux distro (say debian) on the virtual n810 or another arm device which has a musb controller?


reply via email to

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