summaryrefslogtreecommitdiff
path: root/lava/xen-arndale.json
blob: ded0a6b3f58f27a5b7d54b364f959dba1b90932c (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
{
  "device_type": "arndale",
  "actions": [
    {
      "command": "deploy_linaro_image",
      "metadata" : {
          "testplan" : "xen",
          "rootfs.type": "server",
          "hwpack.type" : "xen-arndale",
          "ubuntu.distribution": "ubuntu",
          "ubuntu.name": "midway"
      },
      "parameters": {
        "image": "http://snapshots.linaro.org/ubuntu/images/xen/latest/xenlava-arndale.img.xz",
	"bootloadertype": "u_boot"
      }
    },
    {
      "command": "boot_linaro_image",
       "parameters": {
          "boot_cmds": ["setenv kernel_addr_r 0x60000000",
                      "setenv kernel_addr_load 0x5FFFFFC0",
                      "setenv xen_addr_r 0x80200000",
                      "setenv dtb_addr_r 0x42000000",
                      "setenv initrd_addr_r 0x40100000",
                      "setenv dtb_path /board.dtb",
                      "setenv kernel_path /uImage",
                      "setenv xen_path /xen",
                      "setenv initrd_path /uInitrd",
                      "fatload mmc 0:5 $xen_addr_r $xen_path",
		      "fatload mmc 0:5 $kernel_addr_load $kernel_path",
		      "fatload mmc 0:5 $dtb_addr_r $dtb_path",
		      "fatload mmc 0:5 $initrd_addr_r $initrd_path",
		      "setenv dom0_bootargs console=hvc0,38400n8 quiet ignore_loglevel psci=enable clk_ignore_unused root=/dev/mmcblk1p6 rw",
		      "setenv xen_bootargs noreboot console=dtuart dtuart=/serial@12C20000 dom0_mem=512M",
		      "fdt addr $dtb_addr_r",
		      "fdt resize",
		      "setenv bootargs $xen_bootargs",
		      "fdt set /chosen xen,xen-bootargs \\\"$xen_bootargs\\\"",
		      "fdt set /chosen xen,dom0-bootargs \\\"$dom0_bootargs\\\"",
		      "fdt mknode /chosen modules",
		      "fdt set /chosen/modules '#address-cells' <1>",
		      "fdt set /chosen/modules '#size-cells' <1>",
		      "fdt mknode /chosen/modules module@0",
		      "fdt set /chosen/modules/module@0 compatible xen,linux-zimage xen,multiboot-module",
		      "fdt set /chosen/modules/module@0 reg <$kernel_addr_r 0x00a00000>",
		      "bootz $xen_addr_r $initrd_addr_r $dtb_addr_r"]
      }
    },
    {
      "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": {
        "stream": "/private/team/linaro/virtualization/",
        "server": "https://validation.linaro.org/RPC2/"
      }
    }
  ],
  "timeout": 18000,
  "log_level": "INFO",
  "job_name": "Xen arndale CI build"
}