Sync run_config files with internal CI
Signed-off-by: Zelalem <zelalem.aweke@arm.com>
Change-Id: I0b8e637832f85ad9f36355632ece115c696a8274
diff --git a/run_config/fvp-aemv8a.NVM_reboot b/run_config/fvp-aemv8a.NVM_reboot
new file mode 100644
index 0000000..cca71c2
--- /dev/null
+++ b/run_config/fvp-aemv8a.NVM_reboot
@@ -0,0 +1,34 @@
+#!/bin/bash
+#
+# Copyright (c) 2019, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+post_tf_archive() {
+ echo "Creating flash files which serve as Non-volatile Memory across reboots"
+ rm -f "$archive/flash0"
+ rm -f "$archive/flash1"
+ touch "$archive/flash0"
+ touch "$archive/flash1"
+
+ set_run_env "run_tftf_reboot_tests" "1"
+ # Contents of Non Volatile Memory are written to this file
+ set_run_env "NVM_file" "flash0"
+}
+
+post_fetch_tf_resource() {
+ uart0_log=$(echo uart-0-`date "+%H:%M:%S"`.log)
+ uart1_log=$(echo uart-1-`date "+%H:%M:%S"`.log)
+ set_run_env "uart0_file" "$uart0_log"
+ set_run_env "uart1_file" "$uart1_log"
+
+ model="base-aemv8a" retain_flash="1" secure_memory="0" \
+ cluster_0_num_cores="1" cluster_1_num_cores="1" \
+ cache_state_modelled="0" \
+ uart0_out="$uart0_log" \
+ uart1_out="$uart1_log" \
+ flashloader0_fwrite="flash0" \
+ flashloader1_fwrite="flash1" \
+ gen_model_params
+}