blob: a6a2536687320cce80306b4a95dd1d96a1860138 [file] [log] [blame]
Fathi Boudra422bf772019-12-02 11:10:16 +02001#
Leonardo Sandoval579c7372020-10-23 15:23:32 -05002# Copyright (c) 2019-2020 Arm Limited. All rights reserved.
Fathi Boudra422bf772019-12-02 11:10:16 +02003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
Fathi Boudra422bf772019-12-02 11:10:16 +02006# Expect script for Standalone MM partition UART2
7#
8# Refer to handle-arguments.inc for the list of parameters.
9#
10
11source [file join [file dirname [info script]] handle-arguments.inc]
12
13expect {
14 "SPM Version" {
15 puts "<<Secure Partition booting>>"
16 }
17 timeout {
18 exit_uart -1
19 }
20}
21
22expect {
23 "MmMain Done!" {
24 puts "<<Secure Partition booted>>"
25 }
26 timeout {
27 exit_uart -1
28 }
29}
30
31expect {
32 "Received event - 0xC4000041 on cpu" {
33 puts "<<Received event>>"
34 }
35 timeout {
36 exit_uart -1
37 }
38}
39
40expect {
41 "MmEntryPoint Done" {
42 puts "<<Secure Partition done>>"
43 }
44 timeout {
45 exit_uart -1
46 }
47}
48
49exit_uart 0