PCIe 2 root complex doesn't exist in P2020

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

PCIe 2 root complex doesn't exist in P2020

746 Views
ivan_ic_chen
Contributor I

Hi all,

We are trying to modify the IO port selection from 1111( PCIe1 (x2) ) to 1110(PCIe1 (x1), PCIe2 (x1)).

When we boot up, we can see PCIe 1 has changed to x1, there's no root complex of PCIe2 in U-boot and linux kernel.

U-boot log:

PCIe1: Root Complex of Slot 2, x1 gen1, regs @ 0xffe0a000
01:00.0 - 14e4:b850 - Network controller
PCIe1: Bus 00 - 01

We check the registers of PCIe2, and all of them are zeros.

U-Boot> md 0xffe0a000  -> PCIe1
ffe0a000: 8001ff00 ffffffff 00000000 0010ffff

U-Boot> md 0xffe09000 -> PCIe2
ffe09000: 00000000 00000000 00000000 00000000

Kernel:

[root@p2020 ~]# lspci
00:00.0 PCI bridge: Freescale Semiconductor Inc Unknown device 0070 (rev 21)
01:00.0 Ethernet controller: Broadcom Corporation Unknown device b850 (rev 03)

Does anyone know about this? Any help is much appreciated.

Labels (1)
0 Kudos
2 Replies

580 Views
ivan_ic_chen
Contributor I

Solved it by adding CONFIG_PCIE2 in config header file.

Thank you.

0 Kudos

580 Views
ufedor
NXP Employee
NXP Employee

Please dump GUTS registers from U-Boot and provide the log.

0 Kudos