Compare commits

...

690 Commits

Author SHA1 Message Date
Serge Schneider
1e9c4f34ec 16.0-1~buster release 2023-01-27 10:07:15 +00:00
Serge Schneider
580c7613cf Merge branch 'master' into debian/buster 2023-01-27 10:05:39 +00:00
Tim Gover
bf7419c961 Merge pull request #465 from timg236/pieeprom-2023-01-11-default
2023-01-18 - Promote pieeprom-2023-01-11 STABLE release to DEFAULT
2023-01-18 16:34:30 +00:00
Tim Gover
6532032cc6 2023-01-18 - Promote pieeprom-2023-01-11 STABLE release to DEFAULT
Interesting changes since the last default release
* Update VL805 to 138C0 - fix for handling of split transactions
  https://github.com/raspberrypi/linux/pull/5262
* Fix HID error handling with network install
  https://github.com/raspberrypi/rpi-eeprom/issues/458
2023-01-18 14:49:24 +00:00
Serge Schneider
c4cf52dd4a 15.2-1 release 2023-01-17 09:16:52 +00:00
Serge Schneider
aae8cc6046 Merge branch 'master' into debian/buster 2023-01-17 09:15:56 +00:00
Tim Gover
e2fc5b1993 Merge pull request #464 from timg236/pieeprom-2023-01-11
pieeprom-2023-01-11: Promote previous BETA release to STABLE
2023-01-13 10:54:08 +00:00
Tim Gover
259c4e99ed Merge pull request #463 from allanembedded/busybox-find
Fix rpi-eeprom-update when using busybox find
2023-01-13 10:30:52 +00:00
Tim Gover
5129267f6a pieeprom-2023-01-11: Promote previous BETA release to STABLE
This commit updates the VL805 firmware to vl805-000138c0.bin
See https://github.com/raspberrypi/linux/pull/5262
2023-01-13 09:27:26 +00:00
Allan Xavier
55ca589ab9 Fix rpi-eeprom-update when using busybox find
The busybox implementation of find does not detect recursive nested
symlinks, this results in it finding multiple instances of of_node
matching -samefile, the result of which then fails the -e path test.

