Skip to content

Commit bad328a

Browse files
committed
pieeprom-2025-02-11: 2711: Walk partitions to delete recovery.bin (latest)
* recovery: Walk partitions to delete recovery.bin Previously, recovery.bin would fail to delete itself if the bootrom loaded recovery.bin where there are multiple FAT partitions and the first partition does not contain recovery.bin Update the rename code to walk the partition table to find the recovery.bin file to delete. * Enable overriding of high partition numbers Previously, the PARTITION=N bootloader config setting would only be used at power on reset or if the partition number passed to reboot was zero. Change the behaviour so that the bootloader config PARTITION property can override the reboot partition number if the reboot parameter is > 31. * Walk the partition table if the requested partition is not bootable Previously, if the specified boot partition was not bootable the bootloader would stop and advance to the next BOOT_ORDER. If the new PARTITION_WALK option is set to 1 the bootloader will now check each partition in turn starting from the specified partition before advancing the BOOT_ORDER. This feature is intended for use with A/B systems to handle the case where autoboot.txt is missing / corrupted. This change enables the system to failover to the next available bootable partition. The autoboot.txt file is not scanned during the partition-walk phase i.e. there is no recursive processing of autoboot.txt files. This option is only supported on physical block devices (SD, NVMe, USB) and not RAMDISK. USB assumes a single high speed device, partition walks on multiple USB devices is not recommended and may cause timeouts. * Improve keyboard handling in boot menu Try and make it more likely that we have enough time to perform key detection. Ignore mice, which were being enumerated and slowing things down.
1 parent 34eab17 commit bad328a

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed
512 KB
Binary file not shown.

firmware-2711/latest/recovery.bin

148 Bytes
Binary file not shown.

firmware-2711/release-notes.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# Raspberry Pi4 bootloader EEPROM release notes
22

3+
## 2025-02-11: recovery: Walk partitions to delete recovery.bin (latest)
4+
5+
* recovery: Walk partitions to delete recovery.bin
6+
Previously, recovery.bin would fail to delete itself
7+
if the bootrom loaded recovery.bin where there are multiple FAT
8+
partitions and the first partition does not contain recovery.bin
9+
Update the rename code to walk the partition table to find
10+
the recovery.bin file to delete.
11+
* Enable overriding of high partition numbers
12+
Previously, the PARTITION=N bootloader config setting would only
13+
be used at power on reset or if the partition number passed to
14+
reboot was zero.
15+
Change the behaviour so that the bootloader config PARTITION
16+
property can override the reboot partition number if the reboot
17+
parameter is > 31.
18+
* Walk the partition table if the requested partition is not bootable
19+
Previously, if the specified boot partition was not bootable the
20+
bootloader would stop and advance to the next BOOT_ORDER. If the
21+
new PARTITION_WALK option is set to 1 the bootloader will now
22+
check each partition in turn starting from the specified partition
23+
before advancing the BOOT_ORDER.
24+
This feature is intended for use with A/B systems to handle the case
25+
where autoboot.txt is missing / corrupted. This change enables
26+
the system to failover to the next available bootable partition.
27+
The autoboot.txt file is not scanned during the partition-walk
28+
phase i.e. there is no recursive processing of autoboot.txt files.
29+
This option is only supported on physical block devices
30+
(SD, NVMe, USB) and not RAMDISK. USB assumes a single high speed
31+
device, partition walks on multiple USB devices is not recommended
32+
and may cause timeouts.
33+
* Improve keyboard handling in boot menu
34+
Try and make it more likely that we have enough time to perform key
35+
detection.
36+
Ignore mice, which were being enumerated and slowing things down.
37+
338
## 2024-12-07: Enable banklow (and so NUMA) by default (latest)
439

540
* Enable banklow (and so NUMA) by default

0 commit comments

Comments
 (0)