feat(rd1ae): Add runtime script for rd1ae platform
This patch adds a runtime script configuration and build
generation scripts, along with the necessary expect logs
and port configuration.
Change-Id: I7a5b2d30c8a17332d347eef781e41dad6d6167ec
Signed-off-by: Divin Raj <divin.raj@arm.com>
diff --git a/expect/rd1ae-tf.exp b/expect/rd1ae-tf.exp
new file mode 100644
index 0000000..64ac3f6
--- /dev/null
+++ b/expect/rd1ae-tf.exp
@@ -0,0 +1,23 @@
+#
+# Copyright (c) 2024 Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+# Expect script for booting Yocto linux on RD-1 AE
+#
+
+source [file join [file dirname [info script]] utils.inc]
+source [file join [file dirname [info script]] handle-arguments.inc]
+
+# RD-1-AE BL2
+expect {
+ "BL2: Built :" {
+ message "Booting BL2"
+ }
+}
+
+expect {
+ "BL2: Booting BL31" {
+ message "Booting BL31"
+ }
+}
diff --git a/expect/rd1ae-yocto.exp b/expect/rd1ae-yocto.exp
new file mode 100644
index 0000000..9f5f084
--- /dev/null
+++ b/expect/rd1ae-yocto.exp
@@ -0,0 +1,27 @@
+#
+# Copyright (c) 2024 Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+# Expect script for booting Yocto linux on RD-1 AE
+#
+
+source [file join [file dirname [info script]] utils.inc]
+source [file join [file dirname [info script]] handle-arguments.inc]
+
+# Uboot
+expect {
+ "U-Boot" {
+ message "Entered Uboot"
+ }
+}
+
+# Linux kernel boot section
+source [file join [file dirname [info script]] linux.inc]
+
+# Yocto
+expect {
+ "fvp-rd-kronos login:" {
+ message "Kronos Login Prompt Received"
+ }
+}