Revolution Pi boot from USB
You want to know how to boot your Revolution Pi device from USB? Then you are at the right place!
So on a CM4/CM4S the configuration is better but also different from the previous CM3 modules. The boot order can be set in the firmware. The manual can be found here:
https://github.com/raspberrypi/usbboot/blob/master/recovery/README.md
The "boot.conf" must be edited in between. This is roughly the procedure:
git clone https://github.com/raspberrypi/usbboot.git
cd usbboot
make
cd recovery
vim boot.conf
[...]
BOOT_ORDER=0xf26415
[...]
# Build boot EEPROM with modified boot.conf
./update-pieeprom.sh
# Flash boot EEPROM
../rpiboot -d .
# Connect RevPi with Micro USB cable and switch on power supply
# If a monitor is connected, a green screen appears after successful completionYou have to adapt the “boot/cmdline.txt” file.
In most cases, you would replace "root=/dev/mmcblk0p2" with "root=/dev/sda2". Otherwise, the kernel will start to boot, but the root filesystem will not mount correctly.