USB device in imx6ul

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

USB device in imx6ul

4,704件の閲覧回数
chandraevolute
Contributor V

We have  a custom board based on imx6ul. Currently we have two OTG ports. One OTG2 port we are using for Host devics. OTG1 for downloading kernel(mfgtool). We are trying to use OTG1 as device. Like connecting/read/write from PC to imx6 vice versa. What is the procedure or which driver needs to be enabled. 

Below is the kernel log.....By this log I come to know that usb device driver is already registered. How to coomunicate with PC??


ohci-platform: OHCI generic platform driver
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
usbcore: registered new interface driver sisusb
2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
2184000.usb supply vbus not found, using dummy regulator
2184200.usb supply vbus not found, using dummy regulator
ci_hdrc ci_hdrc.1: EHCI Host Controller
ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 3.14.38-6UL_ga-mfgtool+ge4944a5 ehci_hcd
usb usb1: SerialNumber: ci_hdrc.1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected

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

3,187件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi chandra

please check sect.39.3.8 Changing the Controller Operation Mode

attached Linux Manual.

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

0 件の賞賛
返信

3,187件の閲覧回数
chandraevolute
Contributor V

  Hi   igorpadykov

when ever i do modprobe Kernel_module i am getting the below error

configfs: disagrees about version of symbol module_layout
modprobe: can't load module configfs (kernel/fs/configfs/configfs.ko): invalid module format

in EVK i have pre built images and it is working. I am trying to load the driver in custom board. 

Kernel version 3.14.38-6UL_ga+ge4944a5

using NAND-128MB and I dont have SD card to try prebuilt images on my custom board.

0 件の賞賛
返信

3,187件の閲覧回数
chandraevolute
Contributor V

Can any one help with above issue. below is the output of uname -a

Linux imx6ulevk 3.14.38-6UL_ga+ge4944a5 #11 PREEMPT Fri Apr 7 12:35:50 IST 2017 armv7l GNU/Linux

0 件の賞賛
返信

3,187件の閲覧回数
chandraevolute
Contributor V

Hi igorpadykov

I have modprobed the usb_serial driver and able to see the serial interface in my PC. My doubt is what will be the speed of data transfer in this case will it be in terms of USB high speed or serial 115200 bps??

0 件の賞賛
返信