This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x EVM booting with USB problem

Other Parts Discussed in Thread: AM3354

Hi Titus,

I'm facing similar issue not mounting the USB file system it shows below message

[    2.592209] Waiting for root device /dev/sda2...
[   60.320382] PM: request_firmware failed

Have enabled the required kernel configuration option and USB drivers are compiled as statically.

The USB Pendrive connected in hub port of our custom board. I'm suspecting hub port is not detected properly.

Please find the log and config files.

4643.config.txt

8802.Bootlog.txt

Please help on this

-Xavier

  • Hi Xavier,

    [ 1.531588] musb-hdrc musb-hdrc.0.auto: Falied to request rx1.
    [ 1.537751] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517
    [ 1.545939] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferral
    [ 1.555431] musb-hdrc musb-hdrc.1.auto: Enabled SW babble control
    [ 1.562016] musb-hdrc musb-hdrc.1.auto: Falied to request rx1.
    [ 1.568166] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with status -517
    [ 1.576343] platform musb-hdrc.1.auto: Driver musb-hdrc requests probe deferral


    What is your SDK version ?

    Are you using custom board or any AM335x EVM board ?
    If custom, any USB hw changes on your board ?
    In bootup log, you can see the USB driver initialization issues.

    Please make sure that you have correct board file/dts file changes.

    I hope, no issues with kernel configuration.
  • Xavier,

    If the USB device is behind a USB hub and you use SDK7.0, please try to apply patch #8.4.a, and #8.4.b listed in wiki processors.wiki.ti.com/.../Sitara_Linux_SDK_MUSB_Issues.
  • Hi Titus,

    Thanks for prompt response,

    Here is our environment setup

    SDK: 7

    Processor : Am3354

    Linux Version : 3.12

    Board : Custom board

    In our custom board has the TI USB hub and Pen drive is connected in this hub port.

    I have checked the dts file it seems USB controller is enabled.

    Please find the dts file

    6507.am335xboard.txt

    Please help on this

    Regards

    Xavier

  • Xavier,

    Your kernel boot log shows the USB drivers are loaded correctly and the USB controllers are up and running, but the log shows the USB hub device is not enumerated.

    There is a driver bug related to USB autosuspend which could cause some hubs failed to enumerate. To ensure this bug does not affect your use case, please do one of following changes, and if the hub and pen-drive still don't work, most likely your hub has hw problem, you could either review the design or probe the hub. or do both.


    - as mentioned in my previous response, apply patch #8.4.a, and #8.4.b listed in wiki processors.wiki.ti.com/.../Sitara_Linux_SDK_MUSB_Issues. This fixes the driver bug;

    - or disable autosuspend by adding 'usbcore.autosuspend=-1' in uboot bootargs.