iMX8Q evaluation board PCIe boot failure

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

iMX8Q evaluation board PCIe boot failure

Jump to solution
3,635 Views
jimdai
Contributor I

Right now we are working on iMX8 PCIe link. Without any PCIe device inserted in the iMX8Q evaluation board, we can get PCIe related message as below when boot up:

[    0.910397] 5f010000.pcie supply epdev_on not found, using dummy regulator
[    0.917200] OF: PCI: host bridge /pcie@0x5f010000 ranges:
[    0.922347] OF: PCI:   No bus range found for /pcie@0x5f010000, using [bus 00-ff]
[    1.187991] imx6q-pcie 5f010000.pcie: phy link never came up
[    1.193315] imx6q-pcie 5f010000.pcie: Link never came up
[    1.198622] imx6q-pcie 5f010000.pcie: failed to initialize host
[    1.204522] imx6q-pcie 5f010000.pcie: unable to add pcie port.
[    1.210580] imx6q-pcie: probe of 5f010000.pcie failed with error -110
It seems that iMX8Q still uses the same driver for PCIe from iMX6. Does any body can address what's the root cause?
Thanks a lot,
1 Solution
2,666 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jim

it is necessary to attach some device to board pcie connector

to see link up linux messages.

May be useful to check i.MX8MDQLQ EVK Board Hardware User's Guide

https://www.nxp.com/docs/en/user-guide/IMX8MDQLQEVKHUG.pdf 

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

View solution in original post

3 Replies
2,666 Views
erik_young
Contributor I

Hi I'm using the imx8mm and I'm getting similar messages. My goal is to get the Embedded Artist 1CX M.2 module up and running.


1. How do I begin to troubleshoot the issue?

2. Do we need an epdev_on regulator for pcie to work?

3. How does the ext_osc = <1> in the device tree relate to the message "pcie phy ppl can't be locked" dmesg

[    1.983047] imx6q-pcie 33800000.pcie: 33800000.pcie supply epdev_on not found, using dummy regulator
[    1.992612] OF: PCI: host bridge /pcie@0x33800000 ranges:
[    1.998031] OF: PCI:   No bus range found for /pcie@0x33800000, using [bus 00-ff]
[    2.005529] OF: PCI:    IO 0x1ff80000..0x1ff8ffff -> 0x00000000
[    2.011461] OF: PCI:   MEM 0x18000000..0x1fefffff -> 0x18000000
[    2.017844] imx6q-pcie 33800000.pcie: Initialize PHY with EXT REfCLK!.
[    2.024682] imx6q-pcie 33800000.pcie: PHY Initialization End!.
[    2.051619] imx6q-pcie 33800000.pcie: pcie phy pll can't be locked.
[    2.097900] imx6q-pcie 33800000.pcie: failed to initialize host
[    2.103825] imx6q-pcie 33800000.pcie: unable to add pcie port.

0 Kudos
2,667 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jim

it is necessary to attach some device to board pcie connector

to see link up linux messages.

May be useful to check i.MX8MDQLQ EVK Board Hardware User's Guide

https://www.nxp.com/docs/en/user-guide/IMX8MDQLQEVKHUG.pdf 

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

2,666 Views
jimdai
Contributor I

Hi Igor,

Thank you for the information. Just want to make sure it is expected and it is not a issue or bug before we doing further. 

Best regards,

Jim

0 Kudos