diff --git a/imager/README.txt b/imager/README-2711.txt similarity index 97% rename from imager/README.txt rename to imager/README-2711.txt index ab59dc94..3e1b657e 100644 --- a/imager/README.txt +++ b/imager/README-2711.txt @@ -1,4 +1,4 @@ -Raspberry Pi 4 EEPROM bootloader rescue image +Raspberry Pi 4 EEPROM bootloader recovery image ********************************************* The Raspberry Pi 4 contains a small EEPROM used to store the bootloader. diff --git a/imager/README-2712.txt b/imager/README-2712.txt new file mode 100644 index 00000000..85d473b6 --- /dev/null +++ b/imager/README-2712.txt @@ -0,0 +1,33 @@ +Raspberry Pi 5 EEPROM bootloader recovery image +*********************************************** + +The Raspberry Pi 5 contains a small EEPROM used to store the bootloader. + +This rescue image reverts the bootloader EEPROM to factory default settings. + +The easiest method for creating EEPROM rescue images, and formatting SD +cards, is to use Raspberry Pi Imager from https://raspberrypi.com/software. +Raspberry Pi Imager provides a GUI for downloading the latest version of +this rescue image and flashing it to a spare SD card. + +Alternatively, copy the contents of this zip file to a blank +FAT formatted SD card. The FAT partition must be < 32 GB. + +To update the EEPROM: + +1. Power off the Raspberry Pi +2. Insert the bootloader update SD card +3. Power on the Raspberry Pi +4. Wait at least 10 seconds + +If successful, the green LED on the Raspberry Pi will blink rapidly forever. +An unsuccessful update of the EEPROM is indicated by a different blinking +pattern corresponding to the specific error. + +If an HDMI display is attached, then the screen will display green for +success or red if a failure occurs. + +Once the EEPROM is updated, the SD card can be removed. In order to make +the entire capacity of the SD card available again, you must then reformat +the SD card using Raspberry Pi Imager by selecting the 'format card as +FAT32' option. diff --git a/imager/make-imager-release b/imager/make-imager-release index 5717b03a..a8c89b3b 100755 --- a/imager/make-imager-release +++ b/imager/make-imager-release @@ -8,4 +8,4 @@ script_dir=$(cd "$(dirname "$0")" && pwd) ${script_dir}/make-release critical 2023-01-11 000138c0 "${script_dir}/2711-config" release-2711 rpi-boot-eeprom-recovery 2711 # Pi5 -${script_dir}/make-release critical 2023-09-21 "" "${script_dir}/2712-config" release-2712 rpi-boot-eeprom-recovery 2712 +${script_dir}/make-release critical 2023-10-18 "" "${script_dir}/2712-config" release-2712 rpi-boot-eeprom-recovery 2712 diff --git a/imager/make-recovery-images b/imager/make-recovery-images index a53c27f3..70060868 100755 --- a/imager/make-recovery-images +++ b/imager/make-recovery-images @@ -19,18 +19,21 @@ trap cleanup EXIT [ -n "${SUDO_UID}" ] || die "SUDO_UID not defined" [ -n "${SUDO_GID}" ] || die "SUDO_GID not defined" -for src in release/*.zip; do - src=$(basename "${src}") - img=$(echo "${src}" | sed 's/\.zip/.img/') - TMP_DIR=$(mktemp -d) - ( - cp "release/${src}" "${TMP_DIR}" - mkdir "${TMP_DIR}/files" - cd "${TMP_DIR}/files" - unzip "../${src}" - cd "${TMP_DIR}" - dd if=/dev/zero bs=1M count=258 of=temp.img - /sbin/sfdisk temp.img <