blob: a50a31a9e83d500d950e24d76011adeca9a039c9 [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 an TF-A built with Trusted Board Boot
7#
8# This script tries to catch if dynamic authentication of images is enabled
9# during trusted board boot(BL2). The authentication is done using certificates.
10
11expect_string+=('BL1: Booting BL2')
12
13prompt='Disabling authentication of images dynamically'
14# Catch all loading of authentication certificates i.e.,
15# TRUSTED_BOOT_FW_CERT_ID U(6)
16# TRUSTED_KEY_CERT_ID U(7)
17# SCP_FW_KEY_CERT_ID U(8)
18# SOC_FW_KEY_CERT_ID U(9)
19# TRUSTED_OS_FW_KEY_CERT_ID U(10)
20# NON_TRUSTED_FW_KEY_CERT_ID U(11)
21# SCP_FW_CONTENT_CERT_ID U(12)
22# SOC_FW_CONTENT_CERT_ID U(13)
23# TRUSTED_OS_FW_CONTENT_CERT_ID U(14)
24# NON_TRUSTED_FW_CONTENT_CERT_ID U(15)
25expect_string+=("${prompt};;Loading image id=(6|7|8|9|10|11|12|13|14|15) at address ")
26
27expect_string+=('BL1: Booting BL31')