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.

47 lines
1.8 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,13 +24,13 @@ 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. -VCMAILBOX=${VCMAILBOX:-/opt/vc/bin/vcmailbox}
  27. +VCMAILBOX=${VCMAILBOX:-/usr/bin/vcmailbox}
  28. CM4_ENABLE_RPI_EEPROM_UPDATE=${CM4_ENABLE_RPI_EEPROM_UPDATE:-0}
  29. RPI_EEPROM_UPDATE_CONFIG_TOOL="${RPI_EEPROM_UPDATE_CONFIG_TOOL:-raspi-config}"
  30. --- a/rpi-eeprom-update-default
  31. +++ b/rpi-eeprom-update-default
  32. @@ -1,8 +1,9 @@
  33. FIRMWARE_ROOT=/lib/firmware/raspberrypi/bootloader
  34. -FIRMWARE_RELEASE_STATUS="critical"
  35. +FIRMWARE_RELEASE_STATUS="stable"
  36. FIRMWARE_IMAGE_DIR="${FIRMWARE_ROOT}/${FIRMWARE_RELEASE_STATUS}"
  37. -FIRMWARE_BACKUP_DIR="/var/lib/raspberrypi/bootloader/backup"
  38. +FIRMWARE_BACKUP_DIR="${FIRMWARE_ROOT}/backup"
  39. BOOTFS=/boot
  40. USE_FLASHROM=0
  41. EEPROM_CONFIG_HOOK=
  42. +VCMAILBOX=/usr/bin/vcmailbo