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:
Tim Gover
2023-10-22 14:28:32 +01:00
parent b066f89a40
commit 5ec5c003ba

View File

@@ -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