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
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
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------