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