Hi,
I am currently working on freescale i.mx6ulevk board. It contains two ports one is micro & another is mini. I have to configure mini usb as a usb slave so it can be detected as a device on host PC.
But currently I am unable to find appropriate approach to do this. Where do I start looking to configure usb port?
Thanks,
Niti Gupta
Hi Niti
one can change dts file
&usbotg2 {dr_mode = "host";
to "peripheral"
linux-2.6-imx.git - Freescale i.MX Linux Tree
also note that on EVK J1101 USB_TYPE_A is used
as Standard-A host connector, refer to attached document.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks igorpadykov
Currently I am using pre-built linux demos images ( I have downloaded them from freescale site).
As per attached manual of i.mx6ulevk board, it contains two usb ports one is "USB HOST" and another is "USB OTG". I want to configure "USB OTG" as a slave, but is not detected at all in my host linux PC ( Desktop Ubuntu) using usb cable or my desktop PC doesn't detect it as a device.
Will you please help me in this regard? Or give me directions to build linux image for i.mx6ulevk.
Thanks,
Niti Gupta
hi everyone
i want to do it too.
can you tell me howw to do that?
best regard.
Hello,
I have done this work for freescale i.mx6ulevk board. I have to add USB over ethernet device driver in kernel inorder to use "USB OTG" as a ethernet port . "USB OTG " is configured as a slave in device tree by default.
Can you post your solution?
hello,
can you share it with me, i want to do that too.
Hi niti gupta
any luck in your case ?
even i am trying to configure USB_OTG as slave so that i can connect to USB_HOST.
Could you please update your status ?
BR
Chandini