The of_node symlink we're tyring to find should match the path
/sys/bus/nvmem/devices/*/of_node so just limit the find depth to 3 as
there's no point searching deeper than that.

Signed-off-by: Allan Xavier <mr.a.xavier@googlemail.com>
2023-01-12 13:47:27 +00:00
Tim Gover
b4b4605c7d Merge pull request #460 from timg236/pieeprom-2023-01-04
pieeprom-2023-01-04 VL805 firmware update - BETA
2023-01-05 10:16:07 +00:00
Tim Gover
2fb2132904 pieeprom-2023-01-04 VL805 firmware update - BETA
* Update VL805 to 138C0 - fix for handling of split transactions
  https://github.com/raspberrypi/linux/pull/5262
* Fix HID error handling with network install
  https://github.com/raspberrypi/rpi-eeprom/issues/458
2023-01-05 09:40:30 +00:00
Tim Gover
6e79e995bb Merge pull request #457 from timg236/pieeprom-2022-12-07
pieeprom-2022-12-07
2022-12-07 15:55:40 +00:00
Tim Gover
36886df55b 2022-12-07 - Fix SD voltage reset on Pi4 R1.1 (DEFAULT/STABLE/BETA).
Fix issue where SD voltage was not reset by power cycling PMIC on reboot.

See https://github.com/raspberrypi/firmware/issues/1763
2022-12-07 14:35:40 +00:00
Tim Gover
388ee17283 make-imager-release: Move image release to 2022-12-07 2022-12-07 14:35:19 +00:00
Tim Gover
2c6dabedf1 Point to the latest release 2022-12-06 17:24:14 +00:00
Tim Gover
e86fc31d7a Merge pull request #456 from timg236/pieeprom-2022-11-25-default
pieeprom-2022-11-25 Promote STABLE to DEFAULT release
2022-12-05 09:52:09 +00:00
Tim Gover
ca1f5469db pieeprom-2022-11-25 Promote STABLE to DEFAULT release
* [tryboot] conditional statement + tryboot_a_b mode
* Support custom OTP mac addresses
* Increase TFTP_MAX_BLOCK_SIZE
* Stop NVMe cleanly
* Fixes for NETCONSOLE parsing and initialisation.
* Long filename support for start_file / fixup_file.
* Secure boot and display debug info on the diagnostis screen.
2022-12-01 15:53:42 +00:00
Tim Gover
0ebda77d49 tools: Add secure-boot related scripts to tools
Copy the tools from usbboot. The next step is for usbboot
to include rpi-eeprom as a git submodule to de-duplicate
EEPROM images and tools.
2022-11-29 16:59:19 +00:00
Tim Gover
b9fcc9dc72 Merge pull request #455 from timg236/rpi-eeprom-config-padding
rpi-eeprom-config: Improve robustness of padding code
2022-11-28 15:41:48 +00:00
Tim Gover
2c709e087a unit-test: Update to cover all the releases including beta 2022-11-28 12:56:03 +00:00
Tim Gover
214cb6ffd4 rpi-eeprom-config: Make padding more robust.
Make it explicit that a modifiable file is stored withing a
single 4K sector (for erase) and that this includes the 20
byte header.

When modifying a file pad up to the next section instead of
just to an alignment size. This enables future changes to be
more flexible in terms of alignment and padding. Although,
files/sections with different padding requirements will likely
get a different magic.
2022-11-28 12:55:58 +00:00
Tim Gover
d2cbfbc292 rpi-eeprom-config: Add -x option to extract files
For test/debug add an option to extract all of the modifiable files.
2022-11-28 12:55:58 +00:00
Tim Gover
7bbbd9407f Merge pull request #453 from timg236/pieeprom-2022-11-25
pieeprom-2022-11-25 - Fix unconfigured netconsole messages - BETA + STABLE
2022-11-25 11:21:40 +00:00
Tim Gover
141a8cd9f0 pieeprom-2022-11-25 - Fix unconfigured netconsole messages - BETA + STABLE
* Fix unconfigured netconsole messages https://github.com/raspberrypi/rpi-eeprom/issues/452
* Add display state to HDMI diagnostics screen
2022-11-25 11:00:38 +00:00
Tim Gover
9269d78320 Align rpi-eeprom-digest with usbboot 2022-11-07 09:37:15 +00:00
Tim Gover
1197a4ae31 Merge pull request #449 from timg236/pieeprom-2022-11-04
* Fix an OOM issue that was causing secure boot to fail (but not from RPIBOOT)
2022-11-04 15:34:15 +00:00
Tim Gover
551d9da184 * Fix an OOM issue that was causing secure boot to fail (but not from RPIBOOT) 2022-11-04 15:26:17 +00:00
Tim Gover
eb3bb76a81 rpi-eeprom-digest: Update from usbboot for the verify option
Sync to the version from usbboot in order to add support for
the verify option. This provides a command line interface for
verifying a .sig file (with RSA) against a public key in .PEM
format.
2022-11-03 11:48:54 +00:00
Tim Gover
049da63a4e Merge pull request #448 from timg236/pieeprom-2022-11-02
pieeprom-2022-11-02: Add option to use Customer OTP for MAC address -…
2022-11-02 14:05:51 +00:00
Tim Gover
cb57a7df05 pieeprom-2022-11-02: Add option to use Customer OTP for MAC address - BETA
Add a new EEPROM property that allows the Ethernet MAC address
programmed during manufacture to be overridden a value in the
Customer OTP register.

MAC_ADDRESS_OTP=A,B
where A and B are the customer row numbers (0..7)
2022-11-02 11:05:01 +00:00
Tim Gover
092f876595 Merge pull request #447 from timg236/pieeprom-2022-10-18-stable
pieeprom-2022-10-18: Promote BETA release to STABLE
2022-10-20 12:00:11 +01:00
Tim Gover
ec3ed8bc3c pieeprom-2022-10-18: Promote BETA release to STABLE 2022-10-20 10:59:51 +01:00
Tim Gover
d0ff0d5d72 Update release notes for 2022-10-18 - BETA 2022-10-20 10:56:52 +01:00
Tim Gover
d995c13dd9 Merge pull request #446 from timg236/pieeprom-2022-10-18
2022-10-18 - Tryboot enhancements for A/B partition booting - BETA
2022-10-18 12:30:47 +01:00
Tim Gover
0a5328a01a 2022-10-18 - Tryboot enhancements for A/B partition booting - BETA
* Add support for a [tryboot] conditional statement in config files.
* Load config.txt instead of tryboot.txt if tryboot_a_b=1 in autoboot.txt
* Fix failover to partition 1  if the `boot_partition` points to non-bootable partition.
* Enable `autoboot.txt` in secure-boot mode.
2022-10-18 12:06:10 +01:00
Tim Gover
19362b763f Merge pull request #445 from peterharperuk/fix_usb_issue
2022-10-12 - Fix USB boot regression - BETA
2022-10-12 17:12:40 +01:00
Peter Harper
a16f73a2e3 2022-10-12 - Fix USB boot regression - BETA
* Reduce size of USB transfer
2022-10-12 17:00:13 +01:00
Tim Gover
272d1573e3 Merge pull request #444 from peterharperuk/fix_screen_clearing_issue
2022-10-06 - Fix issue with screen display - BETA
2022-10-06 16:51:29 +01:00
Peter Harper
a5f5513b16 2022-10-06 - Fix issue with screen display - BETA
* Fix issue with the bootloader display not being cleared properly
2022-10-06 16:49:38 +01:00
Tim Gover
3f85bc0126 Merge pull request #441 from peterharperuk/nvme_fix_to_beta
2022-10-03 - Add pieeprom-2022-10-03.bin - BETA
2022-10-03 15:20:30 +01:00
Peter Harper
134e95484a 2022-10-03 - Add pieeprom-2022-10-03.bin - BETA
* Increase the size of USB in-transfers
* Increase TFTP_MAX_BLOCKSIZE to 1468
* stop NVMe cleanly
2022-10-03 14:33:42 +01:00
Tim Gover
2efe9daef6 rpi-eeprom-update: Mention rpiboot in the CM4 not supported error message 2022-09-30 10:52:44 +01:00
Tim Gover
e41bec0bed * Parse target MAC address in NETCONSOLE property
https://github.com/raspberrypi/rpi-eeprom/issues/440
2022-09-02 16:50:16 +01:00
Tim Gover
8c18e9c9bb chmod -x pieeprom-2022-08-02.bin 2022-09-02 15:17:25 +01:00
Tim Gover
e4f90a89e6 2022-08-02 - Add pieeprom-2022-08-02 - BETA + STABLE
* Display the secure-boot configuration on the diagnostics screen
  if secure-boot is enabled.
  See https://www.raspberrypi.com/documentation/computers/configuration.html#bcm2711-bootloader-properties-chosenbootloader
* Toggle SD power at boot to reset card-state after ROM SD probe.
2022-08-02 17:05:12 +01:00
Tim Gover
38ee969c32 Merge pull request #439 from timg236/pieeprom-2022-07-26
pieeprom-2022-07-26: - Add pieeprom-2022-07-26 - BETA + STABLE
2022-07-26 11:41:11 +01:00
Tim Gover
7bc807661f pieeprom-2022-07-26: - Add pieeprom-2022-07-26 - BETA + STABLE
* Fix FAT issue https://github.com/raspberrypi/rpi-eeprom/issues/438
2022-07-26 11:34:23 +01:00
Tim Gover
4703b71a95 Merge pull request #437 from timg236/pieeprom-2022-07-22
pieeprom-2022-07-22 - Add pieeprom-2022-07-22 - BETA + STABLE
2022-07-22 14:52:36 +01:00
Tim Gover
a70a48ccb3 pieeprom-2022-07-22 - Add pieeprom-2022-07-22 - BETA + STABLE
* NVMe fix large file reads - see https://github.com/raspberrypi/firmware/issues/1731
  The firmware fix is also relevant for the bootloader when loading large boot.img files.
2022-07-22 13:45:42 +01:00
Tim Gover
51648bb0b3 Merge pull request #436 from timg236/pieeprom-2022-07-19
pieeprom-2022-07-19: Promote release from beta to STABLE
2022-07-20 12:22:35 +01:00
Tim Gover
6425f70225 pieeprom-2022-07-19: Promote release from beta to STABLE 2022-07-20 10:03:20 +01:00
Tim Gover
d7e137cf05 Merge pull request #435 from timg236/pieeprom-2022-07-14
2022-07-14 - Add pieeprom-2022-07-14 - BETA
2022-07-15 15:16:16 +01:00
Tim Gover
564fdb44f9 2022-07-14 - Add pieeprom-2022-07-14 - BETA
Enable long-filenames & sub-directories for start_file & fixup_file.
Use Unix path separators with a maximum path of 255 characters.
Relative paths (. or ..) are not supported.
2022-07-14 17:12:50 +01:00
Tim Gover
4eb1bd11c1 Restore ARM 32-bit vl805 flash programming tool
The tool was removed because for Pi4/Pi400 the VL805 update is now
handled by the bootloader. However, this might still be be useful
for anyone who is developing a custom VL805 board with an SPI EEPROM
and needs a mechanism to flash this.
2022-07-10 19:47:31 +01:00
Tim Gover
1c758a0904 Merge pull request #429 from timg236/pieeprom-2022-05-20.bin
pieeprom-2022-05-20.bin Reduce boot-time when network install is disabled. - BETA
2022-05-20 10:08:06 +01:00
Tim Gover
288489257f pieeprom-2022-05-20.bin Reduce boot-time when network install is disabled - BETA
* Reduce boot-time when network install is disabled NET_INSTALL_ENABLED=0.
* Switch to the newer SDIO HC and increase SPI clock speed.
2022-05-20 09:51:34 +01:00
Tim Gover
f38458e7cd Merge pull request #428 from timg236/prefer-self-update
rpi-eeprom-update: Avoid using recovery.bin if the current bootloader supports self-update
2022-05-16 08:34:16 +01:00
Tim Gover
4cbc4bc1c5 rpi-eeprom-update: Avoid using recovery.bin if the current bootloader supports self-update
Self-update is preferred to using recovery.bin because it avoids modifiy the
boot partition in order to rename recovery.bin after use. Since the 2711 ROM
does not support network or USB MSD loading of recovery.bin self-update has to
be used with other boot modes anyway.

If RPI_EEPROM_SELF_UPDATE=1 then avoid installing recovery.bin so long as the
current bootloader version supports self-update from SD/MMC and that doesn't
look as though SELF_UPDATE has been disable in the EEPROM config.
2022-05-11 14:06:13 +01:00
Tim Gover
43262c2c5c make-recovery-images: Attempt to avoid orphaned loopback devices 2022-05-11 14:04:00 +01:00
Tim Gover
3393903982 make-imager-release: Bump the imager release to 2022-04-26 2022-05-11 14:04:00 +01:00
Tim Gover
51491abb9c Merge pull request #426 from timg236/default-2022-04-26
2022-04-27 - Promote pieeprom-2022-04-26 to the DEFAULT release
2022-04-28 15:08:19 +01:00
Tim Gover
1b22faf38d pieeprom-2022-04-26: Promote pieeprom-2022-04-26 to the DEFAULT release
Enable Network Install in the default bootloader release.
This release is signed with the secure-boot key and supports
the new HTTP boot-order for downloading signed boot images for
automated provisioning systems.
2022-04-27 16:52:10 +01:00
Tim Gover
a4419567b8 Move old beta releases out of the APT package and into the old directory 2022-04-27 16:49:23 +01:00
Tim Gover
d75e8ff07f Merge pull request #425 from timg236/network-install-secure
pieeprom-2022-04-26: Network install / secure-boot STABLE/BETA
2022-04-27 10:50:45 +01:00
Tim Gover
83347f3968 pieeprom-2022-04-26: Network install / secure-boot STABLE/BETA
Candidate for the next default release.
2022-04-26 14:09:52 +01:00
Tim Gover
61f40841b7 Merge pull request #424 from timg236/pieeprom-2022-04-14
pieeprom-2022-04-14: Ethernet auto IDDQ fix & EEPROM update diagnostics
2022-04-22 20:09:38 +01:00
Tim Gover
7dfdc23014 pieeprom-2022-04-14: Ethernet auto IDDQ fix & EEPROM update diagnostics - BETA
* Fix netboot reboot failure on Pi 4B R1.1 if OS enables IDDQ power saving
     https://github.com/raspberrypi/rpi-eeprom/issues/417
* Fix incorrect error code (configuration error) on EEPROM update failure.
* Enable more verbose errors for EEPROM update failures
2022-04-22 17:52:15 +01:00
Serge Schneider
88e24c3f52 13.12-1 release 2022-03-16 10:32:29 +00:00
Serge Schneider
752fc829ca Merge branch 'master' into debian/buster 2022-03-16 10:32:25 +00:00
Tim Gover
dd0e086280 Merge pull request #420 from peterharperuk/net_install_stable
2022-03-10: Promote 2022-03-10 to LATEST/STABLE
2022-03-16 10:15:18 +00:00
Peter Harper
e8927007e3 2022-03-10: Promote 2022-03-10 to LATEST/STABLE
* Includes new net install feature, enabled by default for Pi 4 and Pi 400
* New net install download screen may appear on boot if a boot location can't
  be found or if boot is slow. Alternative press and hold shift on boot to
  start net install.
* New HTTP boot order.
* Bootloader diagnosis screen is now 720p if supported by your monitor.
* Self update mode is now enabled during SD/EMMC boot.
* The PARTITION number can now be specified as an EEPROM property.
* Allow smaller MSD discovery timeouts to be specified.
* Some tweaks and fixes to IPV6 netboot.
* Increase the max ramdisk size to 128MB
* Increase timeout of early SD/EMMC commands to 100ms
2022-03-16 09:50:01 +00:00
Serge Schneider
0702ae8b28 13.11-1 release 2022-03-10 17:39:57 +00:00
Serge Schneider
cc7537dbd2 Merge branch 'master' into debian/buster 2022-03-10 17:39:50 +00:00
Tim Gover
056d2432ba Merge pull request #418 from peterharperuk/final_net_install_update
2022-03-10: HTTP_PATH fix - BETA
2022-03-10 16:50:37 +00:00
Peter Harper
2dad157037 2022-03-10: HTTP_PATH fix - BETA
* Fix the defective HTTP_PATH eeprom configuration
2022-03-10 14:59:53 +00:00
Serge Schneider
fb2058b092 13.10-1 release 2022-03-01 13:25:33 +00:00
Serge Schneider
9205f0b9ed Merge branch 'master' into debian/buster 2022-03-01 13:25:27 +00:00
Tim Gover
e866f258d9 Merge pull request #415 from peterharperuk/net_install_beta3
2022-02-28: More net Install changes - BETA
2022-02-28 17:51:00 +00:00
Peter Harper
827a199c7c 2022-02-28: More net Install changes - BETA
Net install changes.
* Net install is initiated on boot if shift is pressed.
* New HTTP boot order (7) and configuration parameters,
  HTTP_HOST, HTTP_PATH, HTTP_PORT to set url

Other interesting changes.
* Increase the max ramdisk size to 128MB
* Increase timeout of early SD/EMMC commands to 100ms
2022-02-28 16:00:34 +00:00
Serge Schneider
e7aaaf9410 13.9-1 release 2022-02-17 18:17:28 +00:00
Serge Schneider
e0c0b7ba3c Merge branch 'master' into debian/buster 2022-02-17 18:16:53 +00:00
peterharperuk
42de218ded Merge pull request #411 from peterharperuk/net_install_beta_fixes
2022-02-16: Network Install updated - BETA
2022-02-17 14:15:28 +00:00
Peter Harper
e2e58a7dba 2022-02-16: Network Install updated - BETA
Net install changes.
* Got rid of confirmation step that required you to press <Space> to
  initiate net install. Now just long press <Shift>
* Updated the screen text to make it more obvious the device is still
  trying boot when the net install is showing.
* Fixed a DHCP net install bug which caused us to lose the
  gateway address.
* Fixed a bug with the uIP timers which could cause net install to
  always fail.
* Implemented resume and retry on download failure.

Other interesting changes.
* Allow smaller MSD discovery timeouts to be specified.
* Some tweaks and fixes to IPV6 netboot.
2022-02-17 12:09:20 +00:00
Tim Gover
9a70770c3e Update config.yml 2022-02-12 08:25:02 +00:00
Tim Gover
e899089b42 Update bug_report.yml 2022-02-12 08:22:52 +00:00
Tim Gover
e75ccb4b1c Update bug_report.yml 2022-02-12 08:18:46 +00:00
Tim Gover
aa59c8f7f8 Update bug_report.yml
Fix URL and tidyup
2022-02-12 08:13:44 +00:00
Tim Gover
c09026fcc7 Update bug_report.yml
Added request for bootloader config plus links to various sections of the docs for diagnostics
2022-02-12 08:08:54 +00:00
Tim Gover
348f7a5009 Update bug_report.yml 2022-02-11 09:28:25 +00:00
Tim Gover
368227330b Update bug_report.yml 2022-02-11 09:22:47 +00:00
Tim Gover
27fa8d7529 Update bug_report.yml 2022-02-11 09:18:44 +00:00
Tim Gover
f555eff6e6 Update bug_report.yml 2022-02-11 09:18:23 +00:00
Tim Gover
a84587a1ba Update bug_report.yml 2022-02-11 09:17:42 +00:00
Tim Gover
2e6344b4d2 Update bug_report.yml 2022-02-11 08:54:21 +00:00
Tim Gover
12e3352ce5 Update bug_report.yml 2022-02-11 08:53:24 +00:00
Tim Gover
55300389a9 Update and rename bug_report.md to bug_report.yml
Initial draft
2022-02-11 08:51:19 +00:00
Tim Gover
70df0c270d Update config.yml 2022-02-11 08:26:54 +00:00
Serge Schneider
191a583563 13.8-1 release 2022-02-10 16:00:28 +00:00
Serge Schneider
0fad5b72e8 Merge branch 'master' into debian/buster 2022-02-10 16:00:19 +00:00
Tim Gover
7deaaa181a Merge pull request #407 from timg236/pieeprom-2022-02-08
pieeprom-2022-02-08: Fix secure-boot boot failure - STABLE
2022-02-09 17:49:10 +00:00
Tim Gover
eb4502d528 pieeprom-2022-02-08: Fix secure-boot boot failure - STABLE
Fix boot failure regression on boards which had the OTP secure boot bits set.
2022-02-09 13:27:27 +00:00
Tim Gover
21bc8412b8 Merge pull request #406 from timg236/network-install-release-notes
Update release-notes for network-install BETA
2022-02-08 17:21:23 +00:00
Tim Gover
829c57378d Update release-notes for network-install BETA
Include details of other changes plus instructions for disabling
network-install.
2022-02-08 14:32:52 +00:00
Serge Schneider
1d84109543 13.7-1 release 2022-02-08 14:27:22 +00:00
Serge Schneider
9f934cf9a6 Merge branch 'master' into debian/buster 2022-02-08 14:23:44 +00:00
Peter Harper
081f893f3a 2022-02-04: Network Install - BETA
* Includes new network install feature
2022-02-08 14:21:33 +00:00
Tim Gover
50451ca6ad make-release: Use rpi-eeprom-digest to generate update timestamps
Previously, the .sig would have an update timestamp of zero. Switching
to rpi-eeprom-digest is preferable because the update timestamp will
be much closer to when the image was installed.

N.B. Update-timestamp is used to track configuration changes and is
independent of the build-timestamps which are the version of the
bootloader executable.
2022-02-08 14:21:33 +00:00
Serge Schneider
2f5538bc4e 13.6-1 release 2022-02-08 14:19:03 +00:00
Tim Gover
054d723b38 Fix typo in release notes date 2022-02-08 14:19:03 +00:00
Tim Gover
0dacc2a4f2 Update make-imager-release to 2022-01-25 2022-02-08 14:19:03 +00:00
Tim Gover
78084d440b 2022-01-25 - Promote pieeprom-2022-01-25 to the DEFAULT release
Interesting changes since the last default release
    * Support and bug fixes for all Compute Module variants.
    * NVMe interoperability fixes
    * FAT/GPT fixes and file-system performance improvements.
    * Add secure-boot support for industrial applications
      See https://github.com/raspberrypi/usbboot/blob/master/secure-boot-recovery/README.md
    * Added ramdisk / boot.img - for RPIBOOT and secure-boot.
2022-02-08 14:19:03 +00:00
Tim Gover
0254a8e959 Merge pull request #405 from peterharperuk/net_install_beta
2022-02-04: Network Install - BETA
2022-02-08 09:47:10 +00:00
Peter Harper
14b6455d07 2022-02-04: Network Install - BETA
* Includes new network install feature
2022-02-04 12:48:54 +00:00
timg236
77e4322e1f Merge pull request #404 from timg236/make-release-timestamp
make-release: Use rpi-eeprom-digest to generate update timestamps
2022-02-03 10:17:10 +00:00
Tim Gover
05cc42b98b make-release: Use rpi-eeprom-digest to generate update timestamps
Previously, the .sig would have an update timestamp of zero. Switching
to rpi-eeprom-digest is preferable because the update timestamp will
be much closer to when the image was installed.

N.B. Update-timestamp is used to track configuration changes and is
independent of the build-timestamps which are the version of the
bootloader executable.
2022-02-03 09:29:42 +00:00
Tim Gover
9652be2271 Fix typo in release notes date 2022-01-31 15:42:29 +00:00
Tim Gover
bd09360d11 Update make-imager-release to 2022-01-25 2022-01-31 15:42:29 +00:00
Tim Gover
1ce83c09b3 Merge pull request #401 from timg236/default-release-2022-01-25
2022-01-25 - Promote pieeprom-2022-01-25 to the DEFAULT release
2022-01-31 11:48:20 +00:00
Tim Gover
49355f48b3 2022-01-25 - Promote pieeprom-2022-01-25 to the DEFAULT release
Interesting changes since the last default release
    * Support and bug fixes for all Compute Module variants.
    * NVMe interoperability fixes
    * FAT/GPT fixes and file-system performance improvements.
    * Add secure-boot support for industrial applications
      See https://github.com/raspberrypi/usbboot/blob/master/secure-boot-recovery/README.md
    * Added ramdisk / boot.img - for RPIBOOT and secure-boot.
2022-01-31 09:48:01 +00:00
Serge Schneider
b874e687f1 13.5-1 release 2022-01-26 12:05:17 +00:00
Serge Schneider
80b2bf64a5 Merge branch 'master' into debian/buster 2022-01-26 12:05:03 +00:00
Tim Gover
c1c19fd4ba Merge pull request #400 from timg236/pieeprom-2022-01-25
pieeprom-2022-01-25: Create stable release from pieeprom-2022-01-20
2022-01-25 17:06:17 +00:00
Tim Gover
1d8ff7f3b3 pieeprom-2022-01-25: Create stable release from pieeprom-2022-01-20 2022-01-25 14:48:26 +00:00
Tim Gover
c38a977a7c Merge pull request #399 from timg236/gpu-memory
Add note about GPU memory in latest beta
2022-01-24 17:11:28 +00:00
Tim Gover
567586bbac Add note about GPU memory in latest beta 2022-01-24 16:05:14 +00:00
Serge Schneider
f8d467e8a6 13.4-1 release 2022-01-21 11:08:57 +00:00
Serge Schneider
94d6214bef Merge branch 'master' into debian/buster 2022-01-21 11:08:45 +00:00
Tim Gover
28e29df650 Merge pull request #398 from peterharperuk/nvme_fixes_to_beta
2022-01-20: Some NVMe boot fixes - BETA
2022-01-20 15:12:57 +00:00
Peter Harper
a2a017d7c5 2022-01-20: Some NVMe boot fixes - BETA
* PCIe retry on error
* NVMe logging changes
* NVMe attempts to boot twice
2022-01-20 12:11:38 +00:00
Andrew Scheller
3d90553337 fix typo and tweak formatting (#390)
* fix typo and tweak formatting

* Address Phil's feedback
2021-12-19 14:26:00 +00:00
Serge Schneider
561fde15dc 13.3-1 release 2021-12-13 15:32:00 +00:00
Serge Schneider
a6a1f702a6 Merge branch 'master' into debian/buster 2021-12-13 14:56:25 +00:00
Tim Gover
9ca0e123e6 Merge pull request #387 from peterharperuk/promote_mtb_fix_to_stable
Promote mtb fix to stable
2021-12-13 13:05:50 +00:00
Peter Harper
3fdf703f3f 2021-12-02: Promote the 2021-12-02 beta release to LATEST/STABLE
* Just fixes a regression with MTB detection affecting factory testing
2021-12-13 11:56:11 +00:00
Peter Harper
b64fc25a1a Fix permissions on files
A few files had the execute attribute set. Remove this.
2021-12-13 11:52:12 +00:00
Serge Schneider
9f0fcc4fc2 13.2-1 release 2021-12-10 14:23:30 +00:00
Serge Schneider
af36c603a6 Merge branch 'master' into debian/buster 2021-12-10 14:22:20 +00:00
Tim Gover
a4c259a2e4 Merge pull request #386 from peterharperuk/fix_mtb_detection2
2021-12-02: Fix MTB detection for factory test - BETA
2021-12-10 13:53:23 +00:00
Peter Harper
ca5730a9dc 2021-12-02: Fix MTB detection for factory test - BETA
* Just fixes a regression with MTB detection affecting factory testing

Note: This is just a rename of 2021-12-09 which had the wrong date
2021-12-10 13:04:23 +00:00
Tim Gover
91676cba22 Merge pull request #385 from peterharperuk/fix_mtb_detection
2021-12-09: Fix MTB detection for factory test - BETA
2021-12-09 20:13:49 +00:00
Peter Harper
2f8d0861f8 2021-12-09: Fix MTB detection for factory test - BETA
* Just fixes a regression with MTB detection affecting factory testing
2021-12-09 16:17:31 +00:00
Tim Gover
8dcecf429c Merge pull request #384 from timg236/default-recovery.bin
Update default recovery.bin to the latest stable release
2021-12-09 14:26:52 +00:00
Tim Gover
8de4a4db05 Update default recovery.bin to the latest stable release
* Promote the recovery.bin from stable to default. This avoids an
  issue where recovery.bin fails to load on large FAT32 boot partions with
  32K clusters.
2021-12-09 11:11:18 +00:00
Tim Gover
86eee571e2 rpi-eeprom-digest: Don't require xxd/openssl unless RSA signing is requested. 2021-12-01 21:34:19 +00:00
Serge Schneider
a4f1d9b787 13.1-1 release 2021-11-30 11:42:56 +00:00
Serge Schneider
d2ede5387a Merge branch 'master' into debian/buster 2021-11-30 11:42:49 +00:00
timg236
c62427e1d5 Merge pull request #382 from timg236/pieeprom-2021-11-22-stable
Promote pieeprom-2021-11-22 beta release to stable
2021-11-29 12:00:14 +00:00
Tim Gover
91fdb8648b Promote pieeprom-2021-11-22 beta release to stable
* NVMe / PCIe reset fixes
* GPT / FAT enhancements
* FAT performance improvements
* Secure-boot for industrial customers (see usbboot repo)
2021-11-29 10:45:34 +00:00
Serge Schneider
702796fdbf 13.0-1 release 2021-11-23 22:23:37 +00:00
Serge Schneider
95fbb9bcbb Install rpi-eeprom-digest 2021-11-23 22:21:39 +00:00
Serge Schneider
6dd2c2e401 Merge branch 'master' into debian/buster 2021-11-23 22:20:49 +00:00
Tim Gover
12907d02ff rpi-eeprom-config: Fix calls for reading/replacing bootconf.txt
The config read/update APIs have been replaced with generic
read/replace 'boot file' APIs in order to support secure-boot.

The previous secure-boot related commits  broke the interactive
rpi-eeprom-config --edit/-a options.
2021-11-23 11:26:27 +00:00
timg236
3e56160f8b Merge pull request #380 from peterharperuk/nvme-reboot-fix
2021-11-22: Fix for Sabrent rocket Nano NVMe reboot issue - BETA
2021-11-22 14:36:31 +00:00
Tim Gover
34b790407c rpi-eeprom-digest: Add to test/install and specify -o in rpi-eeprom-update 2021-11-22 14:29:59 +00:00
Peter Harper
c4a7e752d0 2021-11-22: Fix for Sabrent rocket Nano NVMe reboot issue - BETA
* Fixes issue with Sabrent rocket Nano NVMe disk after a reboot.
  Run pcie initialisation again if there's an error.
2021-11-22 12:40:56 +00:00
timg236
cd60780ed2 Merge pull request #379 from XECDesign/debian/buster
Debian/buster
2021-11-15 16:23:52 +00:00
Serge Schneider
dc9dd740eb 12.15-1 release 2021-11-15 16:12:38 +00:00
Serge Schneider
bb13edaeb8 Merge branch 'master' into debian/buster 2021-11-15 15:54:57 +00:00
Serge Schneider
776ccf4363 Remove python3 patch 2021-11-15 15:54:22 +00:00
Tim Gover
77784b4b6a test: Add a simple loopback test for signed boot 2021-11-13 15:50:23 +00:00
Tim Gover
3d5ab049d4 rpi-eeprom-config: Update to the same version as raspberrypi/usbboot
Update rpi-eeprom-config to include the secure-boot changes.
2021-11-13 15:50:23 +00:00
Tim Gover
43610e19ec rpi-eeprom-update: Use rpi-eeprom-digest to generate the .sig files 2021-11-13 15:50:23 +00:00
Tim Gover
86cc791879 rpi-eeprom-digest: Import script from rapsberrypi/usbboot
Update rpi-eeprom to use the common .sig generator script from usbboot.
2021-11-13 15:47:50 +00:00
Tim Gover
47976e4409 Merge pull request #377 from andrum99/patch-2
release-notes.md: Fix semi-dead link
2021-10-27 19:40:24 +01:00
andrum99
ecf25d217b Update release-notes.md 2021-10-27 18:34:47 +01:00
Tim Gover
978ced96c9 2021-10-27 - Secure boot improvements - BETA
* Improve the error logging if a file is too large and truncated.
* Increase the maximum size of the ramdisk to 96MB.
* Preliminary changes to expose the boot-mode used to load the
  ramdisk via device-tree.

N.B. Secure boot is only recommended for industrial customers and is
currently a beta release. This can only be enabled via RPIBOOT

https://github.com/raspberrypi/usbboot/blob/master/Readme.md
2021-10-27 17:41:56 +01:00
Tim Gover
a03de8554b make-recovery-images: Change partition size to be 256MB
Make this the same size as Raspberry Pi OS. Since this is compressed
it doesn't make the downloads noticably longer.
2021-10-13 10:16:14 +01:00
Tim Gover
0b4cab2af9 make-recovery-images: Set GID 2021-10-13 08:35:57 +01:00
Tim Gover
95e04c9910 Update a few more URLs to raspberrypi.com 2021-10-13 08:27:20 +01:00
Tim Gover
e76eaf795e Merge pull request #374 from andrum99/patch-1
imager/README.txt: typo, grammar, style fixes
2021-10-11 08:57:55 +01:00
andrum99
0cddcd363f Update README.txt 2021-10-09 16:01:26 +01:00
andrum99
8161d3a89e Update README.txt 2021-10-09 15:59:46 +01:00
andrum99
9ae4ec02a7 Update README.txt 2021-10-09 00:37:32 +01:00
andrum99
a30fbd6928 Update README.txt 2021-10-08 17:06:14 +01:00
andrum99
75b4ea7c7a Update README.txt 2021-10-08 17:03:28 +01:00
andrum99
573770c06f Update README.txt 2021-10-08 17:02:43 +01:00
andrum99
72a79d0b7e Don't think we need to specify 'spare' - that's up to the user 2021-10-08 17:01:28 +01:00
andrum99
7a811e4256 Update README.txt 2021-10-08 17:00:29 +01:00
andrum99
960b80e14c imager/README.txt: typo, grammar, style fixes 2021-10-08 16:59:02 +01:00
Tim Gover
a63b3c7ff4 Merge pull request #373 from timg236/make-recovery-images
make-recovery-images: Build FAT32 disk-images for the imager zips
2021-10-08 15:46:43 +01:00
Tim Gover
01da541b85 make-recovery-images: Build FAT32 disk-images for the imager zips
Create small (40MB) FAT32 images with 512 KB sectors. The aim
is to have a simple, fixed format to avoid compatibility / FAT
issues.
2021-10-08 15:42:44 +01:00
Tim Gover
194960a023 Merge pull request #372 from timg236/rpi-eeprom-config-python3
rpi-eeprom-config: require python3
2021-10-07 13:10:22 +01:00
Tim Gover
28878ba2c5 rpi-eeprom-config: require python3
Require python3 instead of relying on all distros including
python-is-python3 etc.

The code will still work with python2 but distros which require
python2 will need to maintain that as a downstream patch.
2021-10-07 11:11:04 +01:00
Tim Gover
e049a0807f Merge pull request #371 from peterharperuk/fix_readme_url
Fix URLs in README
2021-10-07 10:24:07 +01:00
Peter Harper
51d7c9bb78 Fix URLs in README
These got broken by the recent doc update and the redirects to
raspberrypi.com don't seem to be correct
2021-10-06 17:57:31 +01:00
Tim Gover
2a1c8542b9 Merge pull request #370 from XECDesign/debian/buster
Debian/buster
2021-10-05 11:45:59 +01:00
Serge Schneider
046f0cebab 12.14-1 release 2021-10-05 10:41:47 +01:00
Serge Schneider
85d6495912 Merge branch 'master' into debian/buster 2021-10-05 10:40:52 +01:00
Tim Gover
b93a7569a3 pieeprom-2021-10-05: Update for latest Broadcom SDRAM settings - BETA
* Minor update for latest SDRAM tuning settings.
2021-10-05 09:17:11 +01:00
Tim Gover
cc347ddaa2 Merge pull request #369 from timg236/pieeprom-2021-10-04
pieeprom-2021-10-04: Add support for GPT FAT16 and increase USB timeouts - BETA
2021-10-04 17:08:14 +01:00
Tim Gover
c297ba744c pieeprom-2021-10-04: Add support for GPT FAT16 and increase USB timeouts - BETA
* Update the FAT detection to support FAT16 for EFI/ESD paritions with
  GPT instead of assuming FAT32. The latest firmware is also required
  for a similar update.
* Increase the timeouts for MSD SCSI commands to reduce the risk of
  timeouts when probing the capacity of slow to start devices
  e.g. USB RAID with spinning disks.
2021-10-04 15:29:53 +01:00
Tim Gover
7cae0129e0 Additional fix to beta recovery.bin 2021-09-27 16:26:45 +01:00
Tim Gover
650e255daf 2021-09-27 - Fix recovery.bin rename issue and EEPROM netconsole - BETA
* Fix recovery.bin rename issue
* Update pieeprom-2021-09-27.bin to fix netconsole
2021-09-27 15:20:10 +01:00
Tim Gover
79f6a0707d Merge pull request #368 from XECDesign/debian/buster
Debian/buster
2021-09-27 13:09:50 +01:00
Serge Schneider
398b162dbd 12.13-1 release 2021-09-27 13:03:22 +01:00
Serge Schneider
9154ed5b7d Merge branch 'master' into debian/buster 2021-09-27 13:03:08 +01:00
Tim Gover
504e18bb3a recovery.bin 2021-09-23 - Temporarily revert recovery.bin 2021-09-22
Revert until fix for can be verified https://github.com/raspberrypi/rpi-eeprom/issues/367
2021-09-27 12:57:36 +01:00
Tim Gover
c6295d6c1c Merge pull request #366 from XECDesign/debian/buster
Debian/buster
2021-09-24 16:32:48 +01:00
Serge Schneider
5494946485 12.12-1 release 2021-09-24 15:31:13 +01:00
Serge Schneider
13d5505338 Merge branch 'master' into debian/buster 2021-09-24 15:30:57 +01:00
Tim Gover
4b5a46947e pieeprom-2021-09-23.bin: Bootloader file-system updates - BETA
This release makes major changes to the bootloader file-system code in
order to support new features and should be treated as a bleeding edge BETA
release!

* Improve file-system performance to reduce boot time.
* Preliminary support for IPV6 TFTP. Requires an updated start4.elf.
  Details to follow.
* Fix VL805=1 option for CM4 IO boards that follow the same XHCI
  design as Pi4B. Start.elf will be updated in the next rpi-update
  release and the latest CM4 DTBs are required for the 'XHCI reset controller'
* Preliminary suppport for loading signed boot image files.
  Requires updated GPU firmware.
2021-09-23 17:47:06 +01:00
Tim Gover
7e78a1f35b Merge pull request #365 from XECDesign/debian/buster
Debian/buster
2021-09-23 15:59:22 +01:00
Serge Schneider
9808e5597e 12.11-1 release 2021-09-23 15:51:14 +01:00
Serge Schneider
468a43d0d8 Merge branch 'master' into debian/buster 2021-09-23 15:50:51 +01:00
Tim Gover
919e18a74b Merge pull request #364 from XECDesign/debian/buster
Debian/buster
2021-09-23 15:42:15 +01:00
Tim Gover
1fc1d40117 Merge pull request #363 from timg236/recovery-22-09-2021-stable
Promote 22/09/2021 beta recovery.bin to stable
2021-09-23 15:39:47 +01:00
Serge Schneider
766486cd97 12.10-1 release 2021-09-23 11:26:58 +01:00
Serge Schneider
b01aa93118 Merge branch 'master' into debian/buster 2021-09-23 11:26:25 +01:00
Tim Gover
7e6a961a24 Promote 22/09/2021 beta recovery.bin to stable 2021-09-23 10:08:58 +01:00
Tim Gover
953a7fe05f Merge pull request #362 from timg236/recovery-update-beta
recovery.bin: Fix recovery.bin loading on larger FAT partitions - BETA
2021-09-22 17:37:30 +01:00
Tim Gover
7208a1ca0f recovery.bin: Fix recovery.bin loading on larger FAT partitions - BETA 2021-09-22 16:41:03 +01:00
Tim Gover
cc38b35bbe Merge pull request #358 from lurch/patch-1
Update documentation link
2021-09-01 15:15:26 +01:00
Andrew Scheller
ffda73b9cd Update documentation link 2021-09-01 15:02:01 +01:00
Tim Gover
8dac90ae9a Update bug_report.md 2021-08-10 12:00:17 +01:00
Tim Gover
f7d7a9c8a6 Update bug_report.md 2021-08-10 11:59:52 +01:00
Tim Gover
6a47bc4900 Update bug_report.md 2021-08-10 11:59:23 +01:00
Tim Gover
eae21cbae3 Merge pull request #353 from tmm1/patch-1
Fix typo
2021-07-15 22:54:06 +01:00
Aman Gupta Karmani
75216fb64c Fix typo 2021-07-14 15:05:43 -07:00
Tim Gover
dd5dc9d21a Merge pull request #351 from XECDesign/debian/buster
Debian/buster
2021-07-07 16:32:21 +01:00
Serge Schneider
52c95ae7df 12.9-1 release 2021-07-07 14:25:53 +01:00
Serge Schneider
dc16c83ff9 Merge branch 'master' into debian/buster 2021-07-07 14:25:45 +01:00
Tim Gover
f19990103e pieeprom-2021-07-06: Promote to STABLE
Promote the latest beta release to stable which notably adds
NVMe boot support for CM4.
2021-07-07 11:33:46 +01:00
Tim Gover
6c34d6d090 Merge pull request #350 from XECDesign/debian/buster
Debian/buster
2021-07-06 14:49:31 +01:00
Serge Schneider
b42d5e4d6d 12.8-1 release 2021-07-06 14:08:49 +01:00
Serge Schneider
d39640714b Merge branch 'master' into debian/buster 2021-07-06 14:08:46 +01:00
Tim Gover
45accca3dc pieeprom-2021-07-06 - Tidyup PXE debug strings - BETA
* Remove redundant debug string - hexdump is more useful for debug.
* Minor internal changes for manufacturing test.
2021-07-06 14:06:46 +01:00
Tim Gover
230a4b19f8 Merge pull request #348 from XECDesign/debian/buster
Debian/buster
2021-06-25 16:32:57 +01:00
Serge Schneider
3f6ed502cf 12.7-1 release 2021-06-25 15:46:20 +01:00
Serge Schneider
ada1bfacca Merge branch 'master' into debian/buster 2021-06-25 15:46:07 +01:00
Tim Gover
5d70742580 pieeprom-2021-06-25 - Support 256MB gpu_mem with boot.img ramdisk - BETA
* Tweak the address map so that boot.img files can support
  larger GPU memory allocations e.g. start4x.elf with camera
  loaded from a boot.img.
2021-06-25 13:55:34 +01:00
Tim Gover
4bdea13a50 Merge pull request #346 from XECDesign/debian/buster
Debian/buster
2021-06-22 10:33:38 +01:00
Serge Schneider
701268b6b1 12.6-1 release 2021-06-21 16:05:28 +01:00
Serge Schneider
e44626199a Merge branch 'master' into debian/buster 2021-06-21 16:01:30 +01:00
Tim Gover
753d0f67f7 Merge pull request #345 from XECDesign/debian/buster
Debian/buster
2021-06-21 15:15:53 +01:00
Tim Gover
cecc46f687 pieeprom-2021-06-17 CM4 avoid touching PCIe - BETA
* Avoid default PCIe / XHCI probe on CM4 unless required for the
  current boot mode (USB_MSD or NVME).
* Leave PCIe RC in reset state when loading start.elf except for
  USB-MSD mode.
2021-06-18 10:18:10 +01:00
Serge Schneider
41cec6a12c 12.5-1 release 2021-06-11 15:59:34 +01:00
Serge Schneider
cb46a4fb04 Merge branch 'master' into debian/buster 2021-06-11 15:59:26 +01:00
Tim Gover
4b7fcc65e9 pieeprom-2021-06-11 - Add USB_MSD_STARTUP_DELAY
* Minor update to BRCM SDRAM settings.
* Add USB_MSD_STARTUP_DELAY option (default 0 option).

This adds a configurable delay (in milliseconds) the first time
the USB host controller is initialised before device enumeration.

Normally, this should not be required. However, some HDD enclosures may
require an extended startup delay in order to spinup drives.  Without this
the get-capacity command may stall and timeout.
2021-06-11 14:54:46 +01:00
Tim Gover
949e9c49f8 Merge pull request #343 from waveform80/ignore-non-pi
Add a test to cause the script to exit cleanly on non-Pi hardware
2021-06-11 11:51:18 +01:00
Tim Gover
1dab88d0d0 Merge pull request #342 from waveform80/remove-vcmailbox
Remove redundant vcmailbox reference
2021-06-11 11:47:53 +01:00
Dave Jones
71ef83abbc Add a test to cause the script to exit cleanly on non-Pi hardware
At present, the update script exits cleanly in the case it finds itself
run on Pi hardware prior to the 4/CM4/400, but if installed on non-Pi
hardware exits with various slightly cryptic errors (missing vcgencmd
and some subsequent math errors from trying to bit-shift the empty
BOARD_INFO variable).

This patch adds a similar exit to the non-Pi 4 case, with a slightly
more useful message.
2021-06-10 10:04:13 +01:00
Dave Jones
6a310b5d4d Remove redundant vcmailbox reference
The vcmailbox binary is no longer used (like flashrom), hence there's little point in keeping the configuration variable for it
2021-06-09 17:48:09 +01:00
Tim Gover
11f64b78a1 Merge pull request #338 from XECDesign/debian/buster
Debian/buster
2021-05-20 17:35:14 +01:00
Serge Schneider
cad484f162 12.4-1 release 2021-05-20 17:18:01 +01:00
Serge Schneider
1982e92e03 Merge branch 'master' into debian/buster 2021-05-20 17:17:47 +01:00
Tim Gover
34aa94bdd2 Merge pull request #337 from timg236/pieeprom-2021-05-19
Pieeprom 2021 05 19
2021-05-20 14:12:11 +01:00
Tim Gover
48864f3d1f pieeprom-2021-05-19 - Use latest BRCM SDRAM setting
* Use the latest BRCM SDRAM settings.
* FAT12 support for small bootloader ramdisk images.
* Minor file-system performance optimisations.
* Added recovery.bin config.txt option (erase_eeprom=1) to perform
  an SPI chip-erase operation instead of programming the bootloader image.
2021-05-19 17:51:24 +01:00
Tim Gover
503f1c0055 rpi-eeprom-update: Display a warning when the bootloader is downgraded
Display a warning if the bootloader version is downgraded. This can
happen when swapping boot-media and the bootloader configuration is
changed from an OS with an old version of the rpi-eeprom package.

Remove the duplicated "update pending" and "to cancel update" messages.
2021-05-17 15:21:29 +01:00
Tim Gover
f7402923bc Merge pull request #331 from lurch/patch-1
Typos and wording tweaks
2021-05-04 16:34:15 +01:00
Tim Gover
1c08eef4b4 Merge pull request #334 from XECDesign/debian/buster
Debian/buster
2021-04-30 13:20:56 +01:00
Serge Schneider
2682b1761e 12.3-1 release 2021-04-30 12:57:39 +01:00
Serge Schneider
d10159340a Merge branch 'master' into debian/buster 2021-04-30 12:57:27 +01:00
Tim Gover
a1a83158c8 Merge pull request #333 from XECDesign/debian/buster
Debian/buster
2021-04-30 12:50:01 +01:00
Tim Gover
34b752e8be Update imager-release to 2021-04-29 2021-04-30 11:24:31 +01:00
Tim Gover
90daaae301 pieeprom-2021-04-29: Update default release to this image 2021-04-30 10:02:10 +01:00
Tim Gover
e6107348e0 pieeprom-2021-04-29.bin - Pi400 MII clock freq - STABLE 2021-04-29 17:23:56 +01:00
Andrew Scheller
650e942947 Typos and wording tweaks 2021-04-24 02:39:43 +01:00
Serge Schneider
7d51450d32 12.2-1 release 2021-04-22 16:15:09 +01:00
Serge Schneider
75ee452cf1 Merge branch 'master' into debian/buster 2021-04-22 16:14:59 +01:00
Tim Gover
53f121d651 Merge pull request #329 from andrum99/patch-5
rpi-eeprom-update: up-to-date -> up to date
2021-04-22 09:09:36 +01:00
andrum99
89a68bc405 rpi-eeprom-update: up-to-date -> up to date
This is only meant to be hyphenated when used as a compound adjective, which is not the case here. See https://www.thewriter.co.uk/tools/style-guide/punctuation/hyphens#:~:text=When%20it%20comes%20after%20the,up%2Dto%2Ddate%20document.
2021-04-21 16:59:35 +01:00
Tim Gover
f3b402d7e6 Merge pull request #319 from timg236/pieeprom-2021-03-18-default
2021-03-18 - Promote 2021-03-18 to default/critical release
2021-04-19 14:11:55 +01:00
Tim Gover
45800f00c7 2021-04-19 - Promote 2021-03-18 to the default/critical release
Interesting changes since the last default release:-
   * Display VC_BUILD_ID strings instead of the SHA256 hash
   * Add support for [cm4] and [pi400] config conditionals filters.
   * Change network boot to use the same "RXID" Ethernet PHY configuration as the 5.10 kernel
   * TFTP - reply to duplicate ACKS
   * Skip rendering of HDMI diagnostics display for the first 8 seconds unless an error occurs.
   * UDP checksum fixes
   * Add support for the BCM2711 XHCI controller - BOOT_ORDER 0x5
   * XHCI protocol layer fixes for non-VLI controllers
   * Avoid USB MSD timeout of there is only one device
   * Implement tryboot for OS upgrade fallback
   * Check the update-timestamp before applying an update in SELF-UPDATE mode
   * Update recovery.bin to 2021-04-13 release for error pattern fix
     on SDRAM failure.
2021-04-19 14:07:27 +01:00
Tim Gover
9ddb00b283 Merge pull request #326 from XECDesign/debian/buster
Debian/buster
2021-04-15 15:20:11 +01:00
Serge Schneider
e942031a37 12.1-1 release 2021-04-15 12:27:26 +01:00
Serge Schneider
0e9c19c16d Merge branch 'master' into debian/buster 2021-04-15 12:27:09 +01:00
Tim Gover
e5d73dc857 recovery.bin: Fix error pattern handling for HDMI/SDRAM failures 2021-04-14 14:47:59 +01:00
Tim Gover
b6d1893973 recovery.bin: Fix error pattern 2021-04-14 14:46:29 +01:00
Tim Gover
85425c0806 Update README.md 2021-03-30 08:45:50 +01:00
Tim Gover
053f8483af Merge pull request #325 from lurch/patch-1
Fix typos in test script
2021-03-29 19:42:33 +01:00
Andrew Scheller
7c26d67583 Fix typos in test script 2021-03-29 19:06:46 +01:00
Tim Gover
1b5892f343 Merge pull request #323 from XECDesign/debian/buster
Debian/buster
2021-03-29 15:52:15 +01:00
Serge Schneider
7e9a43e85d 12.0-1 release 2021-03-25 17:11:28 +00:00
Serge Schneider
4a57ec4367 Merge branch 'master' into debian/buster 2021-03-25 17:10:54 +00:00
Serge Schneider
4ff112ab50 rpi-eeprom-update.service: run rpi-eeprom-update in silent mode 2021-03-25 17:10:54 +00:00
Tim Gover
1e0be05d6e Merge pull request #321 from timg236/min-version
rpi-eeprom-update: Set a minimum version number for silent updates
2021-03-25 16:57:49 +00:00
Tim Gover
a4d7bdbef0 rpi-eeprom-update: Specifiy a minimum version number for automatic updates
Add a new flag '-s' which init scripts should specify to indicate that
the bootloader is running silently to do an automatic update. If '-s'
is specified and the 'default' release is specified then the bootloader
is only updated if it is older than the minimum version number specified
within this script.
This allows the default release to be updated to support new hardware
without forcing updates for existing users. However, if the
configuration is updated then the latest release should be used.

E.g. If network boot is selected via raspi-config or the Raspberry Pi
Imager then it's desirable to get the latest production release to
benefit from any bug fixes. However, a bootloader updated to support
new hardware (e.g. CM4) should not require Pi4B users to to upgrade
their bootloader.

The min-version is set to pieeprom-2020-09-03.
2021-03-25 14:24:17 +00:00
Tim Gover
587683e8e5 test: Extend loopback test to cover old beta releases.
Also copy the current beta releases into old for a bit more test coverage.
2021-03-24 09:37:21 +00:00
Tim Gover
953c9fea43 Merge pull request #320 from andrum99/patch-1
releases.md: improve page title, add missing full stops
2021-03-23 14:17:24 +00:00
andrum99
2e0801a4da releases.md: improve page title, add missing full stops 2021-03-23 14:02:55 +00:00
Tim Gover
8113d3f8a0 Update releases.md 2021-03-23 10:09:20 +00:00
Tim Gover
303c2e110d Update README.md 2021-03-22 08:20:22 +00:00
Tim Gover
3408d368e3 Update README.md 2021-03-22 08:18:14 +00:00
Tim Gover
b02180d3fc Merge pull request #318 from XECDesign/debian/buster
Debian/buster
2021-03-18 17:13:11 +00:00
Serge Schneider
19835ec357 11.12-1 release 2021-03-18 17:01:54 +00:00
Serge Schneider
61bd307964 Merge branch 'master' into debian/buster 2021-03-18 17:01:51 +00:00
Tim Gover
4e51d9a735 Merge pull request #317 from timg236/pieeprom-2021-03-18
pieeprom-2021-03-18 Fix reboot issue on older Pi 4B boards - STABLE
2021-03-18 13:33:39 +00:00
Tim Gover
bb358e9c16 Merge pull request #315 from XECDesign/debian/buster
Debian/buster
2021-03-18 13:33:27 +00:00
Tim Gover
ff27ccf694 pieeprom-2021-03-18 Fix reboot issue on older Pi 4B boards - STABLE 2021-03-18 09:33:05 +00:00
Serge Schneider
9bf449db68 11.11-1 release 2021-03-17 16:15:06 +00:00
Serge Schneider
d31e83585c Merge branch 'master' into debian/buster 2021-03-17 16:14:58 +00:00
Tim Gover
26366bb378 Merge pull request #314 from peterharperuk/bridge-fix
pieeprom-2021-03-17.bin - Fix problem with PCIe bridges - BETA
2021-03-17 13:18:30 +00:00
Peter Harper
a1e86f1350 pieeprom-2021-03-17.bin - Fix problem with PCIe bridges - BETA 2021-03-17 12:13:32 +00:00
Tim Gover
bc5fba23cb remove +x bit on beta recovery.bin and 2021-04-03 release 2021-03-12 20:37:20 +00:00
Tim Gover
d20f92a8d3 Merge pull request #312 from XECDesign/debian/buster
Debian/buster
2021-03-12 11:40:41 +00:00
Serge Schneider
ddcc24a8c7 11.10-1 release 2021-03-12 10:50:45 +00:00
Serge Schneider
eec75aa62d Merge branch 'master' into debian/buster 2021-03-12 10:49:43 +00:00
Tim Gover
5579d39ab0 Merge pull request #310 from lurch/make_beta
Add make-beta-release as a wrapper around make-release
2021-03-10 19:13:06 +00:00
Andrew Scheller
7589fbf981 Allow a custom firmware_status to be set via env-var 2021-03-10 16:56:47 +00:00
Andrew Scheller
6b1851750a Add make-beta-release as a wrapper around make-release 2021-03-09 19:18:43 +00:00
Tim Gover
2971da10ee Merge pull request #309 from peterharperuk/nvme_bootloader
pieeprom-2021-03-04.bin - NVMe boot support - BETA
2021-03-09 17:02:33 +00:00
peter.harper
c5fea074c1 pieeprom-2021-03-04.bin - NVMe boot support - BETA 2021-03-09 16:29:38 +00:00
Tim Gover
71a6049b2b Merge pull request #308 from lurch/imager_script_refactor
Refactor the imager script to reduce duplication and remove reliance on symlinks
2021-03-09 15:25:47 +00:00
Andrew Scheller
7880114040 Make make-release more flexible, and add make-imager-release as a wrapper script around it 2021-03-05 16:21:33 +00:00
Andrew Scheller
869c14518b Refactor the imager script to reduce duplication and remove reliance on symlinks 2021-03-05 13:45:16 +00:00
Tim Gover
b9955dba91 Add recovery.bin to make-release
It won't work without it!
2021-03-05 13:38:49 +00:00
Tim Gover
2c46b979dc Merge pull request #307 from lurch/patch-1
Typos
2021-03-05 13:36:48 +00:00
Andrew Scheller
26c4f2b3da Typos 2021-03-05 12:35:19 +00:00
Tim Gover
0dfc9dc8e5 Merge pull request #306 from timg236/make-release
make-release: Add a script for generating Raspberry Pi Imager releases
2021-03-05 10:40:50 +00:00
Tim Gover
3b952e996a make-release: Add a script for generating Raspberry Pi Imager releases
Create an EEPROM update zip files for use with the Raspberry Pi Imager.
The Raspberry Pi Imager JSON will soon be updated to support the 3
different boot priority choices offered by raspi-config.
2021-03-04 15:24:53 +00:00
timg236
c60fbe6252 Merge pull request #304 from XECDesign/debian/buster
Debian/buster
2021-02-26 14:52:23 +00:00
Serge Schneider
66f7d19543 11.9-1 release 2021-02-26 14:16:57 +00:00
Serge Schneider
6ec3d283d5 Merge branch 'master' into debian/buster 2021-02-26 14:16:54 +00:00
Tim Gover
8c9c14526d Revert "rpi-eeprom-update: Use 'tr' instead of 'strings'"
This reverts commit 9a2aede8034aab0bfb050b481d422fddb5c25683.
2021-02-26 14:06:29 +00:00
Tim Gover
dcd114f8fd Revert "rpi-eeprom-update: Surround [:print:] with quotes"
This reverts commit f14fc0f8f6974129ffccc0d5b85e04a1ec96399b.
2021-02-26 14:06:29 +00:00
Serge Schneider
3b91c0d31b Revert "Remove binutils dependency"
This reverts commit 3b34f6a6e5.
2021-02-26 13:12:11 +00:00
Tim Gover
6265c773e7 Remove SPI_SPEED variable now that flashrom has been removed. 2021-02-24 14:04:23 +00:00
timg236
738ac4b432 Merge pull request #302 from vianpl/no-binutils
rpi-eeprom-update: Surround [:print:] with quotes
2021-02-24 14:02:46 +00:00
Nicolas Saenz Julienne
73c91317ca rpi-eeprom-update: Surround [:print:] with quotes
It seems that [:print:] could be substituted by rogue shells[1], so
surround it with quotes to make sure it doesn't happen. Use single
quotes as they are the most constraining kind. All in all, this change
should be harmless.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
[1] https://github.com/raspberrypi/rpi-eeprom/pull/298#issuecomment-784542905
2021-02-24 13:09:59 +01:00
timg236
d0a5b9d841 Merge pull request #301 from XECDesign/debian/buster
Debian/buster
2021-02-22 19:29:37 +00:00
Serge Schneider
ebf3885910 11.8-1 release 2021-02-22 17:53:36 +00:00
Serge Schneider
7752e11dac Merge branch 'master' into debian/buster 2021-02-22 17:53:15 +00:00
Serge Schneider
3b34f6a6e5 Remove binutils dependency 2021-02-22 17:50:05 +00:00
timg236
d642c795a7 Merge pull request #298 from vianpl/no-binutils
rpi-eeprom-update: Use 'tr' instead of 'strings'
2021-02-22 11:47:11 +00:00
timg236
0294cdec42 Merge pull request #300 from timg236/pieeprom-2021-02-16-latest
pieeprom-2021-02-16: Promote to STABLE
2021-02-22 11:25:05 +00:00
Tim Gover
1b937edc4b pieeprom-2021-02-16: Promote to STABLE
Promote the pieeprom-2021-02-16 release to stable/latest.
2021-02-22 10:38:08 +00:00
Nicolas Saenz Julienne
b760758c5e rpi-eeprom-update: Use 'tr' instead of 'strings'
The 'strings' utility is installed by binutils whereas 'tr' belongs with
coreutils. Minimal systems will only contain the latter, due to binutils'
size (20-50 MB). So, convert all uses of 'strings' to 'tr' so as to
avoid the package dependency.

The second 'tr' usage converts non-ASCII characters into newlines so as
to isolate the "BUILD_TIMESTAMP=1234567890" statement (similar to what
'strings' does). There is no need for this in the first one: non-ASCII
characters are simply discarded as DT aliases have a fixed one line
format.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
2021-02-19 10:45:46 +01:00
timg236
483d5e2c13 Merge pull request #297 from XECDesign/debian/buster
Debian/buster
2021-02-16 16:37:59 +00:00
Serge Schneider
c26edeeb78 11.7-1 release 2021-02-16 16:28:57 +00:00
Serge Schneider
56cacb9868 Merge branch 'master' into debian/buster 2021-02-16 16:28:42 +00:00
Tim Gover
3129546271 pieeprom-2021-02-16: Change VC version info & TFTP ACK fix BETA 2021-02-16 14:58:11 +00:00
timg236
d9ed0cd680 Merge pull request #296 from timg236/tim/move_vl805_to_old
vl805: Move to old following removal of USE_FLASHROM option
2021-02-16 13:23:11 +00:00
Tim Gover
3e03056215 vl805: Move to old following removal of USE_FLASHROM option
Move to to the old directory now that it's no longer referenced by rpi-eeprom-update.

Add a dependency check for 'lspci' which is normally provided by
pciutils or busybox and remove the failover to the vl805 helper.

Tweak the failure messages for missing dependencies to be slightly less
OS specific.
2021-02-15 20:57:48 +00:00
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
Tim Gover
80fd3016d0 pieeprom-2020-12-11: CM4/PI400 conditional filters - BETA 2020-12-11 11:21:45 +00:00
Tim Gover
361f4703fd Update bug_report.md 2020-12-11 10:04:37 +00:00
Tim Gover
008b0962f5 Update bug_report.md 2020-12-11 10:01:07 +00:00
Tim Gover
f6d2fd7312 Update bug_report.md 2020-12-11 09:58:38 +00:00
Tim Gover
7982134b18 Update bug_report.md 2020-12-11 09:55:19 +00:00
Tim Gover
baae3de8bd Merge pull request #258 from XECDesign/debian/buster
Debian/buster
2020-11-25 20:38:37 +00:00
Serge Schneider
db5a38bc40 10.3-1 release 2020-11-25 17:45:30 +00:00
Serge Schneider
263471ad1e Merge branch 'master' into debian/buster 2020-11-25 17:45:07 +00:00
Tim Gover
3702e706af pieeprom-2020-11-24: Enable booting from BCM2711 XHCI controller - BETA 2020-11-24 15:31:05 +00:00
Tim Gover
1443b30f52 Merge pull request #256 from timg236/tim/master
rpi-eeprom-config: Change --edit to use the current EEPROM config
2020-11-16 16:05:49 +00:00
Tim Gover
d5c564d47c rpi-eeprom-config: Change --edit to use the current EEPROM config
Always use the current EEPROM configuration unless there is an
update pending in which case use that to support incremental edits.

Update help and update message to indicate that
'sudo rpi-eeprom-update -r'
may be used to cancel a pending update.

Fix a few comments
2020-11-15 21:36:09 +00:00
Tim Gover
b3e45cb7b0 Merge pull request #254 from MishterKirby/patch-1
Update release-notes.md
2020-11-15 18:47:14 +00:00
Sebastian Rivera
398534b04e Update release-notes.md 2020-11-11 10:48:47 -06:00
Sebastian Rivera
2f2910472f Update release-notes.md 2020-11-11 10:15:31 -06:00
Tim Gover
13b0bb602e Merge pull request #252 from MishterKirby/patch-1
Update release-notes.md
2020-11-10 18:19:44 +00:00
Sebastian Rivera
2fb94103ae Update release-notes.md 2020-11-10 12:17:03 -06:00
Sebastian Rivera
64b747495e Update release-notes.md
Fixed typo
2020-11-07 14:45:47 -06:00
Tim Gover
27ba1c582a Merge pull request #248 from andrum99/patch-1
Release notes: mark 2020-10-28 as beta
2020-11-06 17:51:12 +00:00
andrum99
499ea81f9e Update release-notes.md 2020-11-02 17:52:11 +00:00
Tim Gover
8b1d2f1a43 Merge pull request #247 from XECDesign/debian/buster
Debian/buster
2020-11-02 14:19:19 +00:00
Serge Schneider
ad6dbb7bfa 10.2-1 release 2020-11-02 14:15:33 +00:00
Serge Schneider
443bb7d07d Merge branch 'master' into debian/buster 2020-11-02 14:15:15 +00:00
Tim Gover
16bb29427f Merge pull request #246 from timg236/tim/pieeprom-2020-10-28
pieeprom-2020-10-28: Defer HDMI diagnostics display, update-timestamp…
2020-10-28 19:12:14 +00:00
Tim Gover
ee2e650332 pieeprom-2020-10-28: Defer HDMI diagnostics display, update-timestamps, tryboot support 2020-10-28 19:00:24 +00:00
Tim Gover
0125155f9d Merge pull request #245 from lurch/patch-1
typos
2020-10-28 09:50:56 +00:00
Andrew Scheller
435da0f3cb typos 2020-10-28 09:47:50 +00:00
Tim Gover
7f054d6700 Merge pull request #244 from timg236/update_timestamp
Add the timestamp of the update to the pieeprom.sig file.
2020-10-28 07:47:38 +00:00
Tim Gover
7612907337 Add the timestamp of the update to the pieeprom.sig file.
Add the timestamp to pieeprom.sig for use with a future bootloader
update.

This is not relevant for the VL805 firmware because it is not
configurable.
2020-10-28 07:40:59 +00:00
Tim Gover
f24abcd305 Merge pull request #238 from timg236/tim/pkg_info
Only check package checksums on systems with package checksums
2020-10-20 17:18:39 +01:00
Tim Gover
b1ed98c779 rpi-eeprom-update: Skip checksums if there is no dpkg info directory 2020-10-20 16:49:36 +01:00
Tim Gover
2730572da2 rpi-eeprom-update: Fix shellcheck warnings 2020-10-20 16:49:36 +01:00
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 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
Tim Gover
73e845de28 Use od instead of hexdump to simplify package dependencies 2020-09-03 13:08:12 +01:00
Tim Gover
384143b035 Merge pull request #213 from XECDesign/debian/buster
Debian/buster
2020-09-02 09:47:09 +01:00
Serge Schneider
0732ea9932 7.12-1 release 2020-09-02 09:35:29 +01:00
Serge Schneider
3cd4b49653 Merge branch 'master' into debian/buster 2020-09-02 09:35:23 +01:00
Tim Gover
c697a4aace Merge pull request #212 from brookst/fix-211
Fix #211 - hexdump error on older Pi models
2020-09-02 07:08:25 +01:00
Tim Brooks
18d50d52ca Fix #211 - hexdump error on older Pi models 2020-09-01 23:19:01 +01:00
Tim Gover
503281424e Merge pull request #210 from XECDesign/debian/buster
Debian/buster
2020-09-01 16:19:52 +01:00
Serge Schneider
df247a83da 7.11-1 release 2020-09-01 14:02:21 +01:00
Serge Schneider
4330c5a48d Merge branch 'master' into debian/buster 2020-09-01 14:01:59 +01:00
Tim Gover
3cdd464d99 Merge pull request #209 from timg236/tim/pieeprom-2020-08-31
pieeprom-2020-08-31 - Disable self update mode from SD cards
2020-08-31 12:25:54 +01:00
Tim Gover
434224f9ed Merge pull request #208 from hvenev/board-revision-from-dt
rpi-eeprom-update: Upstream kernel fix
2020-08-31 12:22:52 +01:00
Tim Gover
279eef4777 pieeprom-2020-08-31 - Disable self update mode from SD cards 2020-08-31 11:30:55 +01:00
Hristo Venev
eea80bc4ab rpi-eeprom-update: Upstream kernel fix
Upstream kernels do not list the board revision in /proc/cpuinfo. Get it
from the device tree instead.
2020-08-20 13:15:32 +03:00
Tim Gover
1a44b13308 Merge pull request #205 from andrum99/patch-3
Update README.md
2020-08-17 09:01:10 +01:00
andrum99
366e868e2d Update README.md 2020-08-16 18:02:37 +01:00
Tim Gover
8181a87b2c Update README.md
Removed the BUG information now that the mandatory bug template requests all of this information.

Now that netboot and USB MSD are no longer beta make this less prominent because users not familiar with Pi4 firmware should not be directed straight towards beta releases which might not work with their current OS
2020-08-16 16:43:13 +01:00
Tim Gover
d9b9162d9e Merge pull request #203 from XECDesign/debian/buster
Use python3
2020-08-14 08:43:07 +01:00
Serge Schneider
f192c2dbb9 Use python3 2020-08-14 03:45:01 +01:00
Tim Gover
8b43c37328 Merge pull request #202 from XECDesign/debian/buster
Debian/buster
2020-08-12 16:29:10 +01:00
Tim Gover
e7c22e2ee0 Update releases.md 2020-08-12 15:03:06 +01:00
Tim Gover
ac297ecae7 Update link to latest stable release 2020-08-12 10:05:43 +01:00
Serge Schneider
81655ac6fb 7.10-1 release 2020-08-10 14:17:53 +01:00
Serge Schneider
7eb51b9e2a Merge branch 'master' into debian/buster 2020-08-10 14:17:42 +01:00
Tim Gover
0e7da7ecd8 Promote beta 2020-07-31 to stable 2020-08-10 12:49:13 +01:00
Tim Gover
92fa4238d2 Merge pull request #192 from XECDesign/debian/buster
Debian/buster
2020-08-03 11:32:13 +01:00
Tim Gover
f161ef369b Merge pull request #193 from lurch/patch-1
Typos
2020-08-03 11:29:57 +01:00
Andrew Scheller
456a55122b Typos 2020-08-03 11:28:41 +01:00
Serge Schneider
3bef91bcc6 7.9-1 release 2020-08-03 11:05:05 +01:00
Serge Schneider
c9dd9417fb Merge branch 'master' into debian/buster 2020-08-03 11:04:36 +01:00
Tim Gover
d7b1a49a83 pieeprom-2020-07-31.bin - Standardize USB port power off across Pi4 models 2020-07-31 17:13:50 +01:00
Tim Gover
8e9aca34ae Rename .config.yml to config.yml 2020-07-24 08:51:38 +01:00
Tim Gover
a5794dde78 rpi-eeprom-update: Set file permissions on the EEPROM update files
Normally BOOTFS is a local FAT partition but with NFS it's possible
that the NFS mount of /boot is not setup to have the equivalent
permissions as /boot. Set the .upd,.sig files to be readable by
all users to to avoid the case where the file is visible to root on the
Pi but is not readable by the TFTP daemon on the server.
2020-07-21 16:08:22 +01:00
Tim Gover
bb2fcf63f8 Update releases.md 2020-07-20 13:19:43 +01:00
Tim Gover
42ae155d1a Update releases.md 2020-07-20 13:19:24 +01:00
Tim Gover
ef0663db3f Merge pull request #187 from XECDesign/debian/buster
Debian/buster
2020-07-20 12:27:54 +01:00
Serge Schneider
21c424b530 7.8-1 release 2020-07-20 12:17:51 +01:00
Serge Schneider
e0278c597b Merge branch 'master' into debian/buster 2020-07-20 12:17:22 +01:00
Tim Gover
8312e86e35 recovery.bin - Update beta/stable after rebase
No other changes, just use the same build id.
2020-07-20 11:12:43 +01:00
Tim Gover
ac0cf15bac pieeprom-2020-07-16.bin - Promote to STABLE 2020-07-20 11:01:41 +01:00
Tim Gover
10b01cf8cf Merge pull request #186 from XECDesign/debian/buster
Debian/buster
2020-07-16 19:13:05 +01:00
Serge Schneider
e377c1663c 7.7-1 release 2020-07-16 18:55:39 +01:00
Serge Schneider
9829d2a24b Merge branch 'master' into debian/buster 2020-07-16 18:55:33 +01:00
Tim Gover
3325de5b9a pieeprom-2020-07-16 - Fix CM4 startup issue 2020-07-16 16:26:14 +01:00
Tim Gover
90361b07a3 Merge pull request #185 from XECDesign/debian/buster
Debian/buster
2020-07-16 15:17:30 +01:00
Serge Schneider
26d2b501f9 7.6-1 release 2020-07-16 15:14:32 +01:00
Serge Schneider
c076693a95 Merge branch 'master' into debian/buster 2020-07-16 15:14:22 +01:00
Tim Gover
23aeb554d7 Merge pull request #178 from XECDesign/debian/buster
Debian/buster
2020-07-16 15:13:45 +01:00
Tim Gover
dd15621c8a Change "update required" message to "update available"
Originally, rpi-eeprom-update was only for critically important
security or hardware compatibility requirements. Change the
text of rpi-eeprom-update to indicate that an update is available
rather than being required.
N.B. The systemd service runs with the -a flag which automatically
applies available updates because most users just use the release
folder which is only updated for major/critical updates.
2020-07-16 12:03:52 +01:00
Tim Gover
940ac7c0e8 pieeprom-2020-07-16: VL805 0138A1 plus optional EEPROM write protect 2020-07-16 11:46:50 +01:00
Tim Gover
befe05b42a Merge pull request #179 from outmatic/master
correct date
2020-07-08 10:41:12 +01:00
Alessandro Petrelli
6aa5d03e26 correct date 2020-07-08 11:37:12 +02:00
Serge Schneider
99980543ad 7.5-1 release 2020-07-08 00:21:36 +01:00
Serge Schneider
21b7cbb99e Merge branch 'master' into debian/buster 2020-07-08 00:18:34 +01:00
Serge Schneider
0d4f3c6fac Revert "Support python3 in the debian package"
This reverts commit 705cb0b304.
2020-07-08 00:17:53 +01:00
Tim Gover
16ad44285f Merge pull request #176 from timg236/tim/cm4_rpieeprom_update
Disable rpi-eeprom-update by default on CM4
2020-07-07 14:41:04 +01:00
Tim Gover
b2e2818b28 Disable rpi-eeprom-update by default on CM4 2020-07-07 11:50:32 +01:00
Tim Gover
140bd3a396 Fix release notes title 2020-07-07 10:59:06 +01:00
Tim Gover
4dbd7b9d07 pieeprom-2020-07-06 - BETA - Tweak USB port power and clear ACT LED after SPI 2020-07-06 21:11:09 +01:00
Tim Gover
008d50610a Merge pull request #175 from golddranks/fix/portability_use_env
Use /usr/bin/env python to make rpi-eeprom-config more portable
2020-07-06 19:27:02 +01:00
Pyry Kontio
5ae98cbbac Use /usr/bin/env python to make rpi-eeprom-config more portable 2020-07-06 13:51:44 +09:00
Tim Gover
9342fdb2ab Merge pull request #169 from waveform80/checksums
Query checksums from rpi-eeprom instead of rpi-eeprom-images
2020-06-24 21:58:27 +01:00
Dave Jones
bd7957d353 Query checksums from rpi-eeprom instead of rpi-eeprom-images 2020-06-24 20:38:05 +01:00
Tim Gover
7cd63f9d3c Update releases.md 2020-06-24 13:41:41 +01:00
Tim Gover
b18780e0d0 Merge pull request #165 from RaspberryPiFan/patch-1
Fix a link
2020-06-23 08:15:01 +01:00
RaspberryPiFan
de7a26a354 Fix a link 2020-06-23 08:16:54 +02:00
Tim Gover
c4d2c622aa Merge pull request #164 from RaspberryPiFan/patch-1
Support python3 in the debian package
2020-06-22 18:29:05 +01:00
RaspberryPiFan
705cb0b304 Support python3 in the debian package 2020-06-22 13:58:02 +02:00
Tim Gover
2a8c2e77c3 Fix date in release notes see #158 2020-06-17 15:16:20 +01:00
Tim Gover
29408f7c17 Update bug_report.md 2020-06-17 14:51:39 +01:00
Tim Gover
a921fdecf4 Feature requests
Requiring discussion on the forums first to avoid duplication and give other OS maintainers the opportunity to pitch in.
2020-06-17 14:04:05 +01:00
Tim Gover
9e25cf8655 Merge pull request #159 from XECDesign/debian/buster
Debian/buster
2020-06-17 10:21:47 +01:00
Serge Schneider
f9161a6650 7.4-1 release 2020-06-17 10:15:42 +01:00
Serge Schneider
ef26c360f8 Merge branch 'master' into debian/buster 2020-06-17 10:15:37 +01:00
Tim Gover
92f194b4b8 Merge pull request #158 from timg236/tim/pieeprom-2020-06-15-stable
Promote 2020-06-16 to STABLE
2020-06-17 09:34:55 +01:00
Tim Gover
fab8f9e7d8 Promote 2020-06-16 to STABLE 2020-06-17 09:33:31 +01:00
Tim Gover
7d86f6d620 Merge pull request #157 from XECDesign/debian/buster
Debian/buster
2020-06-16 11:09:51 +01:00
Serge Schneider
eac62ea9ad 7.3-1 release 2020-06-16 11:00:31 +01:00
Serge Schneider
31e6871004 Merge branch 'master' into debian/buster 2020-06-16 10:59:31 +01:00
Tim Gover
4731bda900 Update MSD beta to 2020-06-15 2020-06-15 17:17:58 +01:00
Tim Gover
8c5e0e1d1c Merge pull request #156 from timg236/tim/pieeprom-2020-06-15
pieeprom-2020-05-15 Tweak toggling of USB port power at boot - BETA
2020-06-15 14:51:23 +01:00
Tim Gover
c5d49eec83 pieeprom-2020-06-15 Tweak toggling of USB port power at boot - BETA 2020-06-15 14:50:53 +01:00
Tim Gover
3c4ee02e6f Update releases.md 2020-06-12 14:31:27 +01:00
Tim Gover
b16109adec Update releases.md 2020-06-12 13:26:38 +01:00
Tim Gover
0dfedc07da Merge pull request #154 from timg236/tim/pieeprom-2020-06-12
pieeprom-2020-06-12 Improve support for powered USB SATA devices - BETA
2020-06-12 13:13:40 +01:00
Tim Gover
ad82caaf61 pieeprom-2020-06-12 Improve support for powered USB SATA devices - BETA
* Reset Ethernet MAC + PHY if final boot mode is not network boot
  See: Kernel warning and network failure when attempting to use
       the network after bootloader times out. #144
* Improve handling of multiple bootable USB devices and remove USB_MSD_BOOT_MAX_RETRIES
* Resolve: No DHCPACK with DHCP relay agent #58
* Toggle USB root hub port power for 200ms on the first USB MSD boot attempt
  See: Bootloader can't boot via USB-HDD after system reboot #151
* Update bootloader handover to support uart_2ndstage - requires a newer
  start.elf firmware which will be via rpi-update.
* Assert PCIe fundamental reset if the final bootmode was not USB-MSD
  because the OS might not do this before starting XHCI.
2020-06-12 12:13:20 +01:00
Tim Gover
45935788fd github: Disable blank issues 2020-06-06 18:47:09 +01:00
Tim Gover
1f5912ed31 Merge pull request #146 from mackyle/master
rpi-eeprom-update: compare versions algebraically
2020-06-05 15:28:29 +01:00
Kyle J. McKay
4abaa46e1f rpi-eeprom-update: compare versions algebraically
Use `-lt` rather than `\<` so that, for example, this:

    [ 2 -lt 17 ]

is true (whereas with `\<` in place of `-lt` it's false).

Also change an `=` comparison to `-eq` to be technically correct.

Helped-by: Tim Gover <tim.gover@raspberrypi.org>
Helped-by: MilhouseVH <milhouseVH.github@nmacleod.com>
Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
2020-06-04 14:42:40 -07:00
Tim Gover
831af6efbe Merge pull request #148 from andrum99/patch-3
releases.md: typo, link, grammar fixes
2020-06-04 21:12:35 +01:00
andrum99
053776bb6f releases.md: typo, link, grammar fixes 2020-06-04 20:54:33 +01:00
Tim Gover
888410c81a Update bug_report.md 2020-06-04 18:44:25 +01:00
Tim Gover
dbd28e42bd Update releases.md 2020-06-04 15:20:22 +01:00
Tim Gover
93a8eee328 Update releases.md 2020-06-04 15:15:44 +01:00
Tim Gover
65438435ae Merge pull request #145 from XECDesign/debian/buster
Debian/buster
2020-06-04 08:44:15 +01:00
Serge Schneider
ea5dff5a3b 7.2-1 release 2020-06-04 06:08:48 +01:00
Serge Schneider
05aaf56e47 Merge branch 'master' into debian/buster 2020-06-04 00:40:44 +01:00
Tim Gover
66fa760460 Merge pull request #143 from andrum99/patch-1
rpi-eeprom-update - fix description of -d flag
2020-06-03 19:07:26 +01:00
andrum99
beceaab7ae reword 2020-06-03 17:26:03 +01:00
andrum99
7cf2828046 Clarify -d option when EEPROM update not needed 2020-06-03 17:24:29 +01:00
andrum99
ed86d5e144 rpi-eeprom-update - fix description of -d flag 2020-06-03 17:13:33 +01:00
Tim Gover
064c9d7395 rpi-eeprom-update: Remove warning in -f section
The warning is only relevant in USE_FLASHROM mode
2020-06-03 15:36:14 +01:00
Tim Gover
eccbc1066d pieeprom-2020-06-03: Bootmode tweaks and fix issue with > 4TB drives - BETA
* Resolve: Unable to boot from USB MSD - Seagate 5Tb HDD backup drive #139
* Increase USB MSD timeout from 10 to 20 seconds.
* Max retries now default to zero because the default BOOT_ORDER includes
  restart (0xf). Therefore, each boot-mode is now tried once before moving
  to the next mode. The retries mechanism is largely redudant now that
  the loop/restart mode exists.
* If TFTP fails and network boot retries > 0 then wait 5 seconds before
  retrying to avoid overloading a misconfigured TFTP server.
* Map undefined boot-modes in BOOT_ORDER to SD (0x1) instead of stopping.
* Add missing pieeprom-2020-05-28
2020-06-03 14:58:12 +01:00
Tim Gover
322568aa65 Create releases.md 2020-06-02 10:49:12 +01:00
Tim Gover
37e889cd68 Merge pull request #138 from lurch/patch-1
small typos
2020-06-01 09:31:48 +01:00
Andrew Scheller
0cfc72304e small typos 2020-05-29 12:57:07 +01:00
Tim Gover
ee0bce14b8 Merge pull request #136 from XECDesign/debian/buster
Debian/buster
2020-05-29 09:36:05 +01:00
Tim Gover
493307c977 Merge pull request #137 from MilhouseVH/have_eeprom_json
include vl805 eeprom presence in machine output
2020-05-29 09:34:51 +01:00
MilhouseVH
40d608daaa include vl805 eeprom presence in machine output 2020-05-29 01:48:20 +01:00
Serge Schneider
2321aa5d9f 7.1-1 release 2020-05-28 13:38:19 +01:00
Serge Schneider
ff8fe8d221 Merge branch 'master' into debian/buster 2020-05-28 13:33:19 +01:00
Tim Gover
fd2ea72b26 rpi-eeprom-update: Update VL805 version check for boards without VL805 EEPROM
Newer board revisions do not have a dedicated VL805 EEPROM. Instead,
the VL805 firmware is loaded from the bootloader EEPROM.
Update the version check to ignore standalone VL805 update files
on boards without a dedicated VL805 EEPROM.
2020-05-28 08:19:30 +01:00
Tim Gover
be3efeae7c Merge pull request #135 from andrum99/patch-1
Update release-notes.md
2020-05-27 20:48:27 +01:00
andrum99
175232cad5 Update release-notes.md 2020-05-27 19:30:11 +00:00
Tim Gover
f257872c3c pieeprom-2020-05-27: Patch release with VL805 self-update fix 2020-05-27 18:51:28 +01:00
Tim Gover
c1a1e9b067 pieeprom-2020-05-27.bin - DPI fix
Also remove +x bit on pieeprom-2020-05-26
2020-05-27 13:22:15 +01:00
Tim Gover
e87bc4da8d pieeprom-2020-05-26.bin - USB MSD beta updates
* Resolve: USB boot fails if the GPT contains no basic data or EFI partitions #130
* Resolve: Fix default BOOT_ORDER in mass storage beta #129
* Resolve: Add support for booting from a "superfloppy" disk #120
* Resolve: USB MSD timeout message - incorrect units #131
* Resolve: Recognize efi partition (0xef) as a valid boot #126
* The HDMI diagnostics screen now displays the most significant bytes of the SHA-256 of the config.txt file.
2020-05-26 15:13:45 +01:00
Tim Gover
7c181f40f2 rpi-eeprom-update: Update help for FIRMWARE_RELEASE_STATUS 2020-05-26 15:01:28 +01:00
Tim Gover
5fb23cfcb8 rpi-eeprom-update: Mark USE_FLASHROM as deprecated. 2020-05-26 10:25:40 +01:00
Tim Gover
21bd52daa0 rpi-eeprom-update: Change BOOTFS .elf check to a warning
If no .elf files are found in the boot partition then raise a warning
instead of an error. This normally indicates a system configuration
error but allow the usage of this tool in non-standard setups.
2020-05-25 11:32:51 +01:00
Tim Gover
5c7dfdf3b7 test: Fixup paths for config test 2020-05-25 11:32:51 +01:00
Tim Gover
52b4142fd7 Merge pull request #128 from XECDesign/debian/buster
Debian/buster
2020-05-18 15:51:53 +01:00
Serge Schneider
89362319c7 7.0-1 release 2020-05-18 15:12:59 +01:00
Serge Schneider
ea1b69d350 Merge branch 'master' into debian/buster 2020-05-18 15:12:02 +01:00
Tim Gover
ad18a5b468 Update issue templates 2020-05-15 12:35:09 +01:00
Tim Gover
69ef289748 Merge pull request #127 from timg236/beta_usbboot
pieeprom-2020-05-15.bin - USB mass storage boot beta
2020-05-15 11:58:22 +01:00
Tim Gover
ee0b6146f1 pieeprom-2020-05-15.bin - USB mass storage boot beta
USB boot also requires updated firmware (start.elf)
2020-05-15 11:24:16 +01:00
Tim Gover
3f9a0eb201 Merge pull request #124 from andrum99/patch-1
rpi-eeprom-update: mention Pi4 only, remove references to SD card
2020-05-12 15:07:31 +01:00
Tim Gover
c2ce7f8488 Merge pull request #125 from andrum99/patch-2
rpi-eeprom-config: Pi 4B -> Pi 4
2020-05-12 15:06:42 +01:00
andrum99
7e587b8092 rpi-eeprom-config: Pi 4B -> Pi 4 2020-05-12 14:37:52 +01:00
andrum99
bbffc1a9fc rpi-eeprom-update: mention Pi4 only, remove references to SD card 2020-05-12 14:36:48 +01:00
Tim Gover
cbb061e0c3 Merge pull request #122 from timg236/tim/deprecate_old_binaries
Garbage collect old bootloader releases
2020-05-11 19:43:16 +01:00
Tim Gover
19c6ddcaa4 Garbage collect old bootloader releases
Now that 2020-04-16 has been released and appears to be stable move
the older binaries to and old (deprecated) directory. There's no
need to include old beta binaries in OS packages.
2020-05-11 16:44:52 +01:00
Tim Gover
c649ab64e4 Update README.md 2020-05-02 09:06:58 +01:00
Tim Gover
18650c2af9 Merge pull request #118 from XECDesign/debian/buster
Debian/buster
2020-04-29 10:53:54 +01:00
Serge Schneider
d78fcd8da6 6.0-1 release 2020-04-29 08:17:13 +01:00
Serge Schneider
d6abc5742f Merge branch 'master' into debian/buster 2020-04-29 08:17:05 +01:00
Tim Gover
a70a647233 Merge pull request #117 from timg236/tim/critical-2020-04-16
Promote 2020-04-16 to be the new default release as a critical update
2020-04-28 14:27:26 +01:00
Tim Gover
87a8d46959 Promote 2020-04-16 to be the new default release as a critical update 2020-04-28 14:18:28 +01:00
Tim Gover
b8254d04a4 Merge pull request #115 from XECDesign/debian/buster
Debian/buster
2020-04-23 16:56:31 +01:00
Serge Schneider
f43f02687e 5.8-1 release 2020-04-23 16:53:23 +01:00
Serge Schneider
3f6ef59385 Merge branch 'master' into debian/buster 2020-04-23 16:53:18 +01:00
Tim Gover
92ed6c634a Remove +x bit
Remove executable bit, can you tell that I used Cygwin for this one ?
2020-04-23 16:52:06 +01:00
tim
bb568a4c4d Push pieeprom-2020-04-16 to stable 2020-04-23 16:10:32 +01:00
Tim Gover
8b9559ce60 Update README.md 2020-04-23 09:25:20 +01:00
Tim Gover
399e9b3f56 Merge pull request #114 from XECDesign/debian/buster
Debian/buster
2020-04-17 12:54:11 +01:00
Serge Schneider
781490e7aa 5.7-1 release 2020-04-17 11:50:09 +01:00
Serge Schneider
cc7cc894ea Merge branch 'master' into debian/buster 2020-04-17 11:50:03 +01:00
Tim Gover
4a82077519 Merge pull request #112 from XECDesign/debian/buster
Debian/buster
2020-04-16 19:30:16 +01:00
Serge Schneider
35f3fa4d37 5.6-1 release 2020-04-16 19:18:22 +01:00
Serge Schneider
8ed4d192d4 Merge branch 'master' into debian/buster 2020-04-16 19:18:15 +01:00
Tim Gover
e4213b443d Merge pull request #111 from XECDesign/debian/buster
Debian/buster
2020-04-12 23:54:09 +01:00
Serge Schneider
52273c8c38 5.5-1 release 2020-04-12 23:27:16 +01:00
Serge Schneider
c004d688b6 Merge branch 'master' into debian/buster 2020-04-12 23:27:10 +01:00
Tim Gover
5ef2488f1a Merge pull request #109 from XECDesign/debian/buster
Debian/buster
2020-04-09 19:14:47 +01:00
Serge Schneider
c1d167fb8a 5.4-1 release 2020-04-09 19:12:17 +01:00
Serge Schneider
08bd400696 Merge branch 'master' into debian/buster 2020-04-09 19:12:11 +01:00
Tim Gover
fd3b2622c9 Merge pull request #108 from XECDesign/debian/buster
Debian/buster
2020-04-09 10:06:20 +01:00
Serge Schneider
f7cc67dab2 5.3-1 release 2020-04-09 08:01:05 +01:00
Serge Schneider
c33475c586 Merge branch 'master' into debian/buster 2020-04-09 08:00:46 +01:00
Tim Gover
601f478340 Merge pull request #104 from XECDesign/debian/buster
Debian/buster
2020-03-20 16:21:49 +00:00
Serge Schneider
035876b28b 5.2-1 release 2020-03-20 16:19:00 +00:00
Serge Schneider
0037b56bc2 Merge branch 'master' into debian/buster 2020-03-20 16:18:48 +00:00
Tim Gover
fca5c63a40 Merge pull request #101 from XECDesign/debian/buster
Debian/buster
2020-03-13 15:50:53 +00:00
Serge Schneider
0ea79a647b 5.1-1 release 2020-03-13 14:16:56 +00:00
Serge Schneider
ce4939cbda Merge branch 'master' into debian/buster 2020-03-13 14:16:33 +00:00
Tim Gover
7caf9b880b Merge pull request #98 from XECDesign/debian/buster
Add pciutils dependency
2020-02-28 19:44:42 +00:00
Serge Schneider
c53d68ced0 Add pciutils dependency 2020-02-28 18:37:18 +00:00
Tim Gover
c7fcf86cf2 Merge pull request #97 from XECDesign/debian/buster
Debian/buster
2020-02-28 16:56:47 +00:00
Serge Schneider
e04b5722fe 5.0-1 release 2020-02-28 14:48:38 +00:00
Serge Schneider
c551c9f098 Merge branch 'master' into debian/buster 2020-02-28 14:41:55 +00:00
Tim Gover
eb77ac9432 Merge pull request #88 from XECDesign/debian/buster
Debian/buster
2020-01-24 12:36:09 +00:00
Serge Schneider
03c6bb2ab9 4.0-1 release 2020-01-22 14:34:03 +00:00
Serge Schneider
0dcba721e8 Merge branch 'master' into debian/buster 2020-01-22 14:32:41 +00:00
Tim Gover
37c29eb046 Merge pull request #85 from XECDesign/debian/buster
Debian/buster
2020-01-20 16:25:00 +00:00
Serge Schneider
d285e48996 3.2-1 release 2020-01-17 14:03:28 +00:00
Serge Schneider
9262772059 Merge branch 'master' into debian/buster 2020-01-17 14:00:00 +00:00
Tim Gover
9bf0332fee Merge pull request #84 from timg236/rpiboot-2020-01-17
2019-01-17: Handle DHCP option 0 (padding)
2020-01-17 13:55:19 +00:00
Tim Gover
4d7663d2fc 2019-01-17: Fix SD card voltage detect + DHCP option 0 padding 2020-01-17 13:54:21 +00:00
Serge Schneider
bc933877bd 3.1-1 release 2020-01-14 16:12:44 +00:00
Serge Schneider
69f89ac00f Merge branch 'master' into debian/buster 2020-01-14 16:12:37 +00:00
Tim Gover
e31833a78a Merge pull request #77 from XECDesign/debian/buster
Debian/buster
2020-01-14 15:55:23 +00:00
Serge Schneider
84fc868161 3.0-1 release 2020-01-13 11:04:52 +00:00
Serge Schneider
f34b155153 Remove vl805 from rpi-eeprom-images 2020-01-13 11:01:09 +00:00
Serge Schneider
7c5619a011 Update package architecture 2020-01-13 11:01:09 +00:00
Serge Schneider
dabc9da0c3 Update rpi-eeprom-config man page description 2020-01-13 11:01:09 +00:00
Serge Schneider
6da443b5db Merge branch 'master' into debian/buster 2020-01-13 11:00:45 +00:00
Tim Gover
fa6bbda372 Merge pull request #56 from XECDesign/debian/buster
Ensure /boot is mounted before starting the service
2019-11-21 15:51:05 +00:00
Serge Schneider
685e2e0012 Ensure /boot is mounted before starting the service 2019-11-20 13:20:37 +00:00
Tim Gover
bd0b1e90d1 Merge pull request #54 from XECDesign/debian/buster
Debian/buster
2019-11-20 13:17:21 +00:00
Serge Schneider
d17236c074 2.4-1 release 2019-11-18 14:46:02 +00:00
Serge Schneider
9df7ba2e3a Merge branch 'master' into debian/buster 2019-11-18 14:44:59 +00:00
Tim Gover
c8c94f90ef Merge pull request #51 from XECDesign/debian/buster
Debian/buster
2019-11-11 13:38:43 +00:00
Serge Schneider
ef13e63056 2.3-1 release 2019-11-11 13:25:35 +00:00
Serge Schneider
bd1340351e Merge branch 'master' into debian/buster 2019-11-11 13:24:43 +00:00
Serge Schneider
837a62d314 Install vl850 from firmware/ 2019-11-11 13:24:31 +00:00
Serge Schneider
d186fdd1fe Merge branch 'master' into debian/buster 2019-11-11 13:23:33 +00:00
Tim Gover
d653efa74f Merge pull request #49 from XECDesign/debian/buster
Add binutils dependency
2019-11-07 14:44:40 +00:00
Serge Schneider
2a6e2c0bf8 Add binutils dependency
Fixes RPi-Distro/repo#156
2019-11-07 14:24:30 +00:00
Tim Gover
b3d30efa59 Merge pull request #47 from XECDesign/debian/buster
Debian/buster
2019-10-31 13:14:33 +00:00
Serge Schneider
acf47682db 2.2-1 release 2019-10-31 12:50:32 +00:00
Serge Schneider
46f07e84d1 Merge branch 'master' into debian/buster 2019-10-31 12:50:16 +00:00
timg
645b09e730 Merge pull request #44 from XECDesign/debian/buster
Debian/buster
2019-10-28 16:19:19 +00:00
Serge Schneider
439192768c 2.1-1 release 2019-10-28 13:35:10 +00:00
Serge Schneider
34e9183a26 Merge branch 'master' into debian/buster 2019-10-28 13:34:59 +00: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
9aea989324 Merge pull request #35 from XECDesign/debian/buster
1.4-1 release
2019-10-23 11:38:04 +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
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
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
5b35f0d214 Merge pull request #18 from XECDesign/debian/buster
Debian/buster
2019-09-23 16:50:46 +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
timg
570c1626dc Merge pull request #16 from XECDesign/debian/buster
Debian/buster
2019-09-18 12:19:02 +01:00
Serge Schneider
55ec087893 1.0-1 release 2019-09-18 11:22:23 +01:00
Serge Schneider
7e1fd070ff Update gbp.conf 2019-09-18 11:14:46 +01:00
Serge Schneider
a528e7a360 Merge branch 'master' into debian/buster 2019-09-18 11:11:05 +01:00
timg
05f056c682 Merge pull request #9 from XECDesign/debian/buster
Add debian packaging
2019-09-10 16:04:54 +01:00
Serge Schneider
c7fbd48d1f Add debian packaging 2019-09-10 15:23:25 +01:00
267 changed files with 4348 additions and 326 deletions

123
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@@ -0,0 +1,123 @@
name: "Bug report"
description: Create a report to help us fix your issue
body:
- type: markdown
attributes:
value: |
**Is this the right place for my bug report?**
* This repository contains the Raspberry Pi 4, Pi400 and CM4 bootloader EEPROM images and installation scripts.
* Please report boot issues for the earlier models at the GPU firmware repo [github.com/raspberrypi/firmware](https://github.com/raspberrypi/firmware).
* Please report USB issues which occur after the OS has started at the Linux repo [github.com/raspberrypi/linux/](https://github.com/raspberrypi/linux/).
* If you simply have a question, then [the Raspberry Pi forums](https://www.raspberrypi.org/forums) are the best place to ask it.
* The ["Is your Pi not booting?"](https://forums.raspberrypi.com/viewtopic.php?f=28&t=58151) post has lots of useful advice.
- type: textarea
id: description
attributes:
label: Describe the bug
description: |
Add a clear and concise description of what you think the bug is.
* Attach a photo of the bootloader [diagnostics](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#boot-diagnostics-on-the-raspberry-pi-4).
* If the system is failing to boot then please check if the green activity LED is displaying an [error pattern](https://www.raspberrypi.com/documentation/computers/configuration.html#led-warning-flash-codes).
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce the behaviour
description: |
List the steps required to reproduce the issue.
validations:
required: true
- type: dropdown
id: model
attributes:
label: Device (s)
description: On which device you are facing the bug?
multiple: true
options:
- Raspberry Pi 4 Mod. B
- Raspberry Pi 400
- Raspberry Pi CM4
- Raspberry Pi CM4 Lite
- Other
validations:
required: true
- type: textarea
id: config
attributes:
label: Bootloader configuration.
description: |
Copy and paste the results of `vcgencmd bootloader_config` or describe the failing configuration.
* `rpi-eeprom-update` saves a backup of the previous bootloader configuration to `/var/lib/raspberrypi/bootloader/backup` before it schedules the update.
* `rpi-eeprom-config pieeprom.upd` can be used to read the contents of an EEPROM image.
validations:
required: true
- type: textarea
id: system
attributes:
label: System
description: |
Copy and paste the results of the `raspinfo` command in to this section.
Alternatively, copy and paste a pastebin link, or add answers to the following questions:
* Which OS and version (`cat /etc/rpi-issue`)?
* Which bootloader version (`vcgencmd bootloader_version`)?
* Which firmware version (`vcgencmd version`)?
* Which kernel version (`uname -a`)?
validations:
required: false
- type: textarea
id: Logs
attributes:
label: Bootloader logs
description: |
If the problem can't be diagnosed from the bootloader HDMI diagnostics screen then we'll normally need to see more detailed logs to diagnose the problem. The bootloader and GPU firmware can be configured to enable log output to the UART pins `14` and `15` on the [40-pin GPIO header](https://www.raspberrypi.com/documentation/computers/os.html#gpio-and-the-40-pin-header)
* To enable UART logging from the bootloader specify [BOOT_UART=1](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#BOOT_UART) in the EEPROM config
* To enable UART logging from the `start.elf` GPU firmware stage add [uart_2ndstage=1](https://www.raspberrypi.com/documentation/computers/config_txt.html#uart_2ndstage) to `config.txt`.
* If you are familiar with using Wireshark then it's also possible to use [NETCONSOLE](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#NETCONSOLE) write logs to UDP packets.
Please paste the bootloader logs here.
validations:
required: false
- type: textarea
id: USB
attributes:
label: USB boot
description: |
Before using USB as the boot device it's advisble to verify that the USB device is [compatible](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#hardware-compatibility) and works reliably from Linux.
Please specify the make and model of the USB device plus any HUBs or USB/SATA adapters. Please also capture the output of the following command from Linux `lsusb -vvv` and paste the results here.
validations:
required: false
- type: textarea
id: NVMe
attributes:
label: NVMe boot
description: |
Before using NVMe as the boot device it's advisble to verify that the NVMe storage is working reliably when mounted from Linux. Please specify the make and model and also capture the following information from a working system when reporting NVMe issues.
* `sudo apt-get install nvme-cli`
* `sudo nvme list`
* `sudo nvme id-ctrl -H /dev/nvme0`
* `sudo nvme list-ns /dev/nvme0`
* `sudo nvme id-ns -H /dev/nvme0 --namespace-id=1`
validations:
required: false
- type: textarea
id: tftp
attributes:
label: Network (TFTP boot)
description: |
Please provide the following information if possible:-
* DHCP server configuration files e.g. `dnsmasq.conf`
* Wireshark binary packet capture
validations:
required: false

9
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,9 @@
blank_issues_enabled: false
contact_links:
- name: "⛔ Question"
url: https://www.raspberrypi.org/forums
about: "Please do not use GitHub for asking questions. If you simply have a question, then the Raspberry Pi forums are the best place to ask it. Thanks in advance for helping us keep the issue tracker clean!"
- name: "⛔ Problems with Raspberry Pi Imager / network-install"
url: https://github.com/raspberrypi/rpi-imager
about: "If the problem with network install occurs after the Raspberry Pi Imager UI has started then please report it at https://github.com/raspberrypi/rpi-imager/issues. Otherwise, raise the bug report here."

30
LICENSE
View File

@@ -64,4 +64,32 @@ License: custom
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
DAMAGE.
License: uIP
Copyright (c) 2006, Swedish Institute of Computer Science.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the Institute nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

View File

@@ -1,27 +1,16 @@
# rpi-eeprom
This repository contains the scripts and pre-compiled binaries used to create the rpi-eeprom package which is used to update the Raspberry Pi4 bootloader EEPROM.
This repository contains the scripts and pre-compiled binaries used to create the `rpi-eeprom` package which is used to update the Raspberry Pi 4 bootloader and VLI USB controller EEPROMs.
# Support
For bootloader support the best place to start is the Raspberry Pi [General Users forum](https://www.raspberrypi.org/forums/viewforum.php?f=63) or for discussion of beta releases try the [Advanced Users forum](https://www.raspberrypi.org/forums/viewforum.php?f=29&sid=9bbc277968ad953e77749b255d0ce3a2)
Please check the Raspberry Pi [general discussion forum](https://forums.raspberrypi.com/viewforum.php?f=63) if you have a support question.
# Rescue image
If the Raspberry Pi4 is not booting, then it's very unlikely that the EEPROM is corrupted. The first thing that you should check is that the OS image was correctly installed using the Raspberry Pi Imager which is available on the [downloads page](https://www.raspberrypi.org/downloads/). If that doesn't work or you wish to revert EEPROM configuration changes to factory defaults then you can also create an EEPROM recovery SD card image using the Raspberry Pi Imager.
# Reset to factory defaults
To reset the bootloader back to factory defaults use [Raspberry Pi Imager](https://www.raspberrypi.com/software/) to write an EEPROM update image to a spare SD card. Select `Misc utility images` under the `Operating System` tab.
# Bootloader documentation
* [The boot folder](https://www.raspberrypi.org/documentation/configuration/boot_folder.md)
* [Config.txt boot options](https://www.raspberrypi.org/documentation/configuration/config-txt/boot.md)
* [Bootloader EEPROM](https://www.raspberrypi.org/documentation/hardware/raspberrypi/booteeprom.md)
* [Bootloader configuration](https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711_bootloader_config.md)
# Bug reports
Bootloader bugs are especially difficult to describe because there's no display. Where possible please include the following information in order to help identify the problem.
* EEPROM version (vcgencmd bootloader_version or the pieeprom filename)
* EEPROM config (from rpi-eeprom-config)
* UART trace using USB serial cable
* Wireshark trace for network boot. Filtering for DHCP and TFTP protocols or by mac-address for the Pi4 is fine.
# BETA versions of the bootloader
If you want to try the BETA version of the bootloader then we recommend that you always try this with a spare sd-card and are comfortable with using the rescue image. For debugging you may find a USB serial cable useful.
Beta features are always documented [here](https://github.com/raspberrypi/rpi-eeprom/blob/master/firmware/release-notes.md) first. Once the configuration has stabalised then the [Bootloader configuration](https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711_bootloader_config.md) will be updated, however, there's normally a bit of a delay in order to allow official documentation to be reviewed.
* [Config.txt boot options](https://www.raspberrypi.com/documentation/computers/config_txt.html#boot-options)
* [Bootloader EEPROM](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-4-boot-eeprom)
* [Bootloader configuration](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-4-bootloader-configuration)
* [Updating the Compute Module 4 bootloader](https://www.raspberrypi.com/documentation/computers/compute-module.html#cm4bootloader)
* [Release notes](firmware/release-notes.md)
* [Releases](releases.md)

9
debian/.gitignore vendored Normal file
View File

@@ -0,0 +1,9 @@
.debhelper/
debhelper-build-stamp
files
rpi-eeprom/
rpi-eeprom-images/
*.debhelper.log
*.debhelper
*.substvars
*.1

28
debian/LICENCE.bootloader vendored Normal file
View File

@@ -0,0 +1,28 @@
Copyright (c) 2019, Raspberry Pi (Trading) Ltd.
All rights reserved.
Redistribution. Redistribution and use in binary form, without
modification, are permitted provided that the following conditions are
met:
* This software may only be used for the purposes of developing for,
running or using a Raspberry Pi device.
* Redistributions must reproduce the above copyright notice and the
following disclaimer in the documentation and/or other materials
provided with the distribution.
* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.

1088
debian/changelog vendored Normal file

File diff suppressed because it is too large Load Diff

1
debian/compat vendored Normal file
View File

@@ -0,0 +1 @@
11

29
debian/control vendored Normal file
View File

@@ -0,0 +1,29 @@
Source: rpi-eeprom
Section: misc
Priority: optional
Maintainer: Serge Schneider <serge@raspberrypi.org>
Build-Depends: debhelper (>= 11), help2man, python3-minimal
Standards-Version: 4.1.3
Homepage: https://github.com/raspberrypi/rpi-eeprom/
Vcs-Browser: https://github.com/raspberrypi/rpi-eeprom/
Vcs-Git: https://github.com/raspberrypi/rpi-eeprom.git
Package: rpi-eeprom
Architecture: armhf arm64
Depends: ${shlibs:Depends}, ${misc:Depends}, libraspberrypi-bin, python3,
binutils, raspberrypi-bootloader (>= 1.20190819), pciutils
Breaks: rpi-eeprom-images (<<7.2)
Replaces: rpi-eeprom-images (<<7.2)
Recommends: flashrom
Provides: rpi-eeprom-images
Description: Raspberry Pi 4 boot EEPROM updater
Checks whether the Raspberry Pi bootloader EEPROM is up-to-date and updates
the EEPROM.
Package: rpi-eeprom-images
Architecture: armhf arm64
Depends: ${misc:Depends}, rpi-eeprom (>=7.2)
Priority: optional
Section: oldlibs
Description: transitional package
This is a transitional package. It can safely be removed.

1
debian/copyright vendored Symbolic link
View File

@@ -0,0 +1 @@
../LICENSE

1
debian/default/rpi-eeprom-update vendored Normal file
View File

@@ -0,0 +1 @@
FIRMWARE_RELEASE_STATUS="default"

3
debian/gbp.conf vendored Normal file
View File

@@ -0,0 +1,3 @@
[DEFAULT]
upstream-tree = master
debian-branch = debian/buster

0
debian/patches/series vendored Normal file
View File

2
debian/rpi-eeprom.docs vendored Normal file
View File

@@ -0,0 +1,2 @@
debian/LICENCE.bootloader
firmware/release-notes.md

12
debian/rpi-eeprom.install vendored Normal file
View File

@@ -0,0 +1,12 @@
rpi-eeprom-config usr/bin/
rpi-eeprom-update usr/bin/
rpi-eeprom-digest usr/bin/
debian/default/ etc/
firmware/default lib/firmware/raspberrypi/bootloader/
firmware/latest lib/firmware/raspberrypi/bootloader/
firmware/critical lib/firmware/raspberrypi/bootloader/
firmware/stable lib/firmware/raspberrypi/bootloader/
firmware/beta lib/firmware/raspberrypi/bootloader/
firmware/release-notes.md lib/firmware/raspberrypi/bootloader/

2
debian/rpi-eeprom.manpages vendored Normal file
View File

@@ -0,0 +1,2 @@
debian/rpi-eeprom-update.1
debian/rpi-eeprom-config.1

39
debian/rpi-eeprom.postinst vendored Normal file
View File

@@ -0,0 +1,39 @@
#!/bin/sh
# postinst script for rpi-eeprom
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <postinst> `abort-remove'
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see https://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
configure)
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

40
debian/rpi-eeprom.postrm vendored Normal file
View File

@@ -0,0 +1,40 @@
#!/bin/sh
# postrm script for rpi-eeprom
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <overwriter>
# <overwriter-version>
# for details, see https://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
purge)
rm -rf /var/lib/raspberrypi/bootloader/backup/
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

38
debian/rpi-eeprom.prerm vendored Normal file
View File

@@ -0,0 +1,38 @@
#!/bin/sh
# prerm script for rpi-eeprom
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see https://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
remove|upgrade|deconfigure)
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

View File

@@ -0,0 +1,11 @@
[Unit]
Description=Check for Raspberry Pi EEPROM updates
After=boot.mount
[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/usr/bin/rpi-eeprom-update -s -a
[Install]
WantedBy=multi-user.target

27
debian/rules vendored Executable file
View File

@@ -0,0 +1,27 @@
#!/usr/bin/make -f
#export DH_VERBOSE = 1
include /usr/share/dpkg/pkg-info.mk
%:
dh $@
override_dh_installsystemd:
dh_installsystemd --name=rpi-eeprom-update
override_dh_auto_build: debian/rpi-eeprom-update.1 debian/rpi-eeprom-config.1
override_dh_install:
mkdir -p debian/rpi-eeprom/var/lib/raspberrypi/bootloader/backup/
dh_install
debian/rpi-eeprom-update.1:
help2man -N --version-string="${DEB_VERSION_UPSTREAM}" --help-option="-h" \
--name="Checks whether the Raspberry Pi bootloader EEPROM is \
up-to-date and updates the EEPROM" \
--output=$@ ./rpi-eeprom-update
debian/rpi-eeprom-config.1:
help2man -N --version-string="${DEB_VERSION_UPSTREAM}" --help-option="-h" \
--name="Bootloader EEPROM configuration tool for the Raspberry Pi 4B" \
--output=$@ ./rpi-eeprom-config

1
debian/source/format vendored Normal file
View File

@@ -0,0 +1 @@
3.0 (quilt)

1
debian/source/lintian-overrides vendored Normal file
View File

@@ -0,0 +1 @@
debian-copyright-is-symlink

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

1
firmware/default Symbolic link
View File

@@ -0,0 +1 @@
critical

1
firmware/latest Symbolic link
View File

@@ -0,0 +1 @@
stable

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More