USB mass storage device is not enumerated with 3.14.28 Kernel. With Kernel 3.10.17 its working fine.
[ 0.109409] usb_otg_vbus: 5000 mV
[ 0.109630] usb_h1_vbus: 5000 mV
[ 0.444209] usb_h1_vbus: disabling
[ 0.444219] usb_otg_vbus: disabling
>[ 3.061352] systemd[1]: Starting load USB net service...
[ 3.143030] usbcore: registered new interface driver usbfs
[ 3.143030] usbcore: registered new interface driver usbfs
[ 3.143099] usbcore: registered new interface driver hub
[ 3.173088] usbcore: registered new device driver usb
[ 3.173088] usbcore: registered new device driver usb
[ 3.218172] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.268408] 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
[ 3.271412] imx_usb 2184000.usb: pinctrl_hsic_idle lookup failed, err=-19
[ 3.271412] imx_usb 2184000.usb: pinctrl_hsic_idle lookup failed, err=-19
[ 3.271429] imx_usb 2184000.usb: pinctrl_hsic_active lookup failed, err=-19
[ 3.271429] imx_usb 2184000.usb: pinctrl_hsic_active lookup failed, err=-19
[ 3.295496] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[ 3.314474] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 3.315310] hub 1-0:1.0: USB hub found
[ 3.315996] imx_usb 2184200.usb: pinctrl_hsic_idle lookup failed, err=-19
[ 3.315996] imx_usb 2184200.usb: pinctrl_hsic_idle lookup failed, err=-19
[ 3.316011] imx_usb 2184200.usb: pinctrl_hsic_active lookup failed, err=-19
[ 3.316011] imx_usb 2184200.usb: pinctrl_hsic_active lookup failed, err=-19
[ 3.330860] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[ 3.344442] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 3.345869] hub 2-0:1.0: USB hub found
[ 3.357585] usbcore: registered new interface driver asix
[ 3.568308] systemd[1]: Started load USB net service.
With 3.10.17 Kernel I am seeing USB mass storage enumeration happening.
Line 77: [ 0.159931] usb_otg_vbus: 5000 mV
Line 78: [ 0.160131] usb_h1_vbus: 5000 mV
Line 195: [ 3.769989] systemd[1]: Starting load USB net service...
Line 196: Starting load USB net service...
Line 202: [ 3.838907] usbcore: registered new interface driver usbfs
Line 202: [ 3.838907] usbcore: registered new interface driver usbfs
Line 203: [ 3.851240] usbcore: registered new interface driver hub
Line 205: [ 3.858108] usbcore: registered new device driver usb
Line 205: [ 3.858108] usbcore: registered new device driver usb
Line 207: [ 3.871685] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Line 213: [ 3.928977] imx_usb 2184000.usb: pinctrl_hsic_idle lookup failed, err=-19
Line 213: [ 3.928977] imx_usb 2184000.usb: pinctrl_hsic_idle lookup failed, err=-19
Line 214: [ 3.936126] imx_usb 2184000.usb: pinctrl_hsic_active lookup failed, err=-19
Line 214: [ 3.936126] imx_usb 2184000.usb: pinctrl_hsic_active lookup failed, err=-19
Line 222: [ 4.042497] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
Line 225: [ 4.087551] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
Line 227: [ 4.101796] hub 1-0:1.0: USB hub found
Line 230: [ 4.118826] imx_usb 2184200.usb: pinctrl_hsic_idle lookup failed, err=-19
Line 230: [ 4.118826] imx_usb 2184200.usb: pinctrl_hsic_idle lookup failed, err=-19
Line 231: [ 4.125631] imx_usb 2184200.usb: pinctrl_hsic_active lookup failed, err=-19
Line 231: [ 4.125631] imx_usb 2184200.usb: pinctrl_hsic_active lookup failed, err=-19
Line 241: [ 4.186527] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
Line 245: [ 4.217814] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
Line 246: [ 4.224782] hub 2-0:1.0: USB hub found
Line 251: [ 4.260772] usbcore: registered new interface driver asix
Line 267: [ 4.437571] usb 1-1: new high-speed USB device number 2 using ci_hdrc
Line 267: [ 4.437571] usb 1-1: new high-speed USB device number 2 using ci_hdrc
Line 272: [ 4.482980] imx_usb 2184200.usb: at imx_controller_suspend
Line 272: [ 4.482980] imx_usb 2184200.usb: at imx_controller_suspend
Line 276: [ OK ] Started load USB net service.
Line 277: [ 4.533826] systemd[1]: Started load USB net service.
Line 300: [ 7.542883] imx_usb 2184200.usb: at imx_controller_resume
Line 300: [ 7.542883] imx_usb 2184200.usb: at imx_controller_resume
Line 308: [ 7.656329] imx_usb 2184200.usb: at imx_controller_suspend
Line 308: [ 7.656329] imx_usb 2184200.usb: at imx_controller_suspend
Line 311: [ 7.686569] usb-storage 1-1:1.0: USB Mass Storage device detected
Line 311: [ 7.686569] usb-storage 1-1:1.0: USB Mass Storage device detected
Can any one tell if i am missing out anything?
Please refer to the following
usb issue with i.MX28 with Linux 3.10.32
Fabio recommends to apply to more recent kernels, such as 4.1, for example.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yuri,
Just to clarify: the recommendation for going to 4.1 was for mx28.
Not sure which SoC is being treated in this thread though.
Regards,
Fabio Estevam
Dear All,
Thanks for reply.
We are working with imx6 solo family.
3.10.17 its working. we are migrating to 3.14.28, with 3.14.28 its not detecting.
Any further pointers in debugging this issue is appreciated.
Regards,
Dilshad
Sorry for my misunderstanding.
I tried demo image 3.14.28 on my SDP - USB mass storage device is working.
If You built own image, please check kernel configuration. Refer to section 41.2.3
(Menu Configuration Options) of "i.MX_6_Linux_Reference_Manual.pdf".
Regards,
Yuri
How do you do for the devices tree? copy over to the 3.14.28 from 3.10.17 or merge to 3.14.28 from 3.10.17.
If you just copy over, please merge again and test.
cause the device tree changes are related the driver read it and how to use it?
Different linux version will have different behavior.
Please do merge.