Commit Graph

867 Commits

Author SHA1 Message Date
Tim Gover
9e929e4389 Merge pull request #234 from XECDesign/debian/buster
Debian/buster
2020-10-06 10:53:30 +01:00
Serge Schneider
1c6e9ab50a 10.1-1 release 2020-10-06 10:45:11 +01:00
Serge Schneider
2a7312a916 Merge branch 'master' into debian/buster 2020-10-06 10:45:06 +01:00
Tim Gover
718820bceb rpi-eeprom-config: Use decode('utf-8') to convert subprocess txt
This matters on Python3 but not on Python2
2020-10-05 19:35:12 +01:00
Tim Gover
4f6587ce48 Merge pull request #232 from XECDesign/debian/buster
Debian/buster
2020-10-05 18:38:09 +01:00
Serge Schneider
63abda5f02 10.0-1 release 2020-10-05 12:57:14 +01:00
Serge Schneider
603c49604f Merge branch 'master' into debian/buster 2020-10-05 12:53:55 +01:00
Tim Gover
84e4615814 rpi-eeprom-config: Update help for --edit
Add -E to sudo in the example to preserve the environment.

Remove the redundant escaping of single quotes now that the help is
enclosed in triple quotes.
2020-10-04 09:55:16 +01:00
Tim Gover
b0066b091e Merge pull request #229 from timg236/rpi_eeprom_config_apply
Update rpi-eeprom-config to provide wrap simple interactive and non-interactive update opertions
2020-10-02 09:21:46 +01:00
Tim Gover
d34f62ee3d rpi-eeprom-update: Move .bin filter for checksums into subshell
Move all package checksum related operations to the subshell and check
the old rpi-eeprom-images packages if rpi-eeprom contains no .bin
files.
The rpi-eeprom-config --edit and --apply option passes the -i flag so
checksums should have been skipped anyway.
2020-10-01 20:07:53 +01:00
Tim Gover
e63f3dcfc3 Require 'sudo' for --edit or --apply instead of spawing sudo command 2020-09-30 11:44:10 +01:00
Tim Gover
6ab4179bae rpi-eeprom-config: Trap errors when deleting previous update files 2020-09-29 10:35:34 +01:00
Tim Gover
5ab94e88f2 rpi-eeprom-config: Update --edit to read config from pending updates
Use the config from the pending update if there is one so that it's
possible to make multiple edits before rebooting.
2020-09-28 10:41:20 +01:00
Tim Gover
b6c6b03add rpi-eeprom-update: Add -b flag to output BOOTFS path
Add an API for external scripts to safely determine which the directory
the EEPROM image update files will be written to.
2020-09-28 10:41:20 +01:00
Tim Gover
ca647a6b90 Fix doc comments and ignore package checksums 2020-09-28 10:41:20 +01:00
Tim Gover
ccd8444501 Implement review comments
Update --apply --edit to allow the eeprom image to be specified.
Add some error checking around chmod in rpi-eeprom-update

TODO: Test this on NFS
2020-09-28 10:41:20 +01:00
Tim Gover
55ece6bab5 rpi-eeprom-config: Add --edit for interactive editor style operation 2020-09-28 10:41:20 +01:00
Tim Gover
1fe54409b8 rpi-eeprom-config: Add new option to apply config and update in one operation
* Add -a/--apply parameter which provides a one shot image for applying
  a new configuration to the latest bootloader image and installs it
  via rpi-eeprom-update.
