blob: 1895bd8815446602b5e65626b86cf8fb6e91b1e8 [file] [log] [blame]
Sandrine Bailleux57bffcd2020-08-04 14:46:06 +02001#
Chris Kay3d2ae332022-11-15 11:32:03 +00002# Copyright (c) 2020-2022, Arm Limited. All rights reserved.
Sandrine Bailleux57bffcd2020-08-04 14:46:06 +02003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7source [file join [file dirname [info script]] handle-arguments.inc]
8
9expect {
10 "Please press Enter to activate this console." {
11 puts "<<Linux PVM booted>>"
Olivier Deprezaebf9ba2021-01-07 10:00:21 +010012 send "\r"
13 }
Olivier Deprezaebf9ba2021-01-07 10:00:21 +010014}
15
16expect {
17 "/ # " {
18 send "insmod hafnium.ko\n"
19 }
Olivier Deprezaebf9ba2021-01-07 10:00:21 +010020}
21
22expect {
23 "Hafnium successfully loaded with 1 VMs:" {
24 puts "<<Hafnium driver started>>"
Sandrine Bailleux57bffcd2020-08-04 14:46:06 +020025 }
Sandrine Bailleux57bffcd2020-08-04 14:46:06 +020026}
27
28exit_uart 0