san: rokuflash: svin builds

This commit is contained in:
2023-01-17 15:31:22 +00:00
parent afb50295ef
commit 875b05dfdb

13
san
View File

@@ -4,7 +4,7 @@ set -o vi
alias ll='ls -la' alias ll='ls -la'
source /nvram/san.conf [ -f /nvram/san.conf ] && source /nvram/san.conf
__config(){ __config(){
local GATEWAY=$(ip route show 0.0.0.0/0 | sed 's/default via \([0-9.]*\) dev .*/\1/') local GATEWAY=$(ip route show 0.0.0.0/0 | sed 's/default via \([0-9.]*\) dev .*/\1/')
if [ -z $SERVER_IP ]; then if [ -z $SERVER_IP ]; then
@@ -150,7 +150,7 @@ update_firmware()
fi fi
} }
__descr " rokuflash [active|both] [main|main2|bailey_cert|golden|<acramfs path>] - empty flashes from build area" __descr " rokuflash [active|both] [main|main2|svin|nrd|golden|<acramfs path>] - empty flashes from build area"
rokuflash() rokuflash()
{ {
REMOTE_ACRAMFS="" REMOTE_ACRAMFS=""
@@ -161,11 +161,14 @@ rokuflash()
active|both) active|both)
UPDATE_PARTITION="$1" UPDATE_PARTITION="$1"
;; ;;
main|main2|main.svin) main|main2)
BUILD_AREA="$1" BUILD_AREA="$1"
;; ;;
bailey_cert) svin)
BUILD_AREA="r10.5.0.13000" BUILD_AREA="firmware/main"
;;
cert)
BUILD_AREA="firmware/nrd6.1_r12.0"
;; ;;
golden) golden)
REMOTE_ACRAMFS="golden/acramfs.${ROKU_PLATFORM}.bin" REMOTE_ACRAMFS="golden/acramfs.${ROKU_PLATFORM}.bin"