Merge branch 'master' into debian/buster

This commit is contained in:
Serge Schneider
2020-06-04 00:40:44 +01:00
6 changed files with 58 additions and 13 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,5 +1,21 @@
# Raspberry Pi4 bootloader EEPROM release notes # Raspberry Pi4 bootloader EEPROM release notes
## 2020-06-03 Bootmode tweaks and fix issue with > 4TB drives - BETA
* Resolve: Unable to boot from USB MSD - Seagate 5Tb HDD backup drive #139
* Increase USB MSD timeout from 10 to 20 seconds.
* Max retries now default to zero because the default BOOT_ORDER includes
restart (0xf). Therefore, each boot-mode is now tried once before moving
to the next mode. The retries mechanism is largely redudant now that
the loop/restart mode exists.
* If TFTP fails and network boot retries > 0 then wait 5 seconds before
retrying to avoid overloading a misconfigured TFTP server.
* Map undefined boot-modes in BOOT_ORDER to SD (0x1) instead of stopping.
* Add missing pieeprom-2020-05-28
## 2020-05-28 Secondary fix for VL805 readback issue - BETA
* Re-upload 2020-05-28 after Git issue
* rpi-eeprom-update for new board revisions
## 2020-05-27 Fix DPI issue - BETA ## 2020-05-27 Fix DPI issue - BETA
* Resolve: DPI failure after HDMI diagnostics screen in beta bootloader #133 * Resolve: DPI failure after HDMI diagnostics screen in beta bootloader #133
* Resolve: VL805 readback failure in the bootloader #134 * Resolve: VL805 readback failure in the bootloader #134

21
releases.md Normal file
View File

@@ -0,0 +1,21 @@
# rpi-eeprom releases
This page provides links to the production and development release images for the Raspberry Pi 4 bootloader EEPROM. Normally, the
bootloader is automatically updated after an APT update via the [rpi-eeprom-update](https://www.raspberrypi.org/documentation/hardware/raspberrypi/booteeprom.md)
utility. However, it's sometimes more convenient to use a recovery image to program the EEPROM with default settings for a given release than
updating via Linux.
## Recovery Image
The latest production recovery image is [2020-04-16](https://github.com/raspberrypi/rpi-eeprom/releases/tag/v2020.04.16-137ad). This
is the version selected by the [Raspberry Pi Imager](https://www.raspberrypi.org/downloads/)
## USB MSD BETA
The latest USB mass storage boot **BETA** recovery image is [2020-05-28](https://github.com/raspberrypi/rpi-eeprom/releases/tag/v2020.05.28-137ad)
## Previous releases
All [previous releases](https://github.com/raspberrypi/rpi-eeprom/releases) are available here.
## Old EEPROM images
Recovery images are only created for production images or for major test releases e.g. USB MSD boot. Old bootloader images are periodically
removed from the APT package to reduce the disk space. The binaries can still be downloaded from Github [here](https://github.com/raspberrypi/rpi-eeprom/tree/master/firmware/old)
but are not supported and may fail to boot on newer revisions of the hardware.
e.g. The Pi 4 8GB requries bootloader version 2020-04-16 or newer.

View File

@@ -351,15 +351,19 @@ in /etc/default/rpi-eeprom-update by defining the BOOTFS variable.
A backup of the current EEPROM config file is written to ${FIRMWARE_BACKUP_DIR} A backup of the current EEPROM config file is written to ${FIRMWARE_BACKUP_DIR}
before applying the update. before applying the update.
Unless the -d flag is specified, the current bootloader configuration is
retained.
Options: Options:
-a Automatically install bootloader and USB (VLI) EEPROM updates. -a Automatically install bootloader and USB (VLI) EEPROM updates.
-A Specify which type of EEPROM to automatically update (vl805 or bootloader) -A Specify which type of EEPROM to automatically update (vl805 or bootloader)
-d Use the default bootloader config instead of migrating the current settings -d Use the default bootloader config, or if a file is specified using the -f
flag use the config in that file. This option only applies when a
bootloader EEPROM update is needed; if the bootloader EEPROM is up-to-date
then its config will not be changed.
-f Install the given file instead of the latest applicable update -f Install the given file instead of the latest applicable update
Ignores the FREEZE_VERSION flag in bootloader and is intended for manual Ignores the FREEZE_VERSION flag in bootloader and is intended for manual
firmware updates. firmware updates.
WARNING: This command should only be run from console mode in order to
avoid conflicts/deadlock with dtoverlay/dtparam settings.
-h Display help text and exit -h Display help text and exit
-i Ignore package checksums - for rpi-eeprom developers. -i Ignore package checksums - for rpi-eeprom developers.
-j Write status information using JSON notation -j Write status information using JSON notation
@@ -404,8 +408,8 @@ Release status:
critical: The latest production release plus important security or hardware compatibility bug fixes. critical: The latest production release plus important security or hardware compatibility bug fixes.
stable: Contains new features have already undergone some beta testing. stable: Contains new features that have already undergone some beta testing.
These are candidats for new production releases. These are candidates for new production releases.
beta: New features, bug fixes for development/test purposes. Use at your own beta: New features, bug fixes for development/test purposes. Use at your own
risk! risk!
@@ -632,21 +636,25 @@ write_status_info()
vl805_new="${VL805_UPDATE_VERSION}" vl805_new="${VL805_UPDATE_VERSION}"
if [ "${JSON_OUTPUT}" = "no" ]; then if [ "${JSON_OUTPUT}" = "no" ]; then
[ "${HAVE_VL805_EEPROM}" = "0" ] && vl805_eeprom="no" || vl805_eeprom="yes"
cat > "${MACHINE_OUTPUT}" <<EOF cat > "${MACHINE_OUTPUT}" <<EOF
EXITCODE="${exit_code}" EXITCODE="${exit_code}"
BOOTLOADER_CURRENT=${bootloader_cur} BOOTLOADER_CURRENT=${bootloader_cur}
BOOTLOADER_LATEST=${bootloader_new} BOOTLOADER_LATEST=${bootloader_new}
VL805_CURRENT="${vl805_cur}" VL805_CURRENT="${vl805_cur}"
VL805_LATEST="${vl805_new}" VL805_LATEST="${vl805_new}"
VL805_EEPROM="${vl805_eeprom}"
EOF EOF
else else
[ "${HAVE_VL805_EEPROM}" = "0" ] && vl805_eeprom="false" || vl805_eeprom="true"
cat > "${MACHINE_OUTPUT}" <<EOF cat > "${MACHINE_OUTPUT}" <<EOF
{ {
"EXITCODE": "${exit_code}", "EXITCODE": "${exit_code}",
"BOOTLOADER_CURRENT": ${bootloader_cur}, "BOOTLOADER_CURRENT": ${bootloader_cur},
"BOOTLOADER_LATEST": ${bootloader_new}, "BOOTLOADER_LATEST": ${bootloader_new},
"VL805_CURRENT": "${vl805_cur}", "VL805_CURRENT": "${vl805_cur}",
"VL805_LATEST": "${vl805_new}" "VL805_LATEST": "${vl805_new}",
"VL805_EEPROM": ${vl805_eeprom}
} }
EOF EOF
fi fi