-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't boot Pi 5 via NVMe behind PCIe switch/bridge unless NVMe is sole device. #1929
Comments
Hello, is there any news on that issue? It also happens with an ASM1182e switch. I am using this PCIe swtich together with this bundle. Please see the discussion around this comment in issue #1833 |
From your description it sounds like Linux is having problems booting. What's the second non SSD device? |
The bundle in my previous comment consists of an nvme ssd + this Hailo 8L accelerator - sorry, I did not find the data sheet. This bundle is currently the only pcie board attached to the switch. The nvme is able to boot behind the switch if it is mounted on a pcie board like this one. Just mounted in conjunction with the AI accelerator it does not boot. |
That is correct, it doesn't boot. Just plain old Raspbian. To clarify it's ANY second non SSD device. Could be an ethernet card, a USB hub. Doesn't matter. |
I need to know if the bootloader is actually the issue. If you boot off the sd card (boot order 1 is first) is Linux able to boot from nvme. This is a bit tricky as you need to get the partition id right on the sd card in cmdline.txt. If boot still fails then it's probably not a bootloader problem. |
I had tried several boot orders and no matter what I seet |
Describe the bug
I am unable to boot a Raspberry Pi 5 from an NVMe SSD mounted to a POE M.2 HAT+ if used behind a PCIe switch AND that switch has a second non-SSD device attached to it. If the SSD is the sole device on the PCIe switch then it Pi 5 will boot.
To reproduce
BOOT_ORDER=0xf25416
)PCIe Switch Device is a Pi52 Quad B14 with an Asmedia ASM1184e switcher chip.
Expected behaviour
I would expect the NVMe SSD to be selecdted for boot even if the PCIe switch has an NVMe SSD and more than one additional peripheral device attached to it.
Actual behaviour
The Raspberry Pi 5 bootloader attempts to load the NVME when behind the PCIe switch as the sole device and suceeds, but fails if there is a second peripheral PCIe device connected to the PCIe switch. Hangs and eventually ends up in intrafms prompt.
System
cat /etc/rpi-issue
)?vcgencmd version
)? - version 4b019946uname -a
)? 6.6.51-rpt-rpi-2712Logs
No aparent errors in dmesg output. Output can be made available upon demand.
Additional context
To be clear, from Issue 1833, the fix does work. It's only when a second peripheral is introduced does the boot fail. The goal of this ticket is to ascertain why.
This issue is related to:
The text was updated successfully, but these errors were encountered: