blob: 90676e1ff3b53368bc28b96505d6620ba91280d1 [file] [log] [blame]
#
# Copyright (c) 2019-2025 Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
# Expect script for Trusted Firmware + EDK2 UART0
#
# Refer to handle-arguments.inc for the list of parameters.
#
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_string "UEFI Interactive Shell" "EDK2 shell starting"
expect {
"any other key to continue." {
send "\r"
}
}
expect {
"Shell>" {
send "fs0:\r"
}
}
expect {
"FS0:" {
send "HelloWorld.efi\r"
message "Loading UEFI application"
}
}
expect {
"FS0:" {
message "UEFI application loaded"
}
}
exit_uart 0