blob: a7ac912e32d6348f5aaaeea777ffa2ae101e0147 [file] [log] [blame]
johpow01936638d2021-11-08 18:22:24 -06001#
Chris Kay3d2ae332022-11-15 11:32:03 +00002# Copyright (c) 2021-2022 Arm Limited. All rights reserved.
johpow01936638d2021-11-08 18:22:24 -06003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6# Expect script for booting Yocto linux on FVP-R
7#
8
9source [file join [file dirname [info script]] handle-arguments.inc]
10
11# FVP-R BL1
12expect {
13 "Booting Trusted Firmware" {
14 puts "<<Booting Trusted Firmware>>"
15 }
johpow01936638d2021-11-08 18:22:24 -060016}
17
18expect {
19 "BL1: Booting BL33" {
20 puts "<<Booting BL33>>"
21 }
johpow01936638d2021-11-08 18:22:24 -060022}
23
24# Uboot
25expect {
26 "U-Boot" {
27 puts "<<Entered Uboot>>"
28 }
johpow01936638d2021-11-08 18:22:24 -060029}
30
31# Yocto
32expect {
33 "Booting Linux on physical CPU" {
34 puts "<<Booting Linux>>"
35 }
johpow01936638d2021-11-08 18:22:24 -060036}
37
38expect {
39 "fvp-baser-aemv8r64 login:" {
40 puts "<<Yocto Login Prompt Received>>"
41 send "root\n"
42 }
johpow01936638d2021-11-08 18:22:24 -060043}
44
45expect {
46 "#" {
47 puts "<<Successfully Reached Yocto Shell>>"
48 }
johpow01936638d2021-11-08 18:22:24 -060049}