We are facing a problem in our board which was developed based on the IMX8MP EVK board. We are trying to get the AW-CM276MA-PUR PCIE card connected to M.2 E pcie slot working in our board, but the device is not working or even getting detected in the device manager. The difference between our board and the NXP IMX8MP EVK board is, we have used a PCIe switch to expand the PCIe slots.
We are able to detect the PCI bridge and PCIE switch in the device manager. But we are not able to even detect the PCIe card in the device manager. The PCIE card is not even detected in the PCIe driver logs. The PCIE switch that we are using is Pericom's "PI7C9X2G304EV". So, what can be done to make the PCIe switch detect the PCIE card?
This is the PCI driver log that we get
"UEFI Debug Serial Port Init
UEFI firmware (version 2023-10-21 built at 12:21:19 on Jan 16 2024)
iMX8RTC Started with saved time: 01/07/2023 09:01:22
iMX8PCIe: PCIe0 configured with external reference clock.
iMX8PCIe: PCIe0 Link up, Gen speed: 1
iMX8PCIe: Scanning device B: 00
iMX8PCIe: Configuring B:00 D:00 F:00
iMX8PCIe: Pci Bridge
iMX8PCIe: Current memory resource 0x19000000 Size 0x07F00000
iMX8PCIe: Scanning device B: 01
iMX8PCIe: Configuring B:01 D:00 F:00
iMX8PCIe: Pci Bridge
iMX8PCIe: Current memory resource 0x19000000 Size 0x07F00000
iMX8PCIe: Current memory resource 0x19000000 Size 0x07F00000
iMX8PCIe: Current memory resource 0x19000000 Size 0x07F00000
iMX8PCIe: Scanning device B: 02
iMX8PCIe: No Pcie device found
iMX8PCIe: No Pci device found
iMX8PCIe: Scanning device B: 02
iMX8PCIe: No Pcie device found
iMX8PCIe: No Pci device found
iMX8PCIe: Current memory resource 0x19000000 Size 0x07F00000
iMX8PCIe: Allocating memory resource 0x19000000 size 0x00100000
iMX8PCIe: Current memory resource 0x19100000 Size 0x07E00000
iMX8PCIe: Scanning device B: 01
iMX8PCIe: No Pci device found
iMX8PCIe: Current memory resource 0x19100000 Size 0x07E00000
iMX8PCIe: Allocating memory resource 0x19100000 size 0x00100000
iMX8PCIe: Current memory resource 0x19200000 Size 0x07D00000
iMX8PCIe: Scanning device B: 00
iMX8PCIe: No Pcie device found
iMX8PCIe: No Pci device found
iMX8PCIe: ===============================
iMX8PCIe: Root Complex Configuration space
iMX8PCIe: ===============================
iMX8PCIe: PCI [00] 0xABCD16C3 0x00100006 0x06040001 0x00010010
iMX8PCIe: PCI [10] 0x0000000C 0x00000000 0x00020100 0x20000000
iMX8PCIe: PCI [20] 0x19101900 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [30] 0x00000000 0x00000040 0x00000000 0x000001FF
iMX8PCIe: PCI [40] 0xDBC35001 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [50] 0x01807005 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [60] 0x00000000 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [70] 0x00420010 0x00008000 0x00102010 0x0071CC13
iMX8PCIe: PCI [80] 0xB0120003 0x00000000 0x004003C0 0x00010000
iMX8PCIe: PCI [90] 0x00000000 0x0000041F 0x00000000 0x0000000E
iMX8PCIe: PCI [A0] 0x00000003 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [B0] 0x00000000 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [C0] 0x00000000 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [D0] 0x00000000 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [E0] 0x00000000 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [F0] 0x00000000 0x00000000 0x00000000 0x00000000
iMX8PCIe: ===============================
iMX8PCIe: Device Configuration space 0x1FF00000
iMX8PCIe: ===============================
iMX8PCIe: PCI [00] 0xB30412D8 0x00100006 0x06040001 0x00010010
iMX8PCIe: PCI [10] 0x00000000 0x00000000 0x00020201 0x00000101
iMX8PCIe: PCI [20] 0x19001900 0x00010001 0x00000000 0x00000000
iMX8PCIe: PCI [30] 0x00000000 0x00000040 0x00000000 0x00000000
iMX8PCIe: PCI [40] 0xFFC34C01 0x00000008 0x00000000 0x01846405
iMX8PCIe: PCI [50] 0x00000000 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [60] 0x00000000 0x0034B009 0x04001060 0x08002800
iMX8PCIe: PCI [70] 0x80000000 0x0A732102 0x76B50080 0x00101D27
iMX8PCIe: PCI [80] 0x000F0000 0x00000000 0x73083333 0x00791800
iMX8PCIe: PCI [90] 0x00008000 0x0086116B 0x00070102 0x0000003C
iMX8PCIe: PCI [A0] 0x00000000 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [B0] 0x0000C00D 0x00000000 0x00011111 0x00000060
iMX8PCIe: PCI [C0] 0x00520010 0x00008001 0x00190000 0x00043C22
iMX8PCIe: PCI [D0] 0x10120000 0x00000000 0x00000000 0x00000000
iMX8PCIe: PCI [E0] 0x00000000 0x00040800 0x00000000 0x00000000
iMX8PCIe: PCI [F0] 0x00000002 0x00000000 0x00000000 0x00000000
iMX8PCIe: ==============================="
Hi @AldoG
Thanks for the reply
We don't need anything specific related to the custom board. We just want to know what are the things that needs to be modified in the WIndows 10 IoT BSP, so that a PCIe switch can detect the PCIE card connected to the PCIE slot?
Hi,
After looking more into the configuration files, I see that PCIe switch support is disabled by default, at mu_platform_nxp\NXP\MX8M_PLUS_EVK\MX8M_PLUS_EVK.dsc line 296.
Please enable this flag and have a try if it does help.
Best regards/Saludos,
Aldo.
Hello,
Unfortunately custom boards are out of our scope of support for Windows 10 IoT Enterprise BSP for now.
Best regards/Saludos,
Aldo.