blob: beec5c1ce2455d36bffa6f537a0906f768122904 [file] [log] [blame]
Sandrine Bailleux57bffcd2020-08-04 14:46:06 +02001#
Chris Kay581893e2022-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." {
Chris Kayc4f00722022-11-15 12:24:24 +000011 message "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:" {
Chris Kayc4f00722022-11-15 12:24:24 +000024 message "Hafnium driver started"
Sandrine Bailleux57bffcd2020-08-04 14:46:06 +020025 }
Sandrine Bailleux57bffcd2020-08-04 14:46:06 +020026}
27
28exit_uart 0