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
|
{
"actions": [
{
"command": "deploy_linaro_image",
"parameters": {
"bootloadertype": "uefi",
"customize": {
"boot:/fvp": [
"delete"
],
"boot:/rtsm": [
"delete"
],
"${INITRD_URL}": [
"boot:/Initrd"
],
"${STARTUP_NSH}": [
"boot:/EFI/BOOT/startup.nsh"
],
"${BL1_URL}": [
"boot:/fvp_bl1.bin"
],
"${FIP_URL}": [
"boot:/fvp_fip.bin"
]
},
"image": "${IMAGE_URL}"
},
"metadata": {
"build id": "${BUILD_NUMBER}",
"git URL": "${GIT_URL}",
"git branch": "${GIT_BRANCH}",
"git commit": "${GIT_COMMIT}",
"template": "grub-install"
}
},
{
"command": "boot_linaro_image",
"parameters": {
"boot_cmds": [
"sendline ",
"expect Start:",
"sendline 2",
"expect or any other key to continue.",
"sendline "
],
"options": [
"bp.pl011_uart0.untimed_fifos=0",
"bp.pl011_uart0.revision=r1p5"
]
}
},
{
"command": "lava_command_run",
"parameters": {
"commands": [
"mkdir -p /boot/efi",
"mount /dev/vda1 /boot/efi",
"grub-install",
"umount /dev/vda1",
"sync"
],
"timeout": 9600
}
},
{
"command": "boot_linaro_image",
"parameters": {
"boot_cmds": [
"sendline 1",
"expect grub>",
"sendline set root=(hd1,msdos1)",
"expect grub>",
"sendline set debug=linux",
"expect grub>",
"sendline linux /Image console=ttyAMA0 earlycon=pl011,0x1c090000 debug uefi_debug ignore_loglevel rootwait root=/dev/ram0 ro acpi=force",
"expect grub>",
"sendline initrd /Initrd",
"expect grub>",
"sendline boot"
]
}
},
{
"command": "submit_results",
"parameters": {
"server": "http://${LAVA_SERVER}",
"stream": "${BUNDLE_STREAM_NAME}"
}
}
],
"device_type": "${DEVICE_TYPE}",
"job_name": "${BUILD_URL}",
"timeout": 20000
}
|