summaryrefslogtreecommitdiff
path: root/manual/generic/serial-console.yaml
blob: 7b1f29b7e67ee4067e13370949187d3263b25181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
metadata:
    name: serial-console
    format: "Manual Test Definition 1.0"
    description: "Test if the serial connection to the board works"
    maintainer:
        - amit.khare@linaro.org
    os:
        - android
        - ubuntu
        - openembedded
    scope:
        - functional
    devices:
        - panda
        - panda-es
        - vexpress-a9
        - vexpress-tc2
        - juno
        - arndale
        - ifc6410
        - hi6220-hikey
        - apq8016-sbc
    environment:
        - manual-test

run:
    steps:
        # depending on the board, the serial cable might be UART or symmetric serial
        - Connect the serial cable to the device under test
        - Launch minicom in terminal of host PC.
        # correct tty should be used. /dev/ttyUSB0 is just an example
        - "$ minicom -D /dev/ttyUSB0 -w -C minicom_log.txt"
        - Power the device under test
        - After boot sequence is complete run the following command in the console
        - "$ ls -l"

    expected:
        - Boot log is displayed in minicom after powering the device under test
        - Command line prompt is displayed after successful boot.
        - Input by keyboard in works and characters are echoed back and displayed in minicom