Open geerlingguy opened 15 hours ago
each switch would need to be supported independently
No. We've not added anything "special" to handle specific switches. We have however chosen a simple solution to dealing with them by carving out the memory space. From memory I think there's 1GB available and we give each 64MB which means you're probably hitting the limit. Does the bootloader complain at all?
@peterharperuk - That... I didn't check. I will boot it back up and check next week, I'm already out of the office today :)
Describe the bug
I'm running a Pi 5 / BCM2712 with an external Broadcom PEX 8619 PCIe switch. It is on the latest firmware (
Mon 23 Sep 13:02:56 UTC 2024 (1727096576)
), with all the latest Pi OS updates applied.After https://github.com/raspberrypi/firmware/issues/1833 was fixed, many PCIe switches worked, but it seems this one does not — I was wondering if that's an expected behavior (e.g. each switch would need to be supported independently), or if it's a bug.
I booted the Pi directly of an NVMe SSD, but behind this switch it will not boot off it.
To reproduce
Boot with a valid boot NVMe SSD behind a PEX 8619 PCIe switch.
Expected behaviour
The Pi boots off the NVMe SSD, assuming your BOOT_ORDER is correct.
Actual behaviour
The Pi does not boot off the NVMe SSD.
System
Logs
Additional context
This is a kind of ridiculous switch, but one that seems to work reliably for plugging in a LOT of PCIe Gen 2 devices to a Pi.
And I also tried adding
dtoverlay=pciex1-compat-pi5
to my/boot/firmware/config.txt
but that made no difference.