804 Commits

Author SHA1 Message Date
Tim Gover
e9290b3bfc Merge pull request #67 from timg236/vl805_match_ver
rpi-eeprom-update: Improve version selection for VL805
2020-01-08 09:53:01 +00:00
Tim Gover
45aa4ed42c Merge pull request #71 from lurch/patch-1
Fix typo
2019-12-17 20:30:04 +00:00
Tim Gover
54f75092b0 Merge pull request #70 from andrum99/patch-1
README.md: Fix typo, add a couple of commas
2019-12-17 20:29:45 +00:00
Andrew Scheller
d92d4e1a94 Fix typo
As spotted in the now-closed #65
2019-12-17 19:50:46 +00:00
Andrew Pattison
626ec32db9 Fix typo, add a couple of commas 2019-12-15 11:37:34 +00:00
Tim Gover
73cf27fba2 Update README.md 2019-12-14 21:20:16 +00:00
Tim Gover
1a0070fe30 rpi-eeprom-update: Improve version selection for VL805
Deprecate the vl805.latest file and compare version numbers. This
ensures that the rpi-eeprom-update will never downgrade the VL805.
2019-12-12 19:06:18 +00:00
Tim Gover
7d9512c741 Merge pull request #66 from timg236/eeprom_config_hook
Eeprom config hook
2019-12-12 14:18:03 +00:00
Tim Gover
0855227532 rpi-eeprom-update: Add hook/flashrom help and fix section formatting
Document the EEPROM_CONFIG_HOOK option and move the existing
USE_FLASHROM env var to the new section.

The other more obscure path options can be documented in other commits
2019-12-11 11:17:35 +00:00
Tim Gover
560f001e99 rpi-eeprom-update: Add support for config txt processing hooks 2019-12-10 12:23:08 +00:00
Tim Gover
16abe98714 Merge pull request #63 from timg236/tim/stable_rc2
Tim/stable rc2
2019-12-04 22:34:33 +00:00
Tim Gover
e7a73e830d Merge pull request #61 from timg236/tim/vcgencmd
vcgencmd: Use cpuinfo instead of otp_dump and add check for vcgencmd …
2019-12-04 12:02:33 +00:00
Tim Gover
ecd592008c install: Fix path to vl805 executable 2019-12-04 11:28:20 +00:00
Tim Gover
8b9eab6867 pieeprom-2019-12-03: Fix DHCP Optio43 menu handling 2019-12-04 11:01:24 +00:00
Tim Gover
390b4b85e1 vcgencmd: Use cpuinfo instead of otp_dump
On a 64-bit beta kernel a hang in vcgencmd otp_dump was observed
blocking rpi-eeprom-update and apt. Since there is another method
for obtaining the board Revision that should never block use that instead.
2019-11-29 15:21:58 +00:00
Tim Gover
a84bd5c522 Merge pull request #59 from andrum99/patch-1
Fix up help text per @lurch's comments in #57
2019-11-26 18:23:32 +00:00
Andrew Pattison
95e86d7e59 Fix cap per @lurch 2019-11-22 22:56:28 +00:00
Andrew Pattison
9e8ea44c99 FIx up per @lurch's comments 2019-11-22 22:39:32 +00:00
Andrew Pattison
6bfe0c05c5 Some further corrections 2019-11-22 21:25:25 +00:00
Andrew Pattison
040f4cf507 Fix up help text per @lurch's comments in #57
Operating mode 3 failed to mention that the output file should be specified using the --out parameter.
2019-11-22 21:07:59 +00:00
Tim Gover
9a447aefc4 Merge pull request #57 from andrum99/patch-1
rpi-eeprom-config - fix up help text (and therefore also man page)
2019-11-22 10:50:34 +00:00
Andrew Pattison
7d77dc224e Revert mistaken change to parser config 2019-11-22 10:30:08 +00:00
Andrew Pattison
fc6405cfab Correct help text per timg236's comments 2019-11-21 21:49:52 +00:00
andrum99
179d7d7558 rpi-eeprom-config - fix up help text (and therefore also man page)
The current help text for rpi-eeprom-config are unclear. This PR changes them so that the help text matches what the tool does and what each parameter specifies. The man page, automatically derived from the help text, is also fixed.
2019-11-21 18:19:53 +00:00
Tim Gover
82b6b1c324 Merge pull request #53 from timg236/pieeprom-2019-11-18
2019-11-18 - Beta update for network boot fixes
2019-11-18 14:44:31 +00:00
Tim Gover
92c7e35a3e 2019-11-18 - Beta update for network boot fixes
Fixes for TFTP_PREFIX handling plus option to force MAC_ADDRESS
Enable HS_TIMING for EMMC cards
2019-11-18 11:43:17 +00:00
Tim Gover
99e88912af Merge pull request #50 from MilhouseVH/single_vl805
use lspci if available instead of vl805. Avoid calling vl805 twice.
2019-11-11 13:21:35 +00:00
MilhouseVH
e204b1f4eb use lspci if available instead of vl805. Avoid calling vl805 twice. 2019-11-09 03:46:23 +00:00
Tim Gover
9202943804 vl805: Make 13701 available in the critical directory
Make it easier for end users to pin the VL805 firmware to the old
version by just editing the .latest file in the critical directory.
2019-11-08 13:51:29 +00:00
Tim Gover
e35f0c7d41 license: Move vl805 to firmware to match license document 2019-11-08 13:50:27 +00:00
timg
3916889699 Merge pull request #46 from cheese1/master
fix typo
2019-10-29 14:27:21 +00:00
josef radinger
6895418ffe fix typo 2019-10-29 15:16:43 +01:00
timg
b360b29ab6 Merge pull request #45 from MilhouseVH/fix_py2_py3
Add Python3 support
2019-10-29 10:37:31 +00:00
Tim Gover
bf4849ce3b Remove deprecated EEPROM from test script
The test script was failing because the deprecated bootloader EEPROM
image was removed. Migrate the test to use a different EEPROM version.
2019-10-29 10:32:21 +00:00
MilhouseVH
dcdb6e9448 Add Python3 support 2019-10-28 18:56:47 +00:00
Tim Gover
5c9a0cf40d rpi-eeprom-update: Check for vcmailbox, vcgencmd, dtparam, dtoverlay
Check for these commands and issue an error indicating how to fix this
on Debian. These are all installed by default on Raspbian but this
script might be re-used in other-systems e.g. custom busybox builds.
2019-10-24 15:08:12 +01:00
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
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
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
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