U-boot Hang on IMX6QP with PCIe support enabled

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

U-boot Hang on IMX6QP with PCIe support enabled

Jump to solution
1,284 Views
prathamrahate
Contributor III

Hi,

I am having custom board with imx6qp. I have enabled PCIe support in u-boot( version 2015.04).

I observed that u-boot hangs at  imx_pcie_regions_setup in drivers/pci/pcie_imx.c. The same uboot is able to work on sabresd board(Though it says pcie phy link never came up), without hang. 

I observe the similar behavior  with the kernel (3.14.52) too.

What is the solution for this issue? Is there any patch available for uboot to work with imx6qp?

Thanks,

Prathamesh

Labels (2)
Tags (4)
0 Kudos
1 Solution
1,016 Views
prathamrahate
Contributor III

Hi Igor,

Thanks for the input.

Following  patch worked for me on imx6qp.

U-Boot - [PATCH] pci: pcie_imx: Fix hang on mx6qp 

Thanks,

Prathamesh

View solution in original post

0 Kudos
3 Replies
1,016 Views
igorpadykov
NXP Employee
NXP Employee

Hi Prathamesh

one can check if PCIe clock is enabled in CCM_CCGR4
and voltages as below

pastedImage_1.jpg

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

0 Kudos
1,017 Views
prathamrahate
Contributor III

Hi Igor,

Thanks for the input.

Following  patch worked for me on imx6qp.

U-Boot - [PATCH] pci: pcie_imx: Fix hang on mx6qp 

Thanks,

Prathamesh

0 Kudos
895 Views
llafranier97
Contributor I

Where can I find this solution/patch?

0 Kudos