No PCIe devices

Configuration

https://www.eetgroup.com/en-ie/mt-512t-coreparts-512gb-msata-ssd-wid-w124665726

SERDES:=LX2162A_CLEARFOG_18_9_0
root@LX2162a:~# dmesg | grep -i pci
[    0.000000] Kernel command line: console=ttyAMA0,115200 earlycon=pl011,mmio32,0x21c0000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf root=PARTUUID=30303030-01 rw rootwait
[    0.060502] PCI/MSI: /interrupt-controller@6000000/gic-its@6020000 domain created
[    2.472977] PCI: CLS 0 bytes, default 64
[    3.175941] ehci-pci: EHCI PCI platform driver
[    3.200102] ohci-pci: OHCI PCI platform driver

lspci gives no output


root@LX2162a:~# modprobe pci
modprobe: FATAL: Module pci not found in directory /lib/modules/5.10.35-00078-g160e2cf1f99

root@LX2162a:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 2cb7:0112 Fibocom Fibocom Module
Bus 001 Device 002: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Why it doesn’t work?

What BSP / Image are you using? Also please provide the full output of dmesg and lspci -vv

Thanks

Also could you please clarify something? The cellular card you linked to is a mini-pcie device but uses a USB interface and your lsusb output shows it is detected on the bus. It is possible that the 5.10 kernel does not have the drivers specific to the device.

What is the msata link you also included?

I use image Ubuntu 22.04 builded with Docker and SERDES:=LX2162A_CLEARFOG_18_9_0

https://github.com/SolidRun/lx2160a_build/tree/master

As mSATA drive coreparts 512GB mt-512t

https://www.eetgroup.com/en-ie/mt-512t-coreparts-512gb-msata-ssd-wid-w124665726

lspci -vv

 is blank

dmesg

https://0x0.st/X9vG.txt

uname -a

Linux LX2162a 5.10.35-00078-g160e2cf1f99 #3 SMP PREEMPT Thu Jul 4 18:03:17 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux

Which protocol version of PCIe is supported and how many lanes?

Our default board configuration exposes all of the SERDES lanes as network interfaces. 8x 1Gbps, 2x10Gbps, and 2x25Gbps. The mPCIe slots only support USB wifi and wwan cards. If a device is assembled to support PCIe on the mPCIe slots of our carrier then it will be 1 lane of Gen3. The SOC and the SOM which a custom carrier can provide up to 12 lanes of PCIe Gen3.

How I can test if the second mPCIe slot is working?

And is there other possibilities to plug a NVMe or SSD?

The default production of the lx2-lite carrier is only providing USB to the 2 mini-pcie slots. There is an assembly option to populate those as PCIe, but that is not the default configuration we sell. All the SERDES ports are dedicated to the networking ports.

This carrier does not include support for additional storage, beyond uSDHC, eMMC, or external USB3.

Ok thanks for the explanation

When a build an image with docker where is this assembly option in the script to build it? Could you clarify?

Or which SERDES option have I to choose to have 2xSFP28 2x SFP+ and 8x1 Gbps NIC with PCIe support to both slots.

The assembly option is a manufacturing configuration for the board itself. It is not a software configuration option. Your board can only support USB devices in the 2 mini-pcie slots.

LX2162A_CLEARFOG_0_0_*)
		DPC=LX2162-USOM/clearfog-s1_0-s2_0-dpc.dtb
		DPL=LX2162-USOM/clearfog-s1_0-s2_0-dpl.dtb
		DEFAULT_FDT_FILE="fsl-lx2162a-clearfog.dtb"
LX2162A_CLEARFOG_3_7_*)
		DPC=LX2162-USOM/clearfog-s1_3-s2_7-dpc.dtb
		DPL=LX2162-USOM/clearfog-s1_3-s2_7-dpl.dtb
		DEFAULT_FDT_FILE="fsl-lx2162a-clearfog.dtb"
LX2162A_CLEARFOG_3_9_*)
		DPC=LX2162-USOM/clearfog-s1_3-s2_9-dpc.dtb
		DPL=LX2162-USOM/clearfog-s1_3-s2_9-dpl.dtb
		DEFAULT_FDT_FILE="fsl-lx2162a-clearfog.dtb"
LX2162A_CLEARFOG_3_11_*)
		DPC=LX2162-USOM/clearfog-s1_3-s2_7-dpc.dtb
		DPL=LX2162-USOM/clearfog-s1_3-s2_7-dpl.dtb
		DEFAULT_FDT_FILE="fsl-lx2162a-clearfog.dtb"
LX2162A_CLEARFOG_18_9_*)
		DPC=LX2162-USOM/clearfog-s1_3-s2_9-dpc.dtb
		DPL=LX2162-USOM/clearfog-s1_3-s2_9-dpl.dtb
		DEFAULT_FDT_FILE="fsl-lx2162a-clearfog.dtb"

Where can I see what the difference is of these SERDES configuration and which impact they have?


When I want 2x25Gbps + 2x10Gbps + 8x1Gbps + 1x mPCIe which SERDES configuration should I choose?
I believe 18_9_0 ?!

What is the difference between 3 and 18 on SERDES 1?
It 3 = 4x10Gbps and 18 = 2x25Gbps & 2x10Gbps?

What is the difference between 7,9 and 11 on SERDES 2?

Should I not have optimally 18_11 as SERDES? It’s doesn’t exists.

I chosen 18_9_0 as SERDES but the mPCIe Fibocom 5G Moduls works. 9 have no mPCIe SERDES.
Why is working?

You can use our developer website documentation for the module, https://solidrun.atlassian.net/wiki/spaces/developer/pages/197494140/LX2162A+SOM+Hardware+User+Manual#SERDES-configuration

Or register for free on NXP’s site and download the hardware reference manual for the LX2162a