Can not access PCIe DBI address

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

Can not access PCIe DBI address

Jump to solution
1,067 Views
pengcheng
Contributor III

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

0 Kudos
1 Solution
860 Views
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
861 Views
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
860 Views
pengcheng
Contributor III

Thank you, igor.

0 Kudos