How to boot from USB?

I have switched to CM5 and am currently running it with an SD card, but considering durability, I would like to boot from a USB drive or SSD connected via USB. However, I don’t know how to do it.

Joe on TindieのuConsole USB拡張ボード
In addition to the standard USB port, a USB hub is attached as mentioned above.

you can’t, they broke usb boot with the v5 mainboard to fix an issue with the cm3 not turning off properly

2 Likes

Does the OS prevent USB booting?

the USB ports aren’t powered until the kernel is loaded

3 Likes

That’s the specification, isn’t it?

Do you have a link about this issue?

I found these old threads on the forum, but besides that I just know what @Rex told me

Thank you. I guess that may be the power sequence problem. VBUS is behind the SYS_5V, so when CM4 powers on, the USB driver is not powered on. I will connect those power rails to an oscilloscope to check if it’s the problem tomorrow.

Will this method work to boot from usb? Internal mass storage device - #35 by u0d7i

A standalone Raspberry Pi 5 can boot from USB, so I suspect whatever is the problem on the Clockwork uConsole might be a different cause.

Has anybody figured out how to do the boot from USB thing on the uConsole? Would it be possible to put the bootloader and /boot with the entire initramfs on the SD card, but a separate / partition onto an external USB drive? That wouldn’t allow plug-and-play boot from any random USB bootable OS, but at least it would allow booting a specific, manually set up OS from USB.