blob: 7133da61b1b38005dd5990a5cb5216dde4ae72d3 [file] [log] [blame]
Leonardo Sandoval6eff3f72021-05-03 11:12:37 -05001#
2# Copyright (c) 2021, Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6# Script to interact with AArch64 Trusted Firmware-A.
7#
8
9# Initial boot message won't be present if we're starting at BL31. Skip waiting
10# for them by inspecting the environment variable 'skip_early_boot_msgs'.
11if [ -z "$skip_early_boot_msgs" ]; then
12
13 expect_string+=('Booting Trusted Firmware')
14
15 prompt='Booting BL2'
16 # Catch all 3 possible BL2 loading error messages, namely:
17 # "Failure in pre image load handling of BL2"
18 # "Failed to load BL2 firmware."
19 # "Failure in post image load handling of BL2"
20 failures='Fail.*load.*BL2'
21 expect_string+=("${prompt};;${failures}")
22
23 expect_string+=('BL1: Booting BL31')
24fi