[yocto] QEMU with host USB serial
Khem Raj
raj.khem at gmail.com
Thu Jan 26 18:10:01 PST 2017
On 1/26/17 6:22 AM, colin.helliwell at ln-systems.com wrote:
> I’m investigating using qemu to give us some test capability, for which
> we need to use the host’s serial devices.
>
> I have a qemu build which boots up fine; I’m trying to give it access to
> the host USB. To keep it simple(r), I’ve seen mention of FTDI’s device
> (0403:6001) in the qemu source so that’s what I’ve plugged in. I’ve done
> a ‘chmod me:me’ on the relevant /dev/bus/usb/xxx/yyy node.
>
>
>
> I can’t though figure out what options I should be passing to runqemu to
> hook this in. I daresay I may need bootparams too, but am first just
> trying to get past ‘qemuparams’.
>
> As a starting point, I’m trying things like
>
> runqemu qemux86-64 nographic qemuparams="-usbdevice serial"
can you try with
runqemu qemux86-64 nographic serial
More information about the yocto
mailing list