Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 1 | # |
Chris Kay | 3d2ae33 | 2022-11-15 11:32:03 +0000 | [diff] [blame] | 2 | # Copyright (c) 2019-2022 Arm Limited. All rights reserved. |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 3 | # |
4 | # SPDX-License-Identifier: BSD-3-Clause | ||||
5 | # | ||||
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 6 | # Expect script for Standalone MM partition UART2 |
7 | # | ||||
8 | # Refer to handle-arguments.inc for the list of parameters. | ||||
9 | # | ||||
10 | |||||
11 | source [file join [file dirname [info script]] handle-arguments.inc] | ||||
12 | |||||
13 | expect { | ||||
14 | "SPM Version" { | ||||
Chris Kay | 78ea2c3 | 2022-11-15 12:24:24 +0000 | [diff] [blame] | 15 | message "Secure Partition booting" |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 16 | } |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 17 | } |
18 | |||||
19 | expect { | ||||
20 | "MmMain Done!" { | ||||
Chris Kay | 78ea2c3 | 2022-11-15 12:24:24 +0000 | [diff] [blame] | 21 | message "Secure Partition booted" |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 22 | } |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 23 | } |
24 | |||||
25 | expect { | ||||
26 | "Received event - 0xC4000041 on cpu" { | ||||
Chris Kay | 78ea2c3 | 2022-11-15 12:24:24 +0000 | [diff] [blame] | 27 | message "Received event" |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 28 | } |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 29 | } |
30 | |||||
31 | expect { | ||||
32 | "MmEntryPoint Done" { | ||||
Chris Kay | 78ea2c3 | 2022-11-15 12:24:24 +0000 | [diff] [blame] | 33 | message "Secure Partition done" |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 34 | } |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 35 | } |
36 | |||||
37 | exit_uart 0 |