mirror of
https://github.com/raspberrypi/rpi-eeprom.git
synced 2026-01-20 21:13:36 +08:00
rpi-eeprom-update: Switch back to recovery.bin on Pi5
The Pi5 EEPROM is larger and can take longer to update which slightly increases the change of failure if the board power is disconnected across an update. Re-enable recovery.bin for SD updates for now.
This commit is contained in:
@@ -335,11 +335,8 @@ checkDependencies() {
|
||||
EEPROM_SIZE=524288
|
||||
BOOTLOADER_AUTO_UPDATE_MIN_VERSION="${BOOTLOADER_AUTO_UPDATE_MIN_VERSION:-1599135103}"
|
||||
elif [ $(((0x$BOARD_INFO >> 12) & 15)) = 4 ]; then
|
||||
# BCM2712 always supports self-update so recovery.bin is only used for RPi imager
|
||||
# bootloader updated SD cards or with RPIBOOT.
|
||||
BCM_CHIP=2712
|
||||
EEPROM_SIZE=2097152
|
||||
RPI_EEPROM_SELF_UPDATE=1
|
||||
BOOTLOADER_AUTO_UPDATE_MIN_VERSION="${BOOTLOADER_AUTO_UPDATE_MIN_VERSION:-1697650217}"
|
||||
else
|
||||
chipNotSupported
|
||||
|
||||
Reference in New Issue
Block a user