blob: 7c4f00d0bb39a89e432c197d1f249326b665d10b [file] [log] [blame]
Fathi Boudra422bf772019-12-02 11:10:16 +02001#
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 a Linux kernel
9#
10# This script is not standalone and should be sourced by a top expect script.
11#
12
13# Expect 8 CPUs in total by default
14if {[info exists ::env(num_cpus)]} {
15 set num_cpus $env(num_cpus)
16} else {
17 set num_cpus 8
18}
19
20expect_string "Linux version" "Linux starting"
21expect_re "SMP: Total of $num_cpus processors activated" "Brought up secondary CPUs"
22expect_string "Freeing unused kernel memory" "End of Linux boot"