|
From da37f7b051fe6833e25e78184cc9217dd4379187 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
|
|
Date: Mon, 23 Mar 2020 10:10:55 +0100
|
|
Subject: [PATCH] rpi-eeprom-update: OpenWrt defaults
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
|
|
---
|
|
rpi-eeprom-update | 6 +++---
|
|
rpi-eeprom-update-default | 5 +++--
|
|
2 files changed, 6 insertions(+), 5 deletions(-)
|
|
|
|
--- a/rpi-eeprom-update
|
|
+++ b/rpi-eeprom-update
|
|
@@ -24,14 +24,14 @@ else
|
|
fi
|
|
|
|
# May be used to select beta or stable releases instead of the default critical updates.
|
|
-FIRMWARE_RELEASE_STATUS=${FIRMWARE_RELEASE_STATUS:-critical}
|
|
+FIRMWARE_RELEASE_STATUS=${FIRMWARE_RELEASE_STATUS:-stable}
|
|
FIRMWARE_IMAGE_DIR=${FIRMWARE_IMAGE_DIR:-${FIRMWARE_ROOT}/${FIRMWARE_RELEASE_STATUS}}
|
|
-FIRMWARE_BACKUP_DIR=${FIRMWARE_BACKUP_DIR:-/var/lib/raspberrypi/bootloader/backup}
|
|
+FIRMWARE_BACKUP_DIR=${FIRMWARE_BACKUP_DIR:-${FIRMWARE_ROOT}/backup}
|
|
ENABLE_VL805_UPDATES=${ENABLE_VL805_UPDATES:-1}
|
|
USE_FLASHROM=${USE_FLASHROM:-0}
|
|
RECOVERY_BIN=${RECOVERY_BIN:-${FIRMWARE_ROOT}/${FIRMWARE_RELEASE_STATUS}/recovery.bin}
|
|
BOOTFS=${BOOTFS:-/boot}
|
|
-VCMAILBOX=${VCMAILBOX:-/opt/vc/bin/vcmailbox}
|
|
+VCMAILBOX=${VCMAILBOX:-/usr/bin/vcmailbox}
|
|
|
|
EXIT_SUCCESS=0
|
|
EXIT_UPDATE_REQUIRED=1
|
|
--- a/rpi-eeprom-update-default
|
|
+++ b/rpi-eeprom-update-default
|
|
@@ -1,8 +1,9 @@
|
|
|
|
FIRMWARE_ROOT=/lib/firmware/raspberrypi/bootloader
|
|
-FIRMWARE_RELEASE_STATUS="critical"
|
|
+FIRMWARE_RELEASE_STATUS="stable"
|
|
FIRMWARE_IMAGE_DIR="${FIRMWARE_ROOT}/${FIRMWARE_RELEASE_STATUS}"
|
|
-FIRMWARE_BACKUP_DIR="/var/lib/raspberrypi/bootloader/backup"
|
|
+FIRMWARE_BACKUP_DIR="${FIRMWARE_ROOT}/backup"
|
|
BOOTFS=/boot
|
|
USE_FLASHROM=0
|
|
EEPROM_CONFIG_HOOK=
|
|
+VCMAILBOX=/usr/bin/vcmailbox
|