From 58c18c59f9382cb1587c481cb7b9b9060b7903e5 Mon Sep 17 00:00:00 2001 From: Joshua Covington Date: Sun, 7 Jun 2026 22:19:36 +0000 Subject: [PATCH] bcm27xx-eeprom: update to Git HEAD (2026-05-27) Update to the latest Git HEAD (2026-05-27) Signed-off-by: Joshua Covington --- utils/bcm27xx-eeprom/Makefile | 10 +++--- ...1-rpi-eeprom-update-OpenWrt-defaults.patch | 10 ++++-- ...m-update-change-default-include-path.patch | 34 ++++++++----------- ...date-chmod-silent-f-is-not-supported.patch | 20 ++++++----- ...g-replace-nano-with-vi-as-default-ed.patch | 8 +++-- 5 files changed, 46 insertions(+), 36 deletions(-) diff --git a/utils/bcm27xx-eeprom/Makefile b/utils/bcm27xx-eeprom/Makefile index 261f187c473f00..4551970ecfff57 100644 --- a/utils/bcm27xx-eeprom/Makefile +++ b/utils/bcm27xx-eeprom/Makefile @@ -5,9 +5,9 @@ PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/raspberrypi/rpi-eeprom -PKG_SOURCE_DATE:=2025-05-08 -PKG_SOURCE_VERSION:=1bb6edeff52c6d30c358f0a7e7a0db47427a7e21 -PKG_MIRROR_HASH:=3c1a9d91eb1d77df97084497c7e1ceac770dbefeac3d6544c3b4514d225e03f4 +PKG_SOURCE_DATE:=2026-05-27 +PKG_SOURCE_VERSION:=05d94be4554ce44a057bfce8d0dd37d951703dab +PKG_MIRROR_HASH:=d9e9f6cf293cf0b7fb8d651b21fe48bd7553a56bba3796af27d8874423a0f47c PKG_MAINTAINER:=Álvaro Fernández Rojas PKG_LICENSE:=BSD-3-Clause Custom @@ -76,7 +76,7 @@ define Package/bcm2711-eeprom/install $(INSTALL_DIR) $(1)/lib/firmware/raspberrypi/bootloader-2711/latest $(CP) $(PKG_BUILD_DIR)/firmware-2711/release-notes.md $(1)/lib/firmware/raspberrypi/bootloader-2711 - $(CP) $(PKG_BUILD_DIR)/firmware-2711/latest/pieeprom-2025-05-08.bin $(1)/lib/firmware/raspberrypi/bootloader-2711/latest + $(CP) $(PKG_BUILD_DIR)/firmware-2711/latest/pieeprom-2026-05-17.bin $(1)/lib/firmware/raspberrypi/bootloader-2711/latest $(CP) $(PKG_BUILD_DIR)/firmware-2711/latest/recovery.bin $(1)/lib/firmware/raspberrypi/bootloader-2711/latest $(CP) $(PKG_BUILD_DIR)/firmware-2711/latest/vl805-000138c0.bin $(1)/lib/firmware/raspberrypi/bootloader-2711/latest endef @@ -86,7 +86,7 @@ define Package/bcm2712-eeprom/install $(INSTALL_DIR) $(1)/lib/firmware/raspberrypi/bootloader-2712/latest $(CP) $(PKG_BUILD_DIR)/firmware-2712/release-notes.md $(1)/lib/firmware/raspberrypi/bootloader-2712 - $(CP) $(PKG_BUILD_DIR)/firmware-2712/latest/pieeprom-2025-05-08.bin $(1)/lib/firmware/raspberrypi/bootloader-2712/latest + $(CP) $(PKG_BUILD_DIR)/firmware-2712/latest/pieeprom-2026-05-26.bin $(1)/lib/firmware/raspberrypi/bootloader-2712/latest $(CP) $(PKG_BUILD_DIR)/firmware-2712/latest/recovery.bin $(1)/lib/firmware/raspberrypi/bootloader-2712/latest endef diff --git a/utils/bcm27xx-eeprom/patches/0001-rpi-eeprom-update-OpenWrt-defaults.patch b/utils/bcm27xx-eeprom/patches/0001-rpi-eeprom-update-OpenWrt-defaults.patch index 6e6bc3e5430fb5..f235cf18301ed1 100644 --- a/utils/bcm27xx-eeprom/patches/0001-rpi-eeprom-update-OpenWrt-defaults.patch +++ b/utils/bcm27xx-eeprom/patches/0001-rpi-eeprom-update-OpenWrt-defaults.patch @@ -8,10 +8,12 @@ Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Fernández Rojas --- - rpi-eeprom-update | 4 ++-- - rpi-eeprom-update-default | 4 ++-- + rpi-eeprom-update | 2 +- + rpi-eeprom-update-default | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) +diff --git a/rpi-eeprom-update b/rpi-eeprom-update +index 3c5d0ee..f83743b 100755 --- a/rpi-eeprom-update +++ b/rpi-eeprom-update @@ -27,7 +27,7 @@ fi @@ -23,6 +25,8 @@ Signed-off-by: Álvaro Fernández Rojas ENABLE_VL805_UPDATES=${ENABLE_VL805_UPDATES:-1} CM4_ENABLE_RPI_EEPROM_UPDATE=${CM4_ENABLE_RPI_EEPROM_UPDATE:-0} RPI_EEPROM_UPDATE_CONFIG_TOOL="${RPI_EEPROM_UPDATE_CONFIG_TOOL:-raspi-config}" +diff --git a/rpi-eeprom-update-default b/rpi-eeprom-update-default +index 862d16b..e0b0fb1 100644 --- a/rpi-eeprom-update-default +++ b/rpi-eeprom-update-default @@ -1,7 +1,7 @@ @@ -36,3 +40,5 @@ Signed-off-by: Álvaro Fernández Rojas EEPROM_CONFIG_HOOK= # BOOTFS can be set here to override auto-detection in rpi-eeprom-update +-- +2.54.0 diff --git a/utils/bcm27xx-eeprom/patches/0002-rpi-eeprom-update-change-default-include-path.patch b/utils/bcm27xx-eeprom/patches/0002-rpi-eeprom-update-change-default-include-path.patch index b48500c0fbb74f..7e191e152e41f3 100644 --- a/utils/bcm27xx-eeprom/patches/0002-rpi-eeprom-update-change-default-include-path.patch +++ b/utils/bcm27xx-eeprom/patches/0002-rpi-eeprom-update-change-default-include-path.patch @@ -8,9 +8,11 @@ Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Fernández Rojas --- - rpi-eeprom-update | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) + rpi-eeprom-update | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) +diff --git a/rpi-eeprom-update b/rpi-eeprom-update +index f83743b..7f9da52 100755 --- a/rpi-eeprom-update +++ b/rpi-eeprom-update @@ -6,8 +6,8 @@ set -e @@ -24,25 +26,16 @@ Signed-off-by: Álvaro Fernández Rojas fi LOCAL_MODE=0 -@@ -466,7 +466,7 @@ checkDependencies() { +@@ -567,7 +567,7 @@ checkDependencies() { echo "Run with -h for more information." echo - echo "To enable flashrom programming of the EEPROM" -- echo "Add these the following entries to /etc/default/rpi-eeprom-update" -+ echo "Add these the following entries to /etc/bcm27xx-eeprom.conf" - echo "RPI_EEPROM_USE_FLASHROM=1" + echo "To enable immediate update programming of the EEPROM" +- echo "Add the following entries to /etc/default/rpi-eeprom-update" ++ echo "Add the following entries to /etc/bcm27xx-eeprom.conf" + echo "RPI_EEPROM_IMMEDIATE_UPDATE=1" echo "CM4_ENABLE_RPI_EEPROM_UPDATE=1" - echo -@@ -553,7 +553,7 @@ The system should then boot normally. - - If /boot does not correspond to the boot partition and this - is not a NOOBS system, then the mount point for BOOTFS should be defined --in /etc/default/rpi-eeprom-update by defining the BOOTFS variable. -+in /etc/bcm27xx-eeprom.conf by defining the BOOTFS variable. - - A backup of the current EEPROM config file is written to ${FIRMWARE_BACKUP_DIR} - before applying the update. -@@ -585,7 +585,7 @@ Options: + echo +@@ -691,7 +691,7 @@ Options: -u Install the specified VL805 (USB EEPROM) image file. Environment: @@ -51,7 +44,7 @@ Signed-off-by: Álvaro Fernández Rojas EEPROM_CONFIG_HOOK -@@ -657,7 +657,7 @@ must first be enabled by removing ENABLE +@@ -763,7 +763,7 @@ must first be enabled by removing ENABLE_SELF_UPDATE=0 from the EEPROM config via usbboot. After enabling self-update set the CM4_ENABLE_RPI_EEPROM_UPDATE=1 environment @@ -60,3 +53,6 @@ Signed-off-by: Álvaro Fernández Rojas N.B. If there is a power failure during SELF_UPDATE the EEPROM write may fail and usbboot must be used to flash the bootloader EEPROM. SELF_UPDATE is not recommended +-- +2.54.0 + diff --git a/utils/bcm27xx-eeprom/patches/0003-rpi-eeprom-update-chmod-silent-f-is-not-supported.patch b/utils/bcm27xx-eeprom/patches/0003-rpi-eeprom-update-chmod-silent-f-is-not-supported.patch index 845130661e8164..8e5daaaee4f81e 100644 --- a/utils/bcm27xx-eeprom/patches/0003-rpi-eeprom-update-chmod-silent-f-is-not-supported.patch +++ b/utils/bcm27xx-eeprom/patches/0003-rpi-eeprom-update-chmod-silent-f-is-not-supported.patch @@ -11,18 +11,20 @@ Signed-off-by: Álvaro Fernández Rojas rpi-eeprom-update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) +diff --git a/rpi-eeprom-update b/rpi-eeprom-update +index 7f9da52..1a7d595 100755 --- a/rpi-eeprom-update +++ b/rpi-eeprom-update -@@ -248,7 +248,7 @@ applyRecoveryUpdate() - || die "Failed to copy ${TMP_EEPROM_IMAGE} to ${BOOTFS}" +@@ -307,7 +307,7 @@ applyRecoveryUpdate() + || die "Failed to copy ${TMP_EEPROM_IMAGE} to ${BOOTFS}" - # For NFS mounts ensure that the files are readable to the TFTP user -- chmod -f go+r "${BOOTFS}/pieeprom.upd" "${BOOTFS}/pieeprom.sig" \ -+ chmod go+r "${BOOTFS}/pieeprom.upd" "${BOOTFS}/pieeprom.sig" \ - || die "Failed to set permissions on eeprom update files" + # For NFS mounts ensure that the files are readable to the TFTP user +- chmod -f go+r "${BOOTFS}/pieeprom.upd" "${BOOTFS}/pieeprom.sig" \ ++ chmod go+r "${BOOTFS}/pieeprom.upd" "${BOOTFS}/pieeprom.sig" \ + || die "Failed to set permissions on eeprom update files" + fi fi - -@@ -259,7 +259,7 @@ applyRecoveryUpdate() +@@ -319,7 +319,7 @@ applyRecoveryUpdate() || die "Failed to copy ${VL805_UPDATE_IMAGE} to ${BOOTFS}/vl805.bin" # For NFS mounts ensure that the files are readable to the TFTP user @@ -31,3 +33,5 @@ Signed-off-by: Álvaro Fernández Rojas || die "Failed to set permissions on eeprom update files" fi +-- +2.54.0 diff --git a/utils/bcm27xx-eeprom/patches/0004-rpi-eeprom-config-replace-nano-with-vi-as-default-ed.patch b/utils/bcm27xx-eeprom/patches/0004-rpi-eeprom-config-replace-nano-with-vi-as-default-ed.patch index afe93ff8517a16..673a371f8e7018 100644 --- a/utils/bcm27xx-eeprom/patches/0004-rpi-eeprom-config-replace-nano-with-vi-as-default-ed.patch +++ b/utils/bcm27xx-eeprom/patches/0004-rpi-eeprom-config-replace-nano-with-vi-as-default-ed.patch @@ -11,9 +11,11 @@ Signed-off-by: Álvaro Fernández Rojas rpi-eeprom-config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) +diff --git a/rpi-eeprom-config b/rpi-eeprom-config +index 83b4c07..df6ec04 100755 --- a/rpi-eeprom-config +++ b/rpi-eeprom-config -@@ -184,8 +184,8 @@ def edit_config(eeprom=None): +@@ -191,8 +191,8 @@ def edit_config(eeprom=None): """ Implements something like 'git commit' for editing EEPROM configs. """ @@ -24,7 +26,7 @@ Signed-off-by: Álvaro Fernández Rojas if 'EDITOR' in os.environ: editor = os.environ['EDITOR'] -@@ -515,7 +515,7 @@ Operating modes: +@@ -545,7 +545,7 @@ Operating modes: To cancel the pending update run 'sudo rpi-eeprom-update -r' @@ -33,3 +35,5 @@ Signed-off-by: Álvaro Fernández Rojas environment variable and passing '-E' to 'sudo' to preserve the environment. 6. Signing the bootloader config file. +-- +2.54.0