You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a PCIe switch PCIe x1 to 4 x PCIe x1 successfully on the cm4 to access more than one PCIe board.
Now I try to migrate to RPI-5 with a M2-HAT and a DELOCK 62584 Adapter M.2 NGFF Key M -> PCIe x4 Slot.
If I insert a PCIe board with a M2 SSD or a PCIe Networkadapter directly into the PCIe Slot on the DELOCK board, all is working fine.
But if I insert the PCIe x1 to 4 x PCIe x1 bridge with ASM1184e switch. lspci will report the 4 ASM1184e Switch Ports, but I cannot "see" any PCIe resources behind the Switch Ports.
root@raspi-5-bb-001:/projects# lspci
0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 30)
0000:01:00.0 PCI bridge: ASMedia Technology Inc. ASM1184e 4-Port PCIe x1 Gen2 Packet Switch
0000:02:01.0 PCI bridge: ASMedia Technology Inc. ASM1184e 4-Port PCIe x1 Gen2 Packet Switch
0000:02:03.0 PCI bridge: ASMedia Technology Inc. ASM1184e 4-Port PCIe x1 Gen2 Packet Switch
0000:02:05.0 PCI bridge: ASMedia Technology Inc. ASM1184e 4-Port PCIe x1 Gen2 Packet Switch
0000:02:07.0 PCI bridge: ASMedia Technology Inc. ASM1184e 4-Port PCIe x1 Gen2 Packet Switch
0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 30)
0001:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge
Im using the latest stable kernel ( 6.6.51+rpt-rpi-2712 ) - stable_20241008.
If I setup the Kernel for RPI4/CM4 and run the kernel on a CM4 with the same PCIe x1 to 4 x PCIe x1 bridge, it works fine.
I have also tried with cmdline parameter "pcie_aspm=off", but the kernel will not start and the raspi is switched off on start
with this parameter.
I have seen HAT-Boards with the ASM switch and 2 M2-slots and I have read that the RPI5 is able to boot from a NVME ssd behind a ASM switch, so I cannot unterstand why I cannot see the PCIe-devices behind the ASM-switch.
Steps to reproduce the behaviour
Insert a ASM1184e (1 ->4 PCIe) switch on the RPI-5 PCIe-Port.
If I interpreted the HeaderLog bits correctly, HeaderLog indicates an issue with a 4DW memory transaction initiated by a device on Bus 0, Device 0, Function 1 (address in bytes 3 & 4).
Did you already tried the pcie quirks provided by overlays like pciex1-compat-pi5 ? Most of the PCIe switches I know require at least some special treatment ...
Describe the bug
I am using a PCIe switch PCIe x1 to 4 x PCIe x1 successfully on the cm4 to access more than one PCIe board.
Now I try to migrate to RPI-5 with a M2-HAT and a DELOCK 62584 Adapter M.2 NGFF Key M -> PCIe x4 Slot.
If I insert a PCIe board with a M2 SSD or a PCIe Networkadapter directly into the PCIe Slot on the DELOCK board, all is working fine.
But if I insert the PCIe x1 to 4 x PCIe x1 bridge with ASM1184e switch. lspci will report the 4 ASM1184e Switch Ports, but I cannot "see" any PCIe resources behind the Switch Ports.
detailed lspci -vv output
Im using the latest stable kernel ( 6.6.51+rpt-rpi-2712 ) - stable_20241008.
If I setup the Kernel for RPI4/CM4 and run the kernel on a CM4 with the same PCIe x1 to 4 x PCIe x1 bridge, it works fine.
I have also tried with cmdline parameter "pcie_aspm=off", but the kernel will not start and the raspi is switched off on start
with this parameter.
I have seen HAT-Boards with the ASM switch and 2 M2-slots and I have read that the RPI5 is able to boot from a NVME ssd behind a ASM switch, so I cannot unterstand why I cannot see the PCIe-devices behind the ASM-switch.
Steps to reproduce the behaviour
Insert a ASM1184e (1 ->4 PCIe) switch on the RPI-5 PCIe-Port.
Device (s)
Raspberry Pi 5
System
Debian GNU/Linux 12
Logs
output of journalctl -b -k
boot.log
Additional context
No response
The text was updated successfully, but these errors were encountered: