Is this possible to boot Rpi CM4 + io-board completely from NVME ? I updated Rpi bootloader and it loads kernel well without U-boot. When I switch to U-boot, it doesn't load boot.scr located in the same FAT partition. It tries mmc, usb but never nvme drive. What is my problem ?
2 Answers
Yes, that's possible. Source: https://www.jeffgeerling.com/blog/2021/raspberry-pi-can-boot-nvme-ssds-now
I suspect you haven't set BOOT_ORDER=0xf25416 in the boot loader config correctly, but I can't infer that from your question, really.
-
I can boot from NVME the native Rpi way , but I'd like to use u-boothanni76– hanni762024-11-17 16:39:58 +00:00Commented Nov 17, 2024 at 16:39
-
1well, u-boot should generally be able to do that. Have you compiled it with support for that?Marcus Müller– Marcus Müller2024-11-17 17:08:34 +00:00Commented Nov 17, 2024 at 17:08
-
Lets try this. I suspect it doesn't work, which is why rpi_arm64_defconfig does not enable CONFIG_NVME and CONFIG_NVME_PCI. However, these are the two options to enable to start with to see if "nvme info" then shows information, or not.Tom Rini– Tom Rini2024-11-18 17:24:53 +00:00Commented Nov 18, 2024 at 17:24
-
I compiled with CONFIG_NVME and CONFIG_NVME_PCI but nothing has changedhanni76– hanni762024-11-19 19:24:11 +00:00Commented Nov 19, 2024 at 19:24
As of this writing, no, U-Boot does not support NVMe on the Pi 5. Edit: And by the same token, no, it does not support NVMe on the rest of the Pi family either.
-
yeah, it seems like that... it simply doesn't even try to search for boot.scr located on NVME partitionhanni76– hanni762024-11-17 16:40:53 +00:00Commented Nov 17, 2024 at 16:40
-
1The answer is about the Pi 5, but the question was about the CM4. These boot differently, as far as I'm aware.Marcus Müller– Marcus Müller2024-11-17 17:08:06 +00:00Commented Nov 17, 2024 at 17:08