tc2: update expect script

Updated/added expect script for TC2 platform:
1. Updated SPM expect script to expect only SP logs
2. Added a separate expect script for FIT image logs

Change-Id: I3781b64ba4b409abe72084a61843afb938a05831
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
diff --git a/expect-lava/spm-cactus-sp-uart1.exp b/expect-lava/spm-cactus-sp-uart1.exp
index 3da6bc2..3341a1a 100644
--- a/expect-lava/spm-cactus-sp-uart1.exp
+++ b/expect-lava/spm-cactus-sp-uart1.exp
@@ -1,12 +1,9 @@
 #
-# Copyright (c) 2022, Arm Limited. All rights reserved.
+# Copyright (c) 2022-2024, Arm Limited. All rights reserved.
 #
 # SPDX-License-Identifier: BSD-3-Clause
 #
 
-# Trusted Firmware boot section
-source $ci_root/expect-lava/trusted-firmware.inc
-
 expect_string+=('i;Booting Secure Partition')
 
 source $ci_root/expect-lava/uart-hold.inc
diff --git a/expect-lava/tc-fitimage-busybox.exp b/expect-lava/tc-fitimage-busybox.exp
new file mode 100644
index 0000000..43ce9a1
--- /dev/null
+++ b/expect-lava/tc-fitimage-busybox.exp
@@ -0,0 +1,10 @@
+#
+# Copyright (c) 2024, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+# Wait for the login prompt
+expect_string+=("i;buildroot login:")
+
+expect_string+=("i;#;;;root")
diff --git a/expect/spm-cactus-sp-uart1.exp b/expect/spm-cactus-sp-uart1.exp
index 98767d3..5952ae2 100644
--- a/expect/spm-cactus-sp-uart1.exp
+++ b/expect/spm-cactus-sp-uart1.exp
@@ -1,14 +1,11 @@
 #
-# Copyright (c) 2021-2022, Arm Limited. All rights reserved.
+# Copyright (c) 2021-2024, Arm Limited. All rights reserved.
 #
 # SPDX-License-Identifier: BSD-3-Clause
 #
 
 source [file join [file dirname [info script]] handle-arguments.inc]
 
-# Trusted Firmware boot section
-source [file join [file dirname [info script]] trusted-firmware.inc]
-
 expect {
 	"Booting Secure Partition"  {
 		message "SP entry"
diff --git a/expect/tc-fitimage-busybox.exp b/expect/tc-fitimage-busybox.exp
new file mode 100644
index 0000000..d401fbd
--- /dev/null
+++ b/expect/tc-fitimage-busybox.exp
@@ -0,0 +1,17 @@
+#
+# Copyright (c) 2024, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+#
+
+source [file join [file dirname [info script]] utils.inc]
+source [file join [file dirname [info script]] handle-arguments.inc]
+
+expect {
+        "buildroot login:" {
+                send "root\n"
+        }
+}
+
+expect_string "#" "Linux Booted successfully"