Virtualization of USB interfaces

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Virtualization of USB interfaces

1,330件の閲覧回数
david_gounaris
Contributor IV

Hello, I have a question regarding virtualization of usbh1 and usbotg1 using Xen on imx8qm.

In the provided device-tree fsl-imx8qm-device.dtsi, the referenced usbphy (usbphy1 and usbphynop2) for the two controllers (usbh1 and usbotg1) share the same clock and power-domain.

Is it possible to use usbh1 in dom0 and usbotg1 in domu?

Could you please provide an example of how this could be done?

ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,317件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello david,

 

There are two general methods for passing through individual host devices to a guest. The first is via an emulated USB device controller; the second is PVUSB.

more information: https://wiki.xenproject.org/wiki/Xen_USB_Passthrough

Regards

 

0 件の賞賛
返信

1,309件の閲覧回数
david_gounaris
Contributor IV

Thank you for your reply.

I have followed the examples in fsl-imx8qm-mek-dom0.dts and fsl-imx8qm-mek-domu.dts to pass-through other devices to domu. This has worked as expected, but not for usbh1 and usbotg1. I think it is a problem that they share the same clock and power-domain. Can you check if possible to split them into the two domains?

I consider Emulated USB and PVUSB as an alternative if the above method is not possible.


Best Regards / David

0 件の賞賛
返信

1,301件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi

To change the clock in different domain it not possible, sorry.

 

Regards

 

0 件の賞賛
返信

1,271件の閲覧回数
david_gounaris
Contributor IV

The response is a bit unclear to me. Is it not possible to share the clock between two domains? Is the preferred method in this case to use pvusb?

Best Regards / David Gounaris

0 件の賞賛
返信