XHCI is hung up in the readl

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

XHCI is hung up in the readl

970 次查看
tomgao
Contributor III

After I compile the XHCI to modul ,the kernel Hung up when boot up to xhci_gen_setup->HC_LENGTH(readl(&xhci->cap_regs->hc_capbase)); 

   who can tell me why ? when I build in it is no problem .

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

872 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi tom,

Please refer to Chapter 42 (i.MX 6 PCI Express Root Complex Driver) of "i.MX_6_Linux_Reference_Manual.pdf" in Linux documentation. Also You may try using the recent (L4.1.15) Linux BSP.

The following thread may be useful. “i.MX6Q PCIe EP/RC Validation System”


https://community.freescale.com/docs/DOC-95014

When building RC image, make sure that

        CONFIG_IMX_PCIE=y

        # CONFIG_IMX_PCIE_EP_MODE_IN_EP_RC_SYS is not set

        CONFIG_IMX_PCIE_RC_MODE_IN_EP_RC_SYS=y

    * When build EP image, make sure that

        CONFIG_IMX_PCIE=y

        CONFIG_IMX_PCIE_EP_MODE_IN_EP_RC_SYS=y

        # CONFIG_IMX_PCIE_RC_MODE_IN_EP_RC_SYS is not set

Hope this helps

 

0 项奖励
回复

872 次查看
tomgao
Contributor III

My version is 3.14.28

0 项奖励
回复