feat(pmf): capture timestamps in bl stages

Added test_group to test bl-marker.
ci script will fail if pmf timecaptures are not present, in
the uart 0 log.

Signed-off-by: Thaddeus Serna <Thaddeus.Gonzalez-Serna@arm.com>
Change-Id: I7e7d2dcb119f1c209f871af34644f7745351ec9e
diff --git a/expect-lava/pmf-tfa-bl31-boot-exit.exp b/expect-lava/pmf-tfa-bl31-boot-exit.exp
new file mode 100644
index 0000000..9831562
--- /dev/null
+++ b/expect-lava/pmf-tfa-bl31-boot-exit.exp
@@ -0,0 +1,10 @@
+#
+# Copyright (c) 2023, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+# Expect script for Trusted Firmware Test Framework
+#
+
+prompt='PMF:cpu 0	tid 5'
+expect_string+=("i,${prompt}")
\ No newline at end of file
diff --git a/expect-lava/pmf-tfa-boot.exp b/expect-lava/pmf-tfa-boot.exp
new file mode 100644
index 0000000..543c26f
--- /dev/null
+++ b/expect-lava/pmf-tfa-boot.exp
@@ -0,0 +1,22 @@
+#
+# Copyright (c) 2023, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+# Expect script for Trusted Firmware Test Framework
+#
+
+prompt='PMF:cpu 0	tid 0'
+expect_string+=("i,${prompt}")
+
+prompt='PMF:cpu 0	tid 1'
+expect_string+=("i,${prompt}")
+
+prompt='PMF:cpu 0	tid 2'
+expect_string+=("i,${prompt}")
+
+prompt='PMF:cpu 0	tid 3'
+expect_string+=("i,${prompt}")
+
+prompt='PMF:cpu 0	tid 4'
+expect_string+=("i,${prompt}")
diff --git a/expect/pmf-tfa-bl31-boot-exit.exp b/expect/pmf-tfa-bl31-boot-exit.exp
new file mode 100644
index 0000000..c7c29f6
--- /dev/null
+++ b/expect/pmf-tfa-bl31-boot-exit.exp
@@ -0,0 +1,11 @@
+#
+# Copyright (c) 2023, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+# Expect script for Trusted Firmware Test Framework
+#
+
+source [file join [file dirname [info script]] handle-arguments.inc]
+
+expect_string "PMF:cpu 0	tid 5"
\ No newline at end of file
diff --git a/expect/pmf-tfa-boot.exp b/expect/pmf-tfa-boot.exp
new file mode 100644
index 0000000..e859e47
--- /dev/null
+++ b/expect/pmf-tfa-boot.exp
@@ -0,0 +1,15 @@
+#
+# Copyright (c) 2023, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+# Expect script for Trusted Firmware Test Framework
+#
+
+source [file join [file dirname [info script]] handle-arguments.inc]
+
+expect_string "PMF:cpu 0	tid 0"
+expect_string "PMF:cpu 0	tid 1"
+expect_string "PMF:cpu 0	tid 2"
+expect_string "PMF:cpu 0	tid 3"
+expect_string "PMF:cpu 0	tid 4"
diff --git a/group/tf-l1-boot-tests-misc/fvp-enable-runtime-instr,fvp-default:fvp-tftf-fip.tftf-aemv8a.runtime_instr-debug b/group/tf-l1-boot-tests-misc/fvp-enable-runtime-instr,fvp-default:fvp-tftf-fip.tftf-aemv8a.runtime_instr-debug
new file mode 100644
index 0000000..b452bbf
--- /dev/null
+++ b/group/tf-l1-boot-tests-misc/fvp-enable-runtime-instr,fvp-default:fvp-tftf-fip.tftf-aemv8a.runtime_instr-debug
@@ -0,0 +1,5 @@
+#
+# Copyright (c) 2023 Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
diff --git a/run_config/fvp-aemv8a.runtime_instr b/run_config/fvp-aemv8a.runtime_instr
new file mode 100755
index 0000000..f21864b
--- /dev/null
+++ b/run_config/fvp-aemv8a.runtime_instr
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+#
+# Copyright (c) 2023, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+generate_lava_job() {
+	local model="base-aemv8a"
+
+	uart="0" timeout="60" file="pmf-tfa-boot.exp" track_expect
+	uart="1" timeout="60" file="pmf-tfa-bl31-boot-exit.exp" track_expect
+	model="$model" gen_model_params
+	model="$model" gen_fvp_yaml
+
+}