Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame^] | 1 | # |
| 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 | |
| 13 | source [file join [file dirname [info script]] handle-arguments.inc] |
| 14 | |
| 15 | expect { |
| 16 | "SPM Version" { |
| 17 | puts "<<Secure Partition booting>>" |
| 18 | } |
| 19 | timeout { |
| 20 | exit_uart -1 |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | expect { |
| 25 | "MmMain Done!" { |
| 26 | puts "<<Secure Partition booted>>" |
| 27 | } |
| 28 | timeout { |
| 29 | exit_uart -1 |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | expect { |
| 34 | "Received event - 0xC4000041 on cpu" { |
| 35 | puts "<<Received event>>" |
| 36 | } |
| 37 | timeout { |
| 38 | exit_uart -1 |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | expect { |
| 43 | "MmEntryPoint Done" { |
| 44 | puts "<<Secure Partition done>>" |
| 45 | } |
| 46 | timeout { |
| 47 | exit_uart -1 |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | exit_uart 0 |