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.roxlattables.tspd_panic b/run_config/fvp-aemv8a.roxlattables.tspd_panic
new file mode 100644
index 0000000..31a47af
--- /dev/null
+++ b/run_config/fvp-aemv8a.roxlattables.tspd_panic
@@ -0,0 +1,27 @@
+#!/bin/bash
+#
+# Copyright (c) 2020, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+pre_tf_build() {
+ # Apply a patch which attempts to write to the translation tables (by
+ # changing the memory attributes of a region) immediately after the
+ # translation tables have been made read-only, triggering a synchronous
+ # exception.
+ apply_tf_patch "readonly_xlat_tables/arm_tsp_setup_write_after_readonly.patch"
+ # Apply patch which allows a 'Panic at PC:...' message to be printed
+ # when the synchronous exception happens.
+ apply_tf_patch "readonly_xlat_tables/tsp_sync_exception_print_panic_message.patch"
+}
+
+post_tf_archive() {
+ model="base-aemv8a" gen_model_params
+}
+
+fetch_tf_resource() {
+ uart="0" timeout="60" file="timeout.exp" track_expect
+ uart="1" timeout="60" file="crash_panic.exp" track_expect
+ uart="2" timeout="60" file="readonly_el1_xlat_tables.exp" track_expect
+}