ast2600-evb qemu and usb-net

Deepak Kodihalli deepak.kodihalli.83 at gmail.com
Mon Aug 9 14:55:56 AEST 2021


Hi All,

I am trying to launch the ast2600-evb machine on QEMU by passing a a
usb-net device:
qemu-system-arm -machine ast2600-evb  -drive file=<bmc
image>,if=mtd,bus=0,unit=0,snapshot=on -nographic  -nic
user,hostname=qemu -device usb-net,netdev=net0 -netdev
socket,id=net0,listen=:1234

I downloaded the QEMU binary from
https://github.com/openbmc/docs/blob/master/development/dev-environment.md#download-and-start-qemu-session.
The intent is to have two such QEMU instances talking over emulated
usb-net (the other instance would do a connect on the netdev socket).
I get the following error when I run the command above:
qemu-system-arm: -device usb-net,netdev=net0: Warning: speed mismatch
trying to attach usb device "QEMU USB Network Interface" (full speed)
to bus "usb-bus.1", port "1" (high speed)

I'm guessing this is the lack of usb support/initialization in
hw/arm/aspeed* in the QEMU tree. Has anyone else tried this with
ast2600-evb?

Thanks,
Deepak


More information about the openbmc mailing list