USB on T1040rdb linux does not find external devices

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB on T1040rdb linux does not find external devices

994 次查看
stevereynolds
Contributor I

Hi

If I do usb start in u-boot before booting linux external devices are detected, but if I don't then they are not.

I suspect the power is not being turned on by Linux

Could you please tell me if there a patch for this or is the recommended workaround to start usb in u-boot?

Thanks

Steve

标签 (1)
0 项奖励
回复
1 回复

876 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello steve reynolds,

I am not sure which version Linux SDK you are using, the attached u-boot patch from SDK 1.7 should related with this problem.

Please refer to the following code regarding erratum A007792 in Linux Kernel.

        /*

        * Enable UTMI phy and program PTS field in UTMI mode before asserting

        * controller reset for USB Controller version 2.5

        */

        if (pdata->has_fsl_erratum_a007792) {

                clrsetbits_be32(hcd->regs + FSL_SOC_USB_CTRL,

                                CONTROL_REGISTER_W1C_MASK, CTRL_UTMI_PHY_EN);

                writel(PORT_PTS_UTMI, hcd->regs + FSL_SOC_USB_PORTSC1);

        }

If your problem remains, please feel free to let me know.


Have a great day,
Yiping

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

0 项奖励
回复