aboutsummaryrefslogtreecommitdiff
path: root/linux-linaro-stable-lsk-v3.18/lava-job-definitions/juno
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2015-06-24 10:06:27 +0800
committerFathi Boudra <fathi.boudra@linaro.org>2015-06-24 05:31:55 +0000
commit64399a2da0d402d4048b257427fca2a69828c2c7 (patch)
tree806a95eea973f8568a66188480630a3e36940b26 /linux-linaro-stable-lsk-v3.18/lava-job-definitions/juno
parent82359b544765d90ba539a25f81360925566fe8bc (diff)
downloadconfigs-64399a2da0d402d4048b257427fca2a69828c2c7.tar.gz
linux-linaro-stable-lsk-v3.18*: add vexpress64-be boot test templates
Change-Id: I8b59a527a0d9ecf720374804dabac7420b5b6bb9 Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'linux-linaro-stable-lsk-v3.18/lava-job-definitions/juno')
-rw-r--r--linux-linaro-stable-lsk-v3.18/lava-job-definitions/juno/template-be-ramdisk.json97
-rw-r--r--linux-linaro-stable-lsk-v3.18/lava-job-definitions/juno/template-be-ramdisk.yaml83
2 files changed, 180 insertions, 0 deletions
diff --git a/linux-linaro-stable-lsk-v3.18/lava-job-definitions/juno/template-be-ramdisk.json b/linux-linaro-stable-lsk-v3.18/lava-job-definitions/juno/template-be-ramdisk.json
new file mode 100644
index 000000000..270364a0a
--- /dev/null
+++ b/linux-linaro-stable-lsk-v3.18/lava-job-definitions/juno/template-be-ramdisk.json
@@ -0,0 +1,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
+}
diff --git a/linux-linaro-stable-lsk-v3.18/lava-job-definitions/juno/template-be-ramdisk.yaml b/linux-linaro-stable-lsk-v3.18/lava-job-definitions/juno/template-be-ramdisk.yaml
new file mode 100644
index 000000000..cbeb71dc4
--- /dev/null
+++ b/linux-linaro-stable-lsk-v3.18/lava-job-definitions/juno/template-be-ramdisk.yaml
@@ -0,0 +1,83 @@
+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:
+ server: 'http://${LAVA_SERVER}'
+ stream: '${BUNDLE_STREAM_NAME}'
+device_type: '${DEVICE_TYPE}'
+job_name: '${BUILD_URL}'
+timeout: 3600