Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 1 | # |
Leonardo Sandoval | 579c737 | 2020-10-23 15:23:32 -0500 | [diff] [blame] | 2 | # Copyright (c) 2019-2020 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" { |
| 15 | puts "<<Secure Partition booting>>" |
| 16 | } |
| 17 | timeout { |
| 18 | exit_uart -1 |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | expect { |
| 23 | "MmMain Done!" { |
| 24 | puts "<<Secure Partition booted>>" |
| 25 | } |
| 26 | timeout { |
| 27 | exit_uart -1 |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | expect { |
| 32 | "Received event - 0xC4000041 on cpu" { |
| 33 | puts "<<Received event>>" |
| 34 | } |
| 35 | timeout { |
| 36 | exit_uart -1 |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | expect { |
| 41 | "MmEntryPoint Done" { |
| 42 | puts "<<Secure Partition done>>" |
| 43 | } |
| 44 | timeout { |
| 45 | exit_uart -1 |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | exit_uart 0 |