1*** Variables ***
2${SCRIPT}                     @scripts/single-node/beaglev-fire.resc
3${UART}                       sysbus.mmuart0
4
5*** Keywords ***
6Create Machine
7    Execute Command          include @${SCRIPT}
8    Create Terminal Tester   ${UART}
9
10Should Run U-Boot
11    Wait For Line On Uart    OpenSBI - version 1.2
12    Wait For Line On Uart    U-Boot 2023.07
13    Wait For Prompt On Uart  Model: BeagleBoard BeagleV-Fire
14
15Should Show Login Prompt
16    Wait For Prompt On Uart  buildroot login:  timeout=25
17    Write Line To Uart       root
18
19Should Run Uname
20    Wait For Prompt On Uart  \#
21    Write Line To Uart       uname -m
22    Wait For Line On Uart    riscv64
23    Write Line To Uart       uname -n
24    Wait For Line On Uart    buildroot
25
26*** Test Cases ***
27Should Boot Buildroot From SD Card
28    Create Machine
29    Should Run U-Boot
30    Should Show Login Prompt
31    Should Run Uname
32