Sandrine Bailleux | 57bffcd | 2020-08-04 14:46:06 +0200 | [diff] [blame] | 1 | # |
Chris Kay | 581893e | 2022-11-15 11:32:03 +0000 | [diff] [blame] | 2 | # Copyright (c) 2020-2022, Arm Limited. All rights reserved. |
Sandrine Bailleux | 57bffcd | 2020-08-04 14:46:06 +0200 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | source [file join [file dirname [info script]] handle-arguments.inc] |
| 8 | |
| 9 | expect { |
Olivier Deprez | 7748b05 | 2021-10-06 12:07:09 +0200 | [diff] [blame] | 10 | "Booting Secure Partition" { |
Chris Kay | c4f0072 | 2022-11-15 12:24:24 +0000 | [diff] [blame] | 11 | message "SP entry" |
Sandrine Bailleux | 57bffcd | 2020-08-04 14:46:06 +0200 | [diff] [blame] | 12 | } |
Sandrine Bailleux | 57bffcd | 2020-08-04 14:46:06 +0200 | [diff] [blame] | 13 | } |
| 14 | |
Madhukar Pappireddy | 5bc6cdd | 2021-01-28 14:45:08 -0600 | [diff] [blame] | 15 | # 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 | |
| 21 | source [file join [file dirname [info script]] uart-hold.inc] |