Commit Graph

548 Commits

Author SHA1 Message Date
timg236
2fec47bd7f rpi-eeprom-update: Expand help to describe CM4 bootloader updates (#293)
Add some brief documentation about CM4 bootloader updates and provide
links to the full documentation.
2021-02-12 08:53:32 +00:00
timg236
cfc700e2f7 Merge pull request #283 from timg236/tim/remove-flashrom
rpi-eeprom-update: Remove deprecated flashrom script options.
2021-02-10 19:29:00 +00:00
Tim Gover
7da4173852 rpi-eeprom-update: Remove deprecated flashrom script options.
The muxing of the SPI EEPROM and analog audio pins makes flashrom
usage unreliable and having two flashing mechanisms adds unnecessary
complexity to this script.

The bootloader supports EEPROM updates from USB-MSD, Network
and rpiboot there is no real need to support flashrom within this
utility. Therefore, the option to use flashrom can be removed from this
script.
2021-02-10 19:26:06 +00:00
timg236
9de028aad2 Merge pull request #291 from vianpl/plat-check
rpi-eeprom-config/update: Exit cleanly when not run on rpi4
2021-02-10 15:02:16 +00:00
Nicolas Saenz Julienne
6fe6f22bad rpi-eeprom-config/update: Exit cleanly when not run on rpi4
Some users might forcibly install this on a board that isn't an rpi4.
Exit early, and explain why the program can't be run.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
2021-02-09 15:22:52 +01:00
timg236
3d6165304c Merge pull request #290 from timg236/raspi_config
rpi-eeprom-update: Reference raspi-config from version message
2021-01-29 18:26:12 +00:00
Tim Gover
5f0de19aee rpi-eeprom-update: Reference raspi-config from version message
Update the human readable version of the version information to indicate
that raspi-config may be used to change the release type.
raspi-config can be replaced with other program names if necessary.
2021-01-29 08:04:24 +00:00
timg236
08f6b038f0 Merge pull request #289 from XECDesign/debian/buster
Debian/buster
2021-01-28 12:21:28 +00:00
Serge Schneider
798ceb42fe 11.6-1 release 2021-01-28 11:58:05 +00:00
Serge Schneider
92c92e47d7 Merge branch 'master' into debian/buster 2021-01-28 11:57:58 +00:00
timg236
b9c255df58 Merge pull request #288 from vianpl/blconfig-fixes
rpi-eeprom-config: Properly decode sysfs binary files
2021-01-26 12:26:29 +00:00
Nicolas Saenz Julienne
eeb4a19c7f rpi-eeprom-config: Properly decode sysfs binary files
The previous implementation was reading the sysfs files as plain text
and encoding them as 'ascii' to remove all the trailing zeros. This is
wrong twofold. To start with, the sysfs file we're querying are binary
files[1], and we're reading it as a string. On top of that we're
benefiting that *some* python implementations of string.encode() will
deal with trailing zeros.

Fix this by marking the files as binary and decoding them as strings
before consuming them.

[1] sysfs files are generally text based, but there is also the option
to output binary data. Our configuration file does the later.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
2021-01-26 13:05:43 +01:00
timg236
3ae6694fbb Merge pull request #284 from vianpl/blconfig_nvmem
rpi-eeprom-update: Get bootloader configuration from DT
2021-01-24 16:19:41 +00:00
Nicolas Saenz Julienne
2aa97029fd rpi-eeprom-update: Get bootloader configuration from DT
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
2021-01-22 19:20:22 +01:00
timg236
7422c6e08f Merge pull request #281 from XECDesign/debian/buster
Debian/buster
2021-01-16 16:57:38 +00:00
Serge Schneider
5cefd12f37 11.5-1 release 2021-01-16 16:27:35 +00:00
Serge Schneider
d051be77c3 Merge branch 'master' into debian/buster 2021-01-16 16:26:46 +00:00
timg236
7cb9d4162f Merge pull request #280 from timg236/tim/sd_1v8
pieeprom-2021-01-16: Fix SD 1V8 reset - LATEST + BETA
2021-01-16 14:45:41 +00:00
Tim Gover
9b74ec49a1 pieeprom-2021-01-16: Fix SD 1V8 reset - LATEST + BETA 2021-01-16 14:32:30 +00:00
timg236
3189cd232a Merge pull request #278 from XECDesign/debian/buster
Debian/buster
2021-01-14 13:29:38 +00:00
Serge Schneider
fdb646098f 11.4-1 release 2021-01-14 12:48:13 +00:00
Serge Schneider
32bf528afb Merge branch 'master' into debian/buster 2021-01-14 12:47:35 +00:00
Tim Gover
54cadc816b Promote pieeprom-2021-01-11 to STABLE (LATEST) 2021-01-14 11:00:33 +00:00
Tim Gover
a95ecf9355 rpi-eeprom-update: Update docs and default ENV for release names
Change default FIRMWARE_RELEASE_STATUS variable to 'default' rather
than 'critical'.

Update the built in help for new release names which align the
rpi-eeprom release names with raspi-config documentation.
2021-01-13 09:52:56 +00:00
timg236
34fd9816ee Merge pull request #276 from XECDesign/debian/buster
Debian/buster
2021-01-12 17:05:28 +00:00
Serge Schneider
42b040fbf7 11.3-1 release 2021-01-12 16:53:24 +00:00
Serge Schneider
561811a6bd Merge branch 'master' into debian/buster 2021-01-12 16:53:15 +00:00
Tim Gover
690872a3ca rpi-eeprom-update: Add trailing / so find follows the FW symlink 2021-01-12 16:44:31 +00:00
timg236
d998047a20 Merge pull request #274 from XECDesign/debian/buster
Debian/buster
2021-01-12 14:35:26 +00:00
Serge Schneider
fa580406b0 11.2-1 release 2021-01-12 14:24:12 +00:00
Serge Schneider
efe40b9d0a Merge branch 'master' into debian/buster 2021-01-12 14:17:10 +00:00
Tim Gover
4b17575e83 pieeprom-2021-01-11: Timeout stalled USB MSD devices - BETA 2021-01-11 17:17:35 +00:00
Tim Gover
92c048b90c rpi-eeprom-update: Add default/latest symlinks to reflect raspi-config naming 2021-01-11 17:08:01 +00:00
timg236
2318f44baa Merge pull request #273 from timg236/tim/dt-version
rpi-eeprom-update: Get bootloader build-timestamp from device-tree
2021-01-09 09:40:59 +00:00
Tim Gover
289befb382 rpi-eeprom-update: Get bootloader build-timestamp from device-tree 2021-01-09 09:38:31 +00:00
Tim Gover
b481076132 Merge pull request #271 from lurch/patch-1
typo
2021-01-07 17:35:37 +00:00
Andrew Scheller
0d3ac86cc3 typo 2021-01-07 00:50:30 +00:00
Tim Gover
e9ec8adfd8 Merge pull request #270 from andrum99/patch-1
release-notes.md: label 2020-01-05 release as BETA
2021-01-06 19:10:45 +00:00
andrum99
868efb3ad1 release-notes.md: label 2020-01-05 release as BETA 2021-01-06 18:15:26 +00:00
Tim Gover
2ceb6c6864 Merge pull request #269 from XECDesign/debian/buster
Debian/buster
2021-01-06 12:45:18 +00:00
Serge Schneider
6dce143fd5 11.1-1 release 2021-01-06 11:43:15 +00:00
Serge Schneider
1149e87cb2 Merge branch 'master' into debian/buster 2021-01-06 11:43:08 +00:00
Tim Gover
ab3bcf0dae pieeprom-2021-01-05: USB MSD interoperability improvements for Pi 4B < R1.4 2021-01-05 16:54:43 +00:00
Tim Gover
dc47b0324e Merge pull request #267 from XECDesign/debian/buster
Debian/buster
2020-12-15 08:58:34 +00:00
Serge Schneider
a580a0eb53 11.0-1 release 2020-12-15 08:51:22 +00:00
Serge Schneider
5fb3433ab8 Merge branch 'master' into debian/buster 2020-12-15 08:51:14 +00:00
Tim Gover
54a9796abb Promote pieeprom-2020-12-11 release from beta to stable 2020-12-14 11:42:52 +00:00
Tim Gover
7dbceba4cb Merge pull request #264 from XECDesign/debian/buster
Debian/buster
2020-12-11 13:52:11 +00:00
Serge Schneider
1624d3d16a 10.4-1 release 2020-12-11 13:43:35 +00:00
Serge Schneider
e165f3f064 Merge branch 'master' into debian/buster 2020-12-11 13:43:25 +00:00