Hi,
My board is i.MX8MQ-EVK 700-29615 REVA.
I want to access PCIe dbi address in U-Boot.
But when I access pcie0@0x33800000 or pcie1@0x33c00000, it will hang.
I thought maybe it is the power-domain problem.
I add SMC calls myself before I access dbi address, somthing like:
SMC
0xC2000000 (smc_fid)
0x3 (FSL_SIP_CONFIG_GPC_PM_DOMAIN)
1/10 (pcie0/pcie1 domain id)
1 (on)
But it still hangs. Did I miss something? Please help me.
BR,
Peng
解決済! 解決策の投稿を見る。
Hi Peng
seems i.MX8MQ uboot does not support pcie, however it is supported for i.MX8QM
in #define CONFIG_PCI :
uboot/include/configs/imx8qm_arm2.h
imx8qm_arm2.h\configs\include - uboot-imx - i.MX U-Boot
from linux pcie sources driver is the same for i.MX8MQ and i.MX8QM
linux/drivers/pci/host/pci-imx6.c
pci-imx6.c\host\pci\drivers - linux-imx - i.MX Linux kernel
So one can try to adapt i.MX8MQ pcie in uboot using i.MX8QM as example.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Peng
seems i.MX8MQ uboot does not support pcie, however it is supported for i.MX8QM
in #define CONFIG_PCI :
uboot/include/configs/imx8qm_arm2.h
imx8qm_arm2.h\configs\include - uboot-imx - i.MX U-Boot
from linux pcie sources driver is the same for i.MX8MQ and i.MX8QM
linux/drivers/pci/host/pci-imx6.c
pci-imx6.c\host\pci\drivers - linux-imx - i.MX Linux kernel
So one can try to adapt i.MX8MQ pcie in uboot using i.MX8QM as example.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you, igor.