blob: 93be4f50292c628186eebbc6fff277226c393ab0 [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
Leonardo Sandoval5cfc11f2021-09-08 16:08:13 -050011expect_string+=('i;BL1: Booting BL2')
Leonardo Sandoval6eff3f72021-05-03 11:12:37 -050012
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)
Leonardo Sandoval5cfc11f2021-09-08 16:08:13 -050025expect_string+=("i;${prompt};;Loading image id=(6|7|8|9|10|11|12|13|14|15) at address ")
Leonardo Sandoval6eff3f72021-05-03 11:12:37 -050026
Leonardo Sandoval5cfc11f2021-09-08 16:08:13 -050027expect_string+=('i;BL1: Booting BL31')