Skip to content
Snippets Groups Projects
Commit f53b68e0 authored by Jagadeesh Ujja's avatar Jagadeesh Ujja Committed by Thomas Abraham
Browse files

sgi/secure_boot: copy the prebuilt nor2 flash image


In case of automated execution, it is not possible to manually register
the secure keys into secure variable storage. So copy a prebuilt nor
flash image that is pre-loaded with these keys.

Change-Id: I5fd8607827e236374a998fb5161b843b30f1dbbb
Signed-off-by: Jagadeesh Ujja's avatarJagadeesh Ujja <jagadeesh.ujja@arm.com>
parent 86e10b15
No related branches found
No related tags found
No related merge requests found
...@@ -73,6 +73,7 @@ while getopts "p:n:a:j:h" opt; do ...@@ -73,6 +73,7 @@ while getopts "p:n:a:j:h" opt; do
platform=$OPTARG platform=$OPTARG
;; ;;
j) j)
automate=1
;; ;;
n|a) n|a)
;; ;;
...@@ -89,6 +90,9 @@ __parse_params_validate ...@@ -89,6 +90,9 @@ __parse_params_validate
platform_dir="platforms/$platform" platform_dir="platforms/$platform"
pushd $platform_dir pushd $platform_dir
set -- "$@" "-f" "busybox" set -- "$@" "-f" "busybox"
if [[ $automate == 1 ]]; then
wget http://files.oss.arm.com/releases/SSG-SW/prebuilts/refinfra/secure_boot/nor2_flash.img
fi
source ./run_model.sh source ./run_model.sh
# if not model failed to start, return # if not model failed to start, return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment