I have both a Raspberry Pi 4 Compute Module here and also a Raspberry Pi 4B. The CM4 is on a headless carrier board which exposes 2 USB ports.
I flashed the latest Raspberry Pi Lite OS onto a USB stick. I can boot the Raspberry Pi 4B off of the USB stick without any issues.
However, on my CM4, the software running on the eMMC or the NVMe always boots--even if I plug the USB stick into a USB port. I've tried booting from both USB ports.
I set up the BOOT_ORDER through rpi-eeprom-config. Here is my configuration:
$ rpi-eeprom-config
[all]
BOOT_UART=0
WAKE_ON_GPIO=1
POWER_OFF_ON_HALT=0
BOOT_ORDER=0xf25164
I have tried simplifying the boot order just down to 0xf146, 0xf164, 0xf14, 0xf16 etc. No matter what I do, the boot order for the eMMC and the NVMe are honored but the board simply will not boot from USB.
I know that it's possible to boot via USB on this module and this carrier board, since that's how I initially set this up in the first place (using RPi Lite on the USB stick and then using the rpi-imager --cli feature to flash the eMMC/NMVe).
By the way, using USB-C to put the board into MSD mode is unfortunately not an option for me. I need to be able to boot off the USB stick for my application, even if both the eMMC and NMVe are bootable. This is for an in-field deployment (with remote updates/assistance done by asking someone on-site to plug in a provided remote access USB stick).
Does anyone have any tips? I know I'm new here; hopefully this is not a silly question. I have searched for an answer, but maybe my Google Fu is weak.
I flashed the latest Raspberry Pi Lite OS onto a USB stick. I can boot the Raspberry Pi 4B off of the USB stick without any issues.
However, on my CM4, the software running on the eMMC or the NVMe always boots--even if I plug the USB stick into a USB port. I've tried booting from both USB ports.
I set up the BOOT_ORDER through rpi-eeprom-config. Here is my configuration:
$ rpi-eeprom-config
[all]
BOOT_UART=0
WAKE_ON_GPIO=1
POWER_OFF_ON_HALT=0
BOOT_ORDER=0xf25164
I have tried simplifying the boot order just down to 0xf146, 0xf164, 0xf14, 0xf16 etc. No matter what I do, the boot order for the eMMC and the NVMe are honored but the board simply will not boot from USB.
I know that it's possible to boot via USB on this module and this carrier board, since that's how I initially set this up in the first place (using RPi Lite on the USB stick and then using the rpi-imager --cli feature to flash the eMMC/NMVe).
By the way, using USB-C to put the board into MSD mode is unfortunately not an option for me. I need to be able to boot off the USB stick for my application, even if both the eMMC and NMVe are bootable. This is for an in-field deployment (with remote updates/assistance done by asking someone on-site to plug in a provided remote access USB stick).
Does anyone have any tips? I know I'm new here; hopefully this is not a silly question. I have searched for an answer, but maybe my Google Fu is weak.
Statistics: Posted by tako — Fri Oct 11, 2024 6:03 pm — Replies 4 — Views 59