diff --git a/debian/changelog b/debian/changelog index f56e06d..388e26d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +rpi-eeprom (3.1-1) buster; urgency=medium + + [ Tim Gover ] + * Update release notes for rpi-eeprom-config change + * 2019-01-17: Fix SD card voltage detect + DHCP option 0 padding + * rpi-eeprom-config: Fix padding calculation + + -- Serge Schneider Tue, 14 Jan 2020 16:12:38 +0000 + rpi-eeprom (3.0-1) buster; urgency=medium [ Tim Gover ] diff --git a/firmware/beta/pieeprom-2020-01-17.bin b/firmware/beta/pieeprom-2020-01-17.bin new file mode 100644 index 0000000..bad9370 Binary files /dev/null and b/firmware/beta/pieeprom-2020-01-17.bin differ diff --git a/firmware/release-notes.md b/firmware/release-notes.md index 0921615..4c9fe95 100644 --- a/firmware/release-notes.md +++ b/firmware/release-notes.md @@ -1,5 +1,12 @@ # Raspberry Pi4 bootloader EEPROM release notes +## 2020-01-17 - Git 9e30fb4d (BETA) RC4 + * Handle DHCP option 0 - padding + * Fix SD card voltage detection + +## 2020-01-14 - rpi-eeprom-config + * Fix padding calculation + ## 2020-01-09 - Git df0ff18c (BETA) RC3 * Fix parsing of multiple menu entries in PXE options. * Fix regression in IP address parsing diff --git a/rpi-eeprom-config b/rpi-eeprom-config index ae7c385..9e96573 100755 --- a/rpi-eeprom-config +++ b/rpi-eeprom-config @@ -48,8 +48,8 @@ class BootloaderImage(object): if name.decode('utf-8') == 'bootconf.txt': return (offset, length) - offset += 4 + length - offset += 8 - (offset % 8) # Pad + offset += 8 + length # length + type + offset = (offset + 7) & ~7 raise Exception('Bootloader config not found')