blob: e91efb441e34b6398ec3e3dc3f5b7b67bae553a2 [file] [log] [blame]
Fathi Boudra422bf772019-12-02 11:10:16 +02001#
Chris Kay3d2ae332022-11-15 11:32:03 +00002# Copyright (c) 2019-2022 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" {
Chris Kay78ea2c32022-11-15 12:24:24 +000015 message "Secure Partition booting"
Fathi Boudra422bf772019-12-02 11:10:16 +020016 }
Fathi Boudra422bf772019-12-02 11:10:16 +020017}
18
19expect {
20 "MmMain Done!" {
Chris Kay78ea2c32022-11-15 12:24:24 +000021 message "Secure Partition booted"
Fathi Boudra422bf772019-12-02 11:10:16 +020022 }
Fathi Boudra422bf772019-12-02 11:10:16 +020023}
24
25expect {
26 "Received event - 0xC4000041 on cpu" {
Chris Kay78ea2c32022-11-15 12:24:24 +000027 message "Received event"
Fathi Boudra422bf772019-12-02 11:10:16 +020028 }
Fathi Boudra422bf772019-12-02 11:10:16 +020029}
30
31expect {
32 "MmEntryPoint Done" {
Chris Kay78ea2c32022-11-15 12:24:24 +000033 message "Secure Partition done"
Fathi Boudra422bf772019-12-02 11:10:16 +020034 }
Fathi Boudra422bf772019-12-02 11:10:16 +020035}
36
37exit_uart 0