From 64399a2da0d402d4048b257427fca2a69828c2c7 Mon Sep 17 00:00:00 2001 From: Chase Qi Date: Wed, 24 Jun 2015 10:06:27 +0800 Subject: linux-linaro-stable-lsk-v3.18*: add vexpress64-be boot test templates Change-Id: I8b59a527a0d9ecf720374804dabac7420b5b6bb9 Signed-off-by: Chase Qi --- .../juno/template-be-ramdisk.json | 97 ++++++++++++++++++++++ .../juno/template-be-ramdisk.yaml | 83 ++++++++++++++++++ 2 files changed, 180 insertions(+) create mode 100644 linux-linaro-stable-lsk-v3.18/lava-job-definitions/juno/template-be-ramdisk.json create mode 100644 linux-linaro-stable-lsk-v3.18/lava-job-definitions/juno/template-be-ramdisk.yaml (limited to 'linux-linaro-stable-lsk-v3.18/lava-job-definitions/juno') 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 0000000000..270364a0a5 --- /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 0000000000..cbeb71dc40 --- /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 -- cgit v1.2.3