summaryrefslogtreecommitdiff
path: root/lava/xen-mustang.json
blob: b1047a73c7096ca8b8e8e810169f71bb44e48db0 (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
{
    "actions": [
        {
            "command": "deploy_linaro_kernel",
            "parameters": {
                "dtb": "https://snapshots.linaro.org/ubuntu/images/xen/latest/apm-mustang.dtb",
                "kernel": "https://snapshots.linaro.org/components/platform/xen/latest/uXen-arm64",
                "nfsrootfs": "https://snapshots.linaro.org/ubuntu/images/xen/latest/xenlava-mustang.tar.xz",
                "ramdisk": "https://snapshots.linaro.org/ubuntu/images/xen/latest/Image-xen-mustang",
                "target_type": "ubuntu"
            }
        },
        {
            "command": "boot_linaro_image",
            "parameters": {
                "boot_cmds": [
                    "setenv autoload no",
                    "setenv xen_addr_r 0x4000080000",
                    "setenv kernel_addr_r    0x4002000000",
                    "setenv kernel_addr_load 0x4001ffffC0",
                    "setenv fdt_addr_r '{DTB_ADDR}'",
                    "setenv xen_load 'tftp ${xen_addr_r} {KERNEL}'",
                    "setenv xen_dtb 'tftp ${fdt_addr_r} {DTB} ;fdt addr ${fdt_addr_r};fdt resize;'",
                    "setenv xen_dom0 'tftp ${kernel_addr_load} {RAMDISK}'",
                    "setenv xen_run 'run xen_dom0 xen_load;fdt print /chosen;run xen_boot'",
                    "setenv xen_boot 'setenv bootargs ${bootargs_xen};bootm ${xen_addr_r} - ${fdt_addr_r}'",
                    "setenv bootargs_xen 'conswitch=x sync_console dom0_mem=1G dom0_max_vcpus=1 console=dtuart dtuart=/soc/serial@1c020000'",
                    "setenv dom0_bootargs 'console=hvc0,115200 earlyprintk=uart8250,mmio32,0x1c020000,115200n8 debug maxcpus=8 swiotlb=4096 root=/dev/nfs rw nfsroot={SERVER_IP}:{NFSROOTFS} ip=dhcp'",
                    "dhcp",
                    "setenv serverip {SERVER_IP}",
                    "run xen_dtb",
                    "fdt addr $fdt_addr_r",
                    "fdt resize",
                    "fdt set /chosen '#address-cells' <2>",
                    "fdt set /chosen '#size-cells' <1>",
                    "fdt mknode /chosen module@0",
                    "fdt set /chosen/module@0 compatible xen,linux-zimage xen,multiboot-module",
                    "fdt set /chosen/module@0 reg <0x40 0x4002000000 0x00a00000>",
                    "fdt set /chosen/module@0 bootargs \\\"${dom0_bootargs}\\\"",
                    "run xen_run"
                ]
            }
        },
        {
            "command": "lava_test_shell",
            "parameters": {
                "testdef_repos": [
                    {
                        "git-repo": "git://git.linaro.org/ci/xen-ci.git",
                        "testdef": "lava/xentest.yaml"
                    }
                ],
                "timeout": 9600
            }
        },
        {
            "command": "submit_results",
            "parameters": {
                "server": "http://validation.linaro.org/RPC2/",
                "stream": "/private/team/mustang/xen/"
            }
        }

    ],
    "device_type": "mustang",
    "job_name": "Xen Mustang CI build",
    "log_level": "INFO",
    "timeout": 30000
}