mirror of
https://github.com/raspberrypi/rpi-eeprom.git
synced 2026-01-21 14:53:32 +08:00
Compare commits
31 Commits
debian/bus
...
v2023.10.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f13b5789f5 | ||
|
|
a9d76cf703 | ||
|
|
ee72242f76 | ||
|
|
a75b0368e0 | ||
|
|
3b393d31ac | ||
|
|
e120a595d4 | ||
|
|
3271aba368 | ||
|
|
dbb6bfd9b9 | ||
|
|
2c35493e7f | ||
|
|
4f2d676b4e | ||
|
|
ac013de80e | ||
|
|
3ce1fd8823 | ||
|
|
e1971ba483 | ||
|
|
a8ca86532c | ||
|
|
9e5c0ed0c4 | ||
|
|
9147a1a1c6 | ||
|
|
f818c860b4 | ||
|
|
c2918a8ec6 | ||
|
|
3e2de88bcb | ||
|
|
fa281d3be1 | ||
|
|
d774d5794c | ||
|
|
299b1c7e12 | ||
|
|
0ef3adc1d4 | ||
|
|
df46db226e | ||
|
|
6950fff013 | ||
|
|
75d3a76046 | ||
|
|
4856a034e3 | ||
|
|
43477c6a91 | ||
|
|
abce28f9bc | ||
|
|
3c3dadb5b1 | ||
|
|
d82d08db06 |
@@ -1,5 +1,5 @@
|
|||||||
# rpi-eeprom
|
# 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 Pi 4 bootloader and VLI USB controller EEPROMs.
|
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 and Raspberry Pi 5 bootloaders EEPROM images.
|
||||||
|
|
||||||
# Support
|
# Support
|
||||||
Please check the Raspberry Pi [general discussion forum](https://forums.raspberrypi.com/viewforum.php?f=63) if you have a support question.
|
Please check the Raspberry Pi [general discussion forum](https://forums.raspberrypi.com/viewforum.php?f=63) if you have a support question.
|
||||||
@@ -12,5 +12,4 @@ To reset the bootloader back to factory defaults use [Raspberry Pi Imager](https
|
|||||||
* [Bootloader EEPROM](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-4-boot-eeprom)
|
* [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)
|
* [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)
|
* [Updating the Compute Module 4 bootloader](https://www.raspberrypi.com/documentation/computers/compute-module.html#cm4bootloader)
|
||||||
* [Release notes](firmware/release-notes.md)
|
* [Releases and release notes](releases.md)
|
||||||
* [Releases](releases.md)
|
|
||||||
|
|||||||
9
debian/.gitignore
vendored
9
debian/.gitignore
vendored
@@ -1,9 +0,0 @@
|
|||||||
.debhelper/
|
|
||||||
debhelper-build-stamp
|
|
||||||
files
|
|
||||||
rpi-eeprom/
|
|
||||||
rpi-eeprom-images/
|
|
||||||
*.debhelper.log
|
|
||||||
*.debhelper
|
|
||||||
*.substvars
|
|
||||||
*.1
|
|
||||||
28
debian/LICENCE.bootloader
vendored
28
debian/LICENCE.bootloader
vendored
@@ -1,28 +0,0 @@
|
|||||||
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
1088
debian/changelog
vendored
File diff suppressed because it is too large
Load Diff
1
debian/compat
vendored
1
debian/compat
vendored
@@ -1 +0,0 @@
|
|||||||
11
|
|
||||||
29
debian/control
vendored
29
debian/control
vendored
@@ -1,29 +0,0 @@
|
|||||||
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
1
debian/copyright
vendored
@@ -1 +0,0 @@
|
|||||||
../LICENSE
|
|
||||||
1
debian/default/rpi-eeprom-update
vendored
1
debian/default/rpi-eeprom-update
vendored
@@ -1 +0,0 @@
|
|||||||
FIRMWARE_RELEASE_STATUS="default"
|
|
||||||
3
debian/gbp.conf
vendored
3
debian/gbp.conf
vendored
@@ -1,3 +0,0 @@
|
|||||||
[DEFAULT]
|
|
||||||
upstream-tree = master
|
|
||||||
debian-branch = debian/buster
|
|
||||||
0
debian/patches/series
vendored
0
debian/patches/series
vendored
2
debian/rpi-eeprom.docs
vendored
2
debian/rpi-eeprom.docs
vendored
@@ -1,2 +0,0 @@
|
|||||||
debian/LICENCE.bootloader
|
|
||||||
firmware/release-notes.md
|
|
||||||
12
debian/rpi-eeprom.install
vendored
12
debian/rpi-eeprom.install
vendored
@@ -1,12 +0,0 @@
|
|||||||
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
2
debian/rpi-eeprom.manpages
vendored
@@ -1,2 +0,0 @@
|
|||||||
debian/rpi-eeprom-update.1
|
|
||||||
debian/rpi-eeprom-config.1
|
|
||||||
39
debian/rpi-eeprom.postinst
vendored
39
debian/rpi-eeprom.postinst
vendored
@@ -1,39 +0,0 @@
|
|||||||
#!/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
40
debian/rpi-eeprom.postrm
vendored
@@ -1,40 +0,0 @@
|
|||||||
#!/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
38
debian/rpi-eeprom.prerm
vendored
@@ -1,38 +0,0 @@
|
|||||||
#!/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
|
|
||||||
11
debian/rpi-eeprom.rpi-eeprom-update.service
vendored
11
debian/rpi-eeprom.rpi-eeprom-update.service
vendored
@@ -1,11 +0,0 @@
|
|||||||
[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
27
debian/rules
vendored
@@ -1,27 +0,0 @@
|
|||||||
#!/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
1
debian/source/format
vendored
@@ -1 +0,0 @@
|
|||||||
3.0 (quilt)
|
|
||||||
1
debian/source/lintian-overrides
vendored
1
debian/source/lintian-overrides
vendored
@@ -1 +0,0 @@
|
|||||||
debian-copyright-is-symlink
|
|
||||||
1
firmware-2711/beta
Symbolic link
1
firmware-2711/beta
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
latest/
|
||||||
1
firmware-2711/critical
Symbolic link
1
firmware-2711/critical
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
default/
|
||||||
BIN
firmware-2711/latest/pieeprom-2023-05-11.bin
Normal file
BIN
firmware-2711/latest/pieeprom-2023-05-11.bin
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user