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
Solved! Go to Solution.
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!
-----------------------------------------------------------------------------------------------------------------------
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.
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!
-----------------------------------------------------------------------------------------------------------------------