| # |
| # Copyright (c) 2021 Arm Limited. All rights reserved. |
| # |
| # SPDX-License-Identifier: BSD-3-Clause |
| # |
| # Expect script for Trusted Firmware + Linux boot process |
| # |
| # Refer to handle-arguments.inc for the list of parameters. |
| # |
| |
| source [file join [file dirname [info script]] handle-arguments.inc] |
| |
| # Trusted Firmware boot section |
| source [file join [file dirname [info script]] trusted-firmware.inc] |
| |
| # Linux kernel boot section |
| expect_string "Booting Linux on physical CPU" "Booting Linux" |
| expect_string "Linux version" "Linux starting" |
| |
| # The kernel prints some information it takes from the preloaded DTB. |
| # Check for following information to see that we actually got the right DTB. |
| # 1. Machine model |
| # 2. Command line passed via the "/chosen" node |
| expect_re "Machine model: FVP (Base|Foundation)" "Machine identified" |
| expect_string "Kernel command line: console=ttyAMA0" "Kernel command line" |
| |
| exit_uart 0 |