Enumerating iMX-8M USB in Peripheral(Device) Mode

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

Enumerating iMX-8M USB in Peripheral(Device) Mode

1,528件の閲覧回数
bharatkumarbach
Contributor III

I got the USB working under host mode. 

For device mode, I have modified the device tree

&usb_dwc3_1 {

   status = "okay";

   dr_mode = "peripheral";

};

How / where do I configure the descriptors (device, Interface, Config, Endpoint, String),  so that the device gets enumerated as vendor specific device at the boot time. 

Using yocto build on iMX-8M.

Thanks

Bharat

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

1,270件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Bharat

one can try to change usb driver on

dwc3-of-simple.c\dwc3\usb\drivers - linux-imx - i.MX Linux kernel 

fsl-imx8mq.dtsi\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel 

Linux manual and porting guide can be found in linux documentation on

i.MX Software|NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信