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