You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.5 KiB

  1. From da37f7b051fe6833e25e78184cc9217dd4379187 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
  3. Date: Mon, 23 Mar 2020 10:10:55 +0100
  4. Subject: [PATCH] rpi-eeprom-update: OpenWrt defaults
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
  9. ---
  10. rpi-eeprom-update | 6 +++---
  11. rpi-eeprom-update-default | 5 +++--
  12. 2 files changed, 6 insertions(+), 5 deletions(-)
  13. --- a/rpi-eeprom-update
  14. +++ b/rpi-eeprom-update
  15. @@ -24,9 +24,9 @@ else
  16. fi
  17. # Selects the release sub-directory
  18. -FIRMWARE_RELEASE_STATUS=${FIRMWARE_RELEASE_STATUS:-default}
  19. +FIRMWARE_RELEASE_STATUS=${FIRMWARE_RELEASE_STATUS:-stable}
  20. FIRMWARE_IMAGE_DIR=${FIRMWARE_IMAGE_DIR:-${FIRMWARE_ROOT}/${FIRMWARE_RELEASE_STATUS}}
  21. -FIRMWARE_BACKUP_DIR=${FIRMWARE_BACKUP_DIR:-/var/lib/raspberrypi/bootloader/backup}
  22. +FIRMWARE_BACKUP_DIR=${FIRMWARE_BACKUP_DIR:-${FIRMWARE_ROOT}/backup}
  23. ENABLE_VL805_UPDATES=${ENABLE_VL805_UPDATES:-1}
  24. RECOVERY_BIN=${RECOVERY_BIN:-${FIRMWARE_ROOT}/${FIRMWARE_RELEASE_STATUS}/recovery.bin}
  25. BOOTFS=${BOOTFS:-/boot}
  26. --- a/rpi-eeprom-update-default
  27. +++ b/rpi-eeprom-update-default
  28. @@ -1,8 +1,8 @@
  29. FIRMWARE_ROOT=/lib/firmware/raspberrypi/bootloader
  30. -FIRMWARE_RELEASE_STATUS="critical"
  31. +FIRMWARE_RELEASE_STATUS="stable"
  32. FIRMWARE_IMAGE_DIR="${FIRMWARE_ROOT}/${FIRMWARE_RELEASE_STATUS}"
  33. -FIRMWARE_BACKUP_DIR="/var/lib/raspberrypi/bootloader/backup"
  34. +FIRMWARE_BACKUP_DIR="${FIRMWARE_ROOT}/backup"
  35. BOOTFS=/boot
  36. USE_FLASHROM=0
  37. EEPROM_CONFIG_HOOK=