blob: fac256ed83b6b0ff9a20430a082b9b7424027de9 [file] [log] [blame]
Sandrine Bailleux57bffcd2020-08-04 14:46:06 +02001#
Chris Kay581893e2022-11-15 11:32:03 +00002# Copyright (c) 2020-2022, Arm Limited. All rights reserved.
Sandrine Bailleux57bffcd2020-08-04 14:46:06 +02003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7source [file join [file dirname [info script]] handle-arguments.inc]
8
9expect {
Olivier Deprez7748b052021-10-06 12:07:09 +020010 "Booting Secure Partition" {
Chris Kayc4f00722022-11-15 12:24:24 +000011 message "SP entry"
Sandrine Bailleux57bffcd2020-08-04 14:46:06 +020012 }
Sandrine Bailleux57bffcd2020-08-04 14:46:06 +020013}
14
Madhukar Pappireddy5bc6cdd2021-01-28 14:45:08 -060015# UART2 captures prints from SP0. If we exit from here, expect script will stop
16# capturing the output from telnet process spawned for tracking uart2 console.
17# Hence, we need to hold the uart such that the expect script captures the
18# outputs to uart log. We do this by configuring timeout to never expire and
19# expecting an unexpected string such as "FOOBAR". Refer uart-hold.inc
20
21source [file join [file dirname [info script]] uart-hold.inc]