Nitrogen6x uboot pcie

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

Nitrogen6x uboot pcie

860 Views
mmonto58
Contributor II


I have a nitrogen 6x (solo not quad) and have questions regarding the uboot PCIE support. Ive found a few posts saying it is in fact added, ive also found the "validation system" documentation found in the I.MX_6Dual6Quad_Linux_Ref manual.

In the validation system is talks about certain settings such as "

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

However i do not find these settings in buildroot under make menuconfig. Is there a different system or set of menus where i am missing the pcie configuration options?

0 Kudos
2 Replies

597 Views
igorpadykov
NXP Employee
NXP Employee

Hi matthew

in uboot one can look at include/configs/*board*.h file :

/*

* imx6 q/dl/solo pcie would be failed to work properly in kernel, if

* the pcie module is iniialized/enumerated both in uboot and linux

* kernel.

* rootcause:imx6 q/dl/solo pcie don't have the reset mechanism.

* it is only be RESET by the POR. So, the pcie module only be

* initialized/enumerated once in one POR.

* Set to use pcie in kernel defaultly, mask the pcie config here.

* Remove the mask freely, if the uboot pcie functions, rather than

* the kernel's, are required.

*/

/* #define CONFIG_CMD_PCI */

#ifdef CONFIG_CMD_PCI

#define CONFIG_PCI

#define CONFIG_PCI_PNP

#define CONFIG_PCI_SCAN_SHOW

#define CONFIG_PCIE_IMX

#define CONFIG_PCIE_IMX_PERST_GPIO    IMX_GPIO_NR(7, 12)

#define CONFIG_PCIE_IMX_POWER_GPIO    IMX_GPIO_NR(3, 19)

#endif

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

597 Views
mmonto58
Contributor II

Looking at the .h i do not see a #define CONFIG_CMD_PCI commented out or otherwise, also i am missing the last 2 #defines you posted above

Im looking at the nitrogen6x.h file

0 Kudos