XHCI is hung up in the readl

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

XHCI is hung up in the readl

329件の閲覧回数
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 返答(返信)

231件の閲覧回数
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 件の賞賛

231件の閲覧回数
tomgao
Contributor III

My version is 3.14.28

0 件の賞賛