FVP: Update scripts to run GPT image
Updated scripts to:
1. Build FIP with GPT support enabled
2. Create GPT image with FIP binary inside it as a partition
3. Run GPT image on FVP base platform
Change-Id: Ia43c5e20bd0f4127b8bbd3ef488b683191d21b62
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
diff --git a/run_config/fvp-tftf.gpt b/run_config/fvp-tftf.gpt
new file mode 100644
index 0000000..1225062
--- /dev/null
+++ b/run_config/fvp-tftf.gpt
@@ -0,0 +1,21 @@
+#!/usr/bin/env bash
+#
+# Copyright (c) 2021 Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+fetch_tf_resource() {
+ uart="0" file="tftf.exp" track_expect
+ uart="1" file="hold_uart.exp" track_expect
+
+ payload_type="tftf" gen_fvp_yaml_template
+}
+
+post_tf_build() {
+ build_fip BL33="$archive/tftf.bin"
+}
+
+post_tf_archive() {
+ gen_gpt_bin "$archive/fip.bin"
+}