aboutsummaryrefslogtreecommitdiff
path: root/linux-linaro-stable-lsk-v4.4-pre-merge/lava-job-definitions/juno/template-be-ramdisk.json
blob: 270364a0a50e0407bf8275677f4374415ee9abd7 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
  "actions": [
    {
      "command": "deploy_linaro_kernel",
      "parameters": {
        "bootloadertype": "uefi",
        "dtb": "${DTB_URL}/juno.dtb",
        "kernel": "${KERNEL_URL}/Image",
        "ramdisk": "${ROOTFS_BUILD_URL}"
      },
      "metadata": {
        "build id": "${BUILD_NUMBER}",
        "distribution": "openembedded",
        "rootfs.build": "${ROOTFS_BUILD_NUMBER}",
        "rootfs.type": "minimal-initramfs-armv8b-gcc-4.9",
        "git URL": "${GIT_URL}",
        "git branch": "${GIT_BRANCH}",
        "git commit": "${GIT_COMMIT}"
      }
    },
    {
      "command": "boot_linaro_image",
      "parameters": {
        "boot_cmds": [
          "expect Start:",
          "sendline 3",
          "expect Choice:",
          "sendline 3",
          "expect Delete entry:",
          "sendline 1",
          "expect Choice:",
          "sendline 1",
          "expect Select the Boot Device:",
          "sendcontrol [",
          "sendcontrol M",
          "expect Choice:",
          "expect Choice:",
          "sendline 1",
          "expect Select the Boot Device:",
          "sendline 8",
          "expect Get the IP address from DHCP: [y/n]",
          "sendline y",
          "expect Get the TFTP server IP address:",
          "sendline {SERVER_IP}",
          "expect File path of the EFI Application or the kernel",
          "sendline {KERNEL}",
          "expect Is an EFI Application? [y/n]",
          "sendline n",
          "expect Has FDT support? [y/n]",
          "sendline y",
          "expect Add an initrd: [y/n]",
          "sendline y",
          "expect Get the IP address from DHCP: [y/n]",
          "sendline y",
          "expect Get the TFTP server IP address:",
          "sendline {SERVER_IP}",
          "expect File path of the initrd",
          "sendline {RAMDISK}",
          "expect Arguments to pass to the binary:",
          "sendline console=ttyAMA0,115200 earlyprintk=pl011,0x7ff80000 root=/dev/ram0 verbose debug ip=dhcp",
          "expect Description for this new Entry:",
          "sendline LAVA Ramdisk Test Image",
          "expect Choice:",
          "sendline 5",
          "expect Select the Boot Device:",
          "sendcontrol [",
          "sendcontrol M",
          "expect Choice:",
          "expect Choice:",
          "sendline 5",
          "expect Select the Boot Device:",
          "sendline 8",
          "expect Get the IP address from DHCP: [y/n]",
          "sendline y",
          "expect Get the TFTP server IP address:",
          "sendline {SERVER_IP}",
          "expect File path of the FDT blob",
          "sendline {DTB}",
          "expect Choice:",
          "sendline 7",
          "expect Start:",
          "sendline 1"
        ]
      }
    },
    {
      "command": "submit_results",
      "parameters": {
        "stream": "${BUNDLE_STREAM_NAME}",
        "server": "http://${LAVA_SERVER}"
      }
    }
  ],
  "device_type": "${DEVICE_TYPE}",
  "job_name": "${BUILD_URL}",
  "timeout": 3600
}