IMX8QXP pcie初始化失败

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

IMX8QXP pcie初始化失败

2,776 Views
baiseyuzhou
Contributor II

您好:

我用的是IMX8qxp,我们用的是pci的内部时钟,没有外接高精度的信号发生器。

l内核启动打印:(Linux version 4.14.78)

[ 0.948995] OF: PCI: host bridge /pcie@0x5f010000 ranges:
[ 0.949005] OF: PCI: No bus range found for /pcie@0x5f010000, using [bus 00-ff]
[ 0.949018] OF: PCI: IO 0x7ff80000..0x7ff8ffff -> 0x00000000
[ 0.949033] OF: PCI: MEM 0x70000000..0x7fefffff -> 0x70000000
[ 0.951582] imx6q-pcie 5f010000.pcie: ERROR PM_REQ_CORE_RST is still set.
[ 0.972396] imx6q-pcie 5f010000.pcie: pcie phy pll can't be locked.
[ 1.012421] imx6q-pcie 5f010000.pcie: failed to initialize host
[ 1.012426] imx6q-pcie 5f010000.pcie: unable to add pcie port.

我的原理图如下:

pastedImage_1.png

0 Kudos
4 Replies

2,374 Views
baiseyuzhou
Contributor II

最近很多人私聊我,问我这个问题怎么解决的,统一回复:

pcie使用内部时钟,需要打开内部时钟的初始化:

修改的文件如下:scfw_export_mx8/platform/board/mx8qx_mek/board.c

pastedImage_2.png

0 Kudos

2,374 Views
liuhongbo1
Contributor I

你好,我也是用的内部时钟,现在出现了和你一样的错误,请问你现在解决了吗?

[ 0.780763] OF: PCI: host bridge /pcie@0x5f010000 ranges:
[ 0.780770] OF: PCI: No bus range found for /pcie@0x5f010000, using [bus 00-ff]
[ 0.780779] OF: PCI: IO 0x7ff80000..0x7ff8ffff -> 0x00000000
[ 0.780786] OF: PCI: MEM 0x70000000..0x7fefffff -> 0x70000000
[ 0.782769] imx6q-pcie 5f010000.pcie: ERROR PM_REQ_CORE_RST is still set.
[ 0.810009] imx6q-pcie 5f010000.pcie: pcie phy pll can't be locked.
[ 0.850023] imx6q-pcie 5f010000.pcie: failed to initialize host
[ 0.855603] imx6q-pcie 5f010000.pcie: unable to add pcie port.

0 Kudos

2,374 Views
contact8
Contributor I

Hello,

I am also having the same issue when using the internal clock.

Did you found a solution?

0 Kudos

2,374 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Yang,

The i.MX8QXP is still on preproduction, so, no additional information/support could be provided yet. In case of having doubts, please refer with your Sales/FAE.


Hope this will be useful for you.
Best regards!
/Carlos
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

-------------------------------------------------------------------------------

0 Kudos