Please find the answer below.
To configure PCI at u-boot level, One needs to configure the drivers accordingly.
Hi Sanket Parekh,
I am building Image by using yocto build(5.15.32) for I.MX8QM board.
Here in u-boot configuration file, below configurable parameters are not available.
CONFIG_IMX_PCIE=y
# CONFIG_IMX_PCIE_EP_MODE_IN_EP_RC_SYS is not set
CONFIG_IMX_PCIE_RC_MODE_IN_EP_RC_SYS=y
and while typing pci command in u-boot i am getting following errors
=> pci
imx_pcie pcie@0x5f000000: -2 unable to get power-on-gpio.
PCI: pcie phy link never came up
=> pci
imx_pcie pcie@0x5f000000: -16 unable to get clkreq.
imx_pcie pcie@0x5f000000: -16 unable to get disable-gpio.
imx_pcie pcie@0x5f000000: -2 unable to get power-on-gpio.
imx_pcie pcie@0x5f000000: -16 unable to get power-on-gpio.
PCI: pcie phy link never came up
Please help us to resolve this Issue.
Thanks,
Mallikarjuna
Hi Sanket Parekh,
The configuration mentioned in u-boot/drivers/pci_endpoint/Kconfig in Uboot, I found endpoint configuration for sandbox and cadence architecture but for arm architecture configuration is not available.
Thanks & Regards,
Mallikarjuna B.
Hi Sanket Parekh,
Is there any update regarding above query, please provide some information regarding this.
Thanks & Regards,
Mallikarjuna
Hi Sanket Parekh,
I hope you are doing well.
I am asking about where I have to configure PCI as endpoint, but not for PCI endpoint driver in u-boot.
Thanks & Regards,
Mallikarjuna
Hi Sanket Parekh,
I hope you are doing well.
Can I connect PCI0 as root complex and PCI1 as end point.
If yes how can I configure.
Thanks & regards,
Mallikarjuna
Can I connect PCI0 as root complex and PCI1 as end point.
-> Yes, One needs to connect both of the PCIE interfaces with each other.
If yes how can I configure.
-> This seems a another query, Please raise a new case for the same.
Thanks & Regards
Sanket Parekh