forked from raspberrypi/usbboot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
recovery5: Preliminary support for EEPROM updates on Pi5
Create a recovery5 rpiboot mode to support EEPROM updates on Pi5 / BCM2712. Secure boot is not supported yet.
- Loading branch information
Showing
10 changed files
with
135 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
To update the SPI EEPROM bootloader on Raspberry Pi 5. | ||
|
||
* Modify the EEPROM configuration as desired | ||
* Optionally, replace pieeprom.original.bin with a custom version. The default | ||
version here is the latest stable release recommended for use on Raspberry Pi 5. | ||
|
||
N.B The `bootcode5.bin` file in this directory is actually the `recovery.bin` | ||
file used on Raspberry Pi 5 bootloader update cards. | ||
|
||
```bash | ||
cd recovery | ||
./update-pieeprom.sh | ||
../rpiboot -d . | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[all] | ||
BOOT_UART=1 | ||
POWER_OFF_ON_HALT=0 | ||
BOOT_ORDER=0xf461 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
recovery.bin |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
675374a8f6709cc1c2440cfe3a3365b82713614f85b60bd73c60a8a34093354c | ||
ts: 1702893546 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
|
||
# Utility to update the EEPROM image (pieeprom.bin) and signature | ||
# (pieeprom.sig) with a new EEPROM config. | ||
# | ||
# This script is now a thin wrapper for the new version in ../tools | ||
# | ||
# pieeprom.original.bin - The source EEPROM from rpi-eeprom repo | ||
# boot.conf - The bootloader config file to apply. | ||
|
||
set -e | ||
|
||
../tools/update-pieeprom.sh "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters