usb issue with i.MX28 with Linux 3.10.32

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

usb issue with i.MX28 with Linux 3.10.32

2,159 Views
gfritz
Contributor II

Hi everyone,

I have some trouble use USB on Linux (3.10.32). I only use USB1. My device tree is :

apbx@80040000 {

    usbphy1: usbphy@8007e000 {

        status = "okay";

    };

};

ahb@80080000 {

    usb1: usb@80090000 {

        status = "okay";

    };

};

But I can access to my USB Masse Storage.

When I run "dmesg" I observe this line :

imx_usb 80090000.usb: pinctrl get/select failed, err=-19

I think I miss some options. Anyone have an idea to slove this problem ?

Thanks in advance

Labels (2)
0 Kudos
Reply
7 Replies

1,612 Views
fabio_estevam
NXP Employee
NXP Employee

Kernel 3.10 was the one of the early mainline kernels that had USB support on mx28.

I would suggest you to use a more recent one, such as 4.1, for example.

Regards,

Fabio Estevam

0 Kudos
Reply

1,612 Views
gfritz
Contributor II

Hi,

Another information : I have an old project with linux 2.6.35.3 and USB is working fine, so I am surprised that their is trouble with linux 3.10...

Why their is an more issue with a newer version of linux ?

Thank in advance

0 Kudos
Reply

1,612 Views
fabio_estevam
NXP Employee
NXP Employee

Is the only issue you see the "imx_usb 80090000.usb: pinctrl get/select failed, err=-19" message?

If so, this one is harmless.

Regards,

Fabio Estevam

0 Kudos
Reply

1,612 Views
gfritz
Contributor II

Hi,

I have no other issue, but this one involves I can't use USB (specially USB masse storage). I try to use usb driver (chipidea) from linux 3.18.20. After importing and adapting them to linux 3.10.32, I have no more this issue. But some USB key doen't be recognized correctly. I continue for a time to find why, but if it is impossible to recognize without problem USB masse storage, I would have to change to a newer version.

If so, is usb support in 3.18.12 enough to have an stable usb ?

Thank in advance ?

0 Kudos
Reply

1,612 Views
fabio_estevam
NXP Employee
NXP Employee

Gilles,

It would be better to give kernel 4.1.5 a try and see if you still see issues with it.

Regards,

Fabio Estevam

0 Kudos
Reply

1,612 Views
gfritz
Contributor II

Fabio,

Sorry for the delay,

It's impossible for me to use a so recent kernel 'cause I need to use Xenomai... I will check some other xenomai compatible version and I will post here which versions work in my case

0 Kudos
Reply

1,612 Views
gfritz
Contributor II

Hi,

Thank you for your answer, but it's really difficult to me to use a more recent version.

Have some other solutions ?

Thank you in advance

0 Kudos
Reply