blob: 2de23bda158332d4139fb75efc1319d8603e8b5b [file] [log] [blame]
Madhukar Pappireddy9062ebf2021-03-02 17:07:06 -06001#
2# Copyright (c) 2021 Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6# Expect script for Trusted Firmware + Linux boot process
7#
8# Refer to handle-arguments.inc for the list of parameters.
9#
10
11source [file join [file dirname [info script]] handle-arguments.inc]
12
13# Trusted Firmware boot section
14source [file join [file dirname [info script]] trusted-firmware.inc]
15
16# Linux kernel boot section
17expect_string "Booting Linux on physical CPU" "Booting Linux"
18expect_string "Linux version" "Linux starting"
19
20# The kernel prints some information it takes from the preloaded DTB.
21# Check for following information to see that we actually got the right DTB.
22# 1. Machine model
23# 2. Command line passed via the "/chosen" node
24expect_re "Machine model: FVP (Base|Foundation)" "Machine identified"
25expect_string "Kernel command line: console=ttyAMA0" "Kernel command line"
26
27exit_uart 0