Commit Graph

1239 Commits

Author SHA1 Message Date
timg
4c287da760 Merge pull request #42 from timg236/printVersions
Tweak update status for BOOTLOADER, VL805
2019-10-24 14:08:56 +01:00
Tim Gover
95ba7b50eb Tweak update status for BOOTLOADER, VL805
Make up-to-date message specific to bootloader or vl805 and indicate if
the tool was not run as root.
2019-10-24 12:57:01 +01:00
timg
549589f692 Merge pull request #40 from XECDesign/debian/buster
Debian/buster
2019-10-23 16:25:07 +01:00
Serge Schneider
ef35796474 2.0-1 release 2019-10-23 15:09:32 +01:00
Serge Schneider
f7c2b2fb50 Merge branch 'master' into debian/buster 2019-10-23 15:09:14 +01:00
timg
fcb39c3735 Merge pull request #39 from timg236/dpkg_checksums
rpi-eeprom-update: Verify DPKG checksums if available
2019-10-23 15:06:39 +01:00
Tim Gover
e559d075ff rpi-eeprom-update: Verify DPKG checksums if available
If the rpi-eeprom-images checksums file is available then validate
the checksums before applying the update.

Add a -i option to ignore checksums, this should only be required for
developers or people who have cloned the rpi-eeprom Github and installed
new files which are not available in the apt package.
2019-10-23 13:49:12 +01:00
timg
4c98826629 Merge pull request #38 from timg236/critical_vli
critical update: Update VLI to 000137ab revision
2019-10-23 13:22:14 +01:00
Tim Gover
d94585e89a critical update: Update VLI to 000137ab revision
recovery.bin is also updated from the beta revision in order to apply
the VL805 EEPROM image.
2019-10-23 13:14:23 +01:00
timg
08da16716a Merge pull request #37 from timg236/removePreviousUpdate
rpi-eeprom-update: Don't remove update files if run with no arguments
2019-10-23 12:21:29 +01:00
Tim Gover
e024ab5373 rpi-eeprom-update: Don't remove update files if run with no arguments
Running 'sudo rpi-eeprom-update' will remove update files from the
boot partition. Since the user may run this command to check if
an update is required it will have the surprising side effect of
removing the pending update applied by the systemd service which
runs 'rpi-eeprom-update -a' at startup.

Move the cleanup code so that it only runs if a manual or automatic
update was requested.

Add an explicit option (-r) to just remove the previous update files.
2019-10-23 11:59:07 +01:00
timg
63c6c210c0 Merge pull request #36 from MilhouseVH/fix_exit_code
Restore machine output exit code as string
2019-10-23 11:39:17 +01:00
timg
9aea989324 Merge pull request #35 from XECDesign/debian/buster
1.4-1 release
2019-10-23 11:38:04 +01:00
MilhouseVH
b8b7082abf handle undefined machine output consistently 2019-10-22 20:56:28 +01:00
MilhouseVH
269f5605f1 revert machine output exit code to string 2019-10-22 20:55:27 +01:00
Serge Schneider
f5fa493b8c 1.4-1 release 2019-10-22 14:07:17 +01:00
Serge Schneider
4c5cf761a6 Merge branch 'master' into debian/buster 2019-10-22 14:02:27 +01:00
timg
608098e912 Merge pull request #34 from timg236/vli_update
Vli update
2019-10-22 12:29:29 +01:00
Tim Gover
431e70e891 Standarize on UPDATE_VERSION - use command -v
bootloader versions and exit codes are integers so default to
zero in the JSON output

Fix missing $ prefix in arguments to write_status_info causing
EXIT_SUCCESS to be passes as a string instead of the value of
${EXIT_SUCCESS}

Fix missing commas in JSON output
2019-10-22 12:28:03 +01:00
Tim Gover
ac70cb24fa Add rpi-eeprom-update -A option
* Option to restrict automatic updates to bootloader and/or vl805
* Change the machine mode output variables
* recovery.bin: Rebuild from Gitlab
* Rename CURRENT_TS and LATEST_TS in machine output
2019-10-22 12:28:03 +01:00
Tim Gover
d354bbe700 Add support for updating the USB (VL805) EEPROM
* New beta recovery.bin which can update the VLI EEPROM before
  start.elf is loaded. This is the recommended and default method
  because no USB devices will be in use at this stage.
* Extend the USE_FLASHROM configuration to use the vl805 tool
  to program the VL805 directly.
* Generate SHA256 checksums in .sig files for the bootloader and
  and VL805 images. This is required by the new recovery.bin to
  guard against corrupted files being flashed to the EEPROM(s).
* Various variable renames to distinguish between the bootloader
  and the VL805 images.
2019-10-22 12:27:58 +01:00
Tim Gover
3357c297b9 2019-10-16 - Fix parsing of PXE boot menu option 2019-10-17 10:41:12 +01:00
timg
bb7bc14290 Merge pull request #32 from timg236/remove_pieeprom-2019-05-10
Remove pieeprom-2019-05-10.bin release
2019-10-11 15:54:27 +01:00
Tim Gover
841f3c04b2 Remove pieeprom-2019-05-10.bin release
This bootloader firmware is deprecated and should no longer be
included in the rpi-eeprom package. It's still available in the
Git history if anyone *really* wants this.
2019-10-11 15:50:48 +01:00
timg
741bf84e32 Merge pull request #31 from timg236/recovery_beta
Recovery beta
2019-10-10 11:08:21 +01:00
Tim Gover
d8f713c20d recovery: Make recovery.bin specific to the release status
Select the recovery.bin to use according to FIRMWARE_RELEASE_STATUS
in order to allow a beta test version of recovery.bin to be provided
without risking breaking the stable version of recovery.bin
2019-10-10 10:52:38 +01:00
Tim Gover
802db3f96b test: Add utility script to install updates from this git repo 2019-10-10 10:52:32 +01:00
timg
3a46970051 Merge pull request #30 from timg236/pieeprom-2019-10-08
2019-10-08 - TFTP prefix strings, block size, various netboot fixes
2019-10-10 09:45:50 +01:00
Tim Gover
2ab61cc370 2019-10-08 - TFTP prefix strings, block size, various netboot fixes 2019-10-08 16:45:14 +01:00
timg
3c9c58c6b4 Merge pull request #29 from timg236/rpi_eeprom_config_2K
Rpi eeprom config 2 k
2019-10-08 16:05:45 +01:00
Tim Gover
57150a4104 test-rpi-eeprom-config: Add test cases for large config files 2019-10-08 15:15:21 +01:00
Tim Gover
937f722198 rpi-eeprom-config: Increase the configuration size limit to 2024
Update the rpi-eeprom-config tool to accept config files of up to
2024 byte. The config section has a 24byte header so the section is
always <= 2KiB.
This allows a reasonably large user-data section in the config file
accessible via 'vcgencmd bootloader_config' as an alternative to
customer OTP data.

N.B. The vcgencmd uses a single VCHIQ message which is limited to
4092 bytes. Setting a 2KiB limit here gives room for user-data plus
some spare space for future config expansion before an VCHIQ bulk
message or an extra EEPROM 4KiB page is required.
2019-10-07 08:49:24 +01:00
Tim Gover
f8a8cf11bf rpi-eeprom-update: Remove comments about safe mode
The concept of a safe mode recovery.bin bootloader was dropped in favour
of a recovery.bin which renames itself after updating the EEPROM. Remove
the old comments.
2019-10-07 08:49:24 +01:00
timg
46473bd4a7 Merge pull request #23 from XECDesign/debian/buster
Debian/buster
2019-09-25 13:45:08 +01:00
Serge Schneider
6a085f7bcc 1.3-1 release 2019-09-25 13:17:43 +01:00
Serge Schneider
8c3981e7cd Merge branch 'master' into debian/buster 2019-09-25 13:17:29 +01:00
timg
b959175b44 Update release-notes.md 2019-09-25 13:13:48 +01:00
timg
e3f5a9b6c5 Merge pull request #22 from timg236/pieeprom-2019-09-25
2019-09-25 - Beta test update for network boot
2019-09-25 13:12:09 +01:00
Tim Gover
777706fe2e 2019-09-25 - Beta test update for network boot 2019-09-25 11:55:22 +01:00
timg
d2ce054968 Merge pull request #21 from XECDesign/debian/buster
Debian/buster
2019-09-24 17:40:19 +01:00
Serge Schneider
52f02d17de 1.2-1 release 2019-09-24 15:39:53 +01:00
Serge Schneider
20e068b8a7 Merge branch 'master' into debian/buster 2019-09-24 15:39:07 +01:00
timg
18de77bfa7 Merge pull request #20 from timg236/config_reduce_size
Set unused data to zero if size of config is reduced
2019-09-24 14:45:40 +01:00
Tim Gover
1ba58068ea Set unused data to zero if size of config is reduced
If the size of bootconf.txt is reduced then set the unused data
to all ones instead of leaving garbage at the end. The EEPROM
header contains the actual file but this makes it easier to
verify the image and makes overreads more obvious.
2019-09-24 13:39:42 +01:00
timg
5b35f0d214 Merge pull request #18 from XECDesign/debian/buster
Debian/buster
2019-09-23 16:50:46 +01:00
timg
33974463a1 Update raspberry_pi4_network_boot_beta.md 2019-09-23 16:50:31 +01:00
timg
a6e6f88848 Update raspberry_pi4_network_boot_beta.md 2019-09-23 15:27:02 +01:00
timg
2bba067706 Merge pull request #19 from timg236/pieeprom-2019-09-23.bin
2019-09-23 - Beta test for network boot
2019-09-23 12:33:52 +01:00
Serge Schneider
c5da8807c1 1.1-1 2019-09-23 12:10:58 +01:00
Serge Schneider
66b7149d86 Merge branch 'master' into debian/buster 2019-09-23 12:07:08 +01:00