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 | # Script to interact with Trusted Firmware when resetting to BL1. |
| 9 | # |
| 10 | # This script is not standalone and should be sourced by a top expect script. |
| 11 | # |
| 12 | |
| 13 | # Initial boot message won't be present if we're starting at BL31. Skip waiting |
| 14 | # for them by inspecting the environment variable 'skip_early_boot_msgs' |
| 15 | if {![info exists ::env(skip_early_boot_msgs)]} { |
| 16 | expect_string "Booting Trusted Firmware" |
| 17 | expect_string "BL1: Booting BL2" |
| 18 | expect_re "BL1: Booting BL3-?1" "BL1: Booting BL31" |
| 19 | } else { |
| 20 | puts "<<Skipping early boot messages from BL1 and BL2>>" |
| 21 | } |