aboutsummaryrefslogtreecommitdiff
path: root/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/beaglebone-black/template.json
diff options
context:
space:
mode:
Diffstat (limited to 'linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/beaglebone-black/template.json')
-rw-r--r--linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/beaglebone-black/template.json70
1 files changed, 70 insertions, 0 deletions
diff --git a/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/beaglebone-black/template.json b/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/beaglebone-black/template.json
new file mode 100644
index 0000000000..5e16e5482a
--- /dev/null
+++ b/linux-linaro-stable-lsk-v3.14-rt/lava-job-definitions/beaglebone-black/template.json
@@ -0,0 +1,70 @@
+{
+ "actions": [
+ {
+ "command": "deploy_linaro_image",
+ "parameters": {
+ "hwpack": "${HWPACK_BUILD_URL}",
+ "rootfs": "${ROOTFS_BUILD_URL}"
+ },
+ "metadata": {
+ "distribution": "openembedded",
+ "hwpack.build": "${BUILD_NUMBER}",
+ "hwpack.type": "${hwpack_type}",
+ "rootfs.build": "${ROOTFS_BUILD_NUMBER}",
+ "rootfs.type": "lamp-armv7a-gcc-4.9",
+ "git URL": "${GIT_URL}",
+ "git branch": "${GIT_BRANCH}",
+ "git commit": "${GIT_COMMIT}"
+ }
+ },
+ {
+ "command": "boot_linaro_image",
+ "parameters": {
+ "boot_cmds": [
+ "setenv kernel_addr_r '0x80200000'",
+ "setenv fdt_addr_r '0x815f0000'",
+ "setenv initrd_high '0xffffffff'",
+ "setenv fdt_high '0xffffffff'",
+ "setenv bootargs 'console=ttyO0,115200n8 root=/dev/mmcblk0p5 rootwait ro'",
+ "fatload mmc 0:3 ${kernel_addr_r} uImage",
+ "fatload mmc 0:3 ${fdt_addr_r} board.dtb",
+ "bootm ${kernel_addr_r} - ${fdt_addr_r}"
+ ]
+ }
+ },
+ {
+ "command": "lava_test_shell",
+ "parameters": {
+ "timeout": 1800,
+ "testdef_repos": [
+ {
+ "git-repo": "git://git.linaro.org/qa/test-definitions.git",
+ "testdef": "openembedded/ltp-realtime.yaml"
+ }
+ ]
+ }
+ },
+ {
+ "command": "lava_test_shell",
+ "parameters": {
+ "timeout": 1800,
+ "testdef_repos": [
+ {
+ "git-repo": "git://git.linaro.org/qa/test-definitions.git",
+ "testdef": "openembedded/ltp.yaml"
+ }
+ ]
+ }
+ },
+ {
+ "command": "submit_results",
+ "parameters": {
+ "stream": "${BUNDLE_STREAM_NAME}",
+ "server": "http://${LAVA_SERVER}"
+ }
+ }
+ ],
+ "device_type": "${DEVICE_TYPE}",
+ "job_name": "${BUILD_URL}",
+ "timeout": 3600
+}