* Print the live configuration if no arguments are specified.
* Add short flags instead of requiring verbose names.
* Make the errors more human readable instead of Exceptions
2020-09-28 10:41:20 +01:00
Tim Gover
a554034c1d rpi-eeprom-update: Add -l option to resolve the latest bootloader image
Add the -l option to return the latest bootloader EEPROM image. This
will be used by rpi-eeprom-config to provide a more convenient mechanism
for quick config changes.
2020-09-28 10:41:20 +01:00
Tim Gover
29fe479af9 rpi-eeprom-update: Restrict package checksums to EEPROM images.
Only check EEPROM image binaries because it's annoying if
rpi-eeprom-update errors due to the release notes or the script
changing.
2020-09-28 10:41:20 +01:00
Tim Gover
8d4af8db97 rpi-eeprom-update: Use multiple sources for BOARD_INFO
Try device-tree, then cpuinfo and failing that raw OTP.
2020-09-28 10:37:15 +01:00
Tim Gover
57a93ebc29 Merge pull request #226 from andrum99/patch-1
Fix package architecture
2020-09-16 16:19:53 +01:00
andrum99
e94a33b2a4 Fix package architecture 2020-09-15 23:03:25 +01:00
Tim Gover
f1c703fd2a Merge pull request #225 from XECDesign/debian/buster
Debian/buster
2020-09-14 16:15:39 +01:00
Serge Schneider
03a2ca1077 9.0-1 release 2020-09-14 14:27:35 +01:00
Serge Schneider
3b9c1727b0 Merge branch 'master' into debian/buster 2020-09-14 14:27:21 +01:00
Tim Gover
1a099a5a9d Archive 2020-08-31 and 2020-09-02 beta releases.
Move these out of the directories selected by APT now that 2020-09-03
is the default release.
Preserve the releases which were promoted to stable in-case these are
referenced via scripts.
2020-09-14 08:58:35 +01:00
Tim Gover
d246201eb5 Update README.md
Indicate that we mean the USB XHCI controller when we say VLI
2020-09-14 08:51:48 +01:00
Tim Gover
a0302ef004 Update releases.md 2020-09-14 08:49:43 +01:00
Tim Gover
fae9021057 Merge pull request #224 from timg236/tim/pieeprom-2020-09-03-default
pieeprom-2020-09-03: Promote latest stable to default/critical
2020-09-14 08:38:01 +01:00
Tim Gover
9cff16af0c pieeprom-2020-09-03: Promote latest stable to default/critical
Promote the latest stable release of the bootloader, VLI EEPROMs
and recovery.bin to the default (critical update) release.
2020-09-11 09:44:06 +01:00
Tim Gover
285c347c74 Merge pull request #222 from XECDesign/debian/buster
Debian/buster
2020-09-07 14:57:24 +01:00
Serge Schneider
c8d36c50e9 8.0-1 release 2020-09-07 14:35:54 +01:00
Serge Schneider
42a5012d61 Merge branch 'master' into debian/buster 2020-09-07 14:35:49 +01:00
Tim Gover
0512377e94 Update releases.md 2020-09-07 11:36:29 +01:00
Tim Gover
b1841526e1 Merge pull request #221 from XECDesign/debian/buster
Debian/buster
2020-09-07 09:43:34 +01:00
Tim Gover
09f77ad9fa Promote pieeprom-2020-09-03 to STABLE v2020.09.03-138a1 2020-09-07 09:12:16 +01:00
Serge Schneider
c3996d6bfa 7.14-1 release 2020-09-04 16:00:38 +01:00
Serge Schneider
067a4b8509 Merge branch 'master' into debian/buster 2020-09-04 16:00:32 +01:00
Tim Gover
b887a0bfa9 pieeprom-2020-09-03.bin - Fix filename 2020-09-04 11:40:09 +01:00
Tim Gover
3ef8633f03 Merge pull request #219 from lurch/patch-1
Add BETA label to release notes
2020-09-03 22:19:26 +01:00
Andrew Scheller
a1da3ac15c Add BETA label to release notes
...for consistency.
2020-09-03 21:56:24 +01:00
Tim Gover
65037b76bf Merge pull request #218 from mackyle/master
rpi-eeprom-update: avoid any possible od accidents
2020-09-03 20:20:01 +01:00
Tim Gover
12a34c03ad Merge pull request #217 from XECDesign/debian/buster
Debian/buster
2020-09-03 20:19:08 +01:00
Kyle J. McKay
28153db403 rpi-eeprom-update: avoid any possible od accidents
This command pipeline:

  printf '00000000000000000000000000000000' | od -An -t x1 | tr -d ' '

produces this output:

  30303030303030303030303030303030
  *

Add a `-v` to od and a `\n` to the tr arg like so:

  printf '00000000000000000000000000000000' | od -v -An -t x1 | tr -d ' \n'

to instead produce this output:

  3030303030303030303030303030303030303030303030303030303030303030

Although it's unlikely that the revision value would generate multiple
lines or contain duplicate lines, it's better to be safe than sorry
especially since the changes to do so do not introduce any extra overhead
and use only POSIX-specified options/arguments.

It's also possible this code fragment could be copied and pasted elsewhere
to provide a "hexdump" of something that might be expected to generate
multiple lines and which may potentially contain duplicates.  By fixing
the code here any breakage caused by such copying and pasting is avoided.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
2020-09-03 11:37:28 -07:00
Serge Schneider
3012c95b5d 7.13-1 release 2020-09-03 18:44:10 +01:00
Serge Schneider
8e1978da8a Merge branch 'master' into debian/buster 2020-09-03 18:43:10 +01:00
Tim Gover
e7006e0405 Merge pull request #216 from MichaIng/patch-1
Fix dependencies
2020-09-03 16:55:24 +01:00
MichaIng
6c5c406370 Remove rpi-eeprom-images from dependencies
rpi-eeprom-images is a transitional dummy package since v7.2 which pulls in rpi-eeprom >=7.2 as dependency only. It can be hence removed from rpi-eeprom dependencies.

Signed-off-by: MichaIng <micha@dietpi.com>
2020-09-03 14:30:33 +02:00
Tim Gover
e9445dfa44 pieeprom-2020-09-02: Simplify green activity LED behavior
Disable flashing due to LED activity to make flashing error
patterns clearer.
2020-09-03 13:16:13 +01:00