Kernel hangs while PCIe DBI access

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

Kernel hangs while PCIe DBI access

Jump to solution
857 Views
mallannanarsana
Contributor I

On our custom i.MX6Q based board, Kernel hangs  while accessing the PCIe DBI registers (i,e readl(dbi_base)). please let us know possible reason for kernel hang.

Btw,
1. In u-boot , no problem while accessing DBI registers and also PCIe link comes up without any problem.

2. We are using official freescale kernel (4.1.15 ->imx_4.1.15_1.0.0_ga).

Thanks in advance

Mallanna

Labels (1)
Tags (1)
0 Kudos
1 Solution
638 Views
igorpadykov
NXP Employee
NXP Employee

Hi Mallanna

thank for sharing this, also there is useful pcie usage explanation in uboot/../mx6sabresd.h

uboot-imx.git - Freescale i.MX u-boot Tree 

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

View solution in original post

0 Kudos
2 Replies
638 Views
mallannanarsana
Contributor I

From i.MX6sx PCIe failes LTSSM training  "If PCIe is enabled in uboot, try to disable PCIe support in uboot.".

disabled PCIe support in u-boot and and link came up in kernel.

0 Kudos
639 Views
igorpadykov
NXP Employee
NXP Employee

Hi Mallanna

thank for sharing this, also there is useful pcie usage explanation in uboot/../mx6sabresd.h

uboot-imx.git - Freescale i.MX u-boot Tree 

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

0 Kudos