openhab / openhabian

openHABian - empowering the smart home, for Raspberry Pi and Debian systems
https://community.openhab.org/t/13379
ISC License
821 stars 252 forks source link

Boot failover on RPi4B ? #1565

Closed mstormi closed 1 year ago

mstormi commented 3 years ago

Came to think if we could make use of https://www.raspberrypi.org/documentation/computers/raspberry-pi.html#boot-diagnostics to still be able to boot if the primary (SD) fails. https://www.raspberrypi.org/documentation/computers/raspberry-pi.html#raspberry-pi-4-bootloader-configuration

BOOT_ORDER is 0xf41 by default so any RPi with a broken or removed SD should try to boot from USB.

However, this does not work on a 4B like my test box: https://www.raspberrypi.org/documentation/computers/raspberry-pi.html#raspberry-pi-boot-modes

mstormi commented 1 year ago

unconfirmed hw/fw issue that need not be solved in openhabian