aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-01-03 10:53:03 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-01-18 22:16:16 +0000
commitb8d576550e0e9147f638386e5f9db858411c8f81 (patch)
tree8478a23a83e2141f98103fa1c32e3d02f9ff8d80 /templates
parent6b1b98391d9e3cf8b44062d48270654fe6eab95b (diff)
Add hwtest enable flags for rpi3
Change-Id: Ifc21b44eef0b40657c04e011575cb27f0533d956 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/machine/raspberrypi3/test/hwtest.enable1
-rw-r--r--templates/machine/raspberrypi3/test/hwtest.short.enable1
-rw-r--r--templates/machine/raspberrypi3/test/hwtest.short.environment9
-rw-r--r--templates/machine/raspberrypi3/test/testjob_short.yaml46
4 files changed, 57 insertions, 0 deletions
diff --git a/templates/machine/raspberrypi3/test/hwtest.enable b/templates/machine/raspberrypi3/test/hwtest.enable
new file mode 100644
index 000000000..d00491fd7
--- /dev/null
+++ b/templates/machine/raspberrypi3/test/hwtest.enable
@@ -0,0 +1 @@
+1
diff --git a/templates/machine/raspberrypi3/test/hwtest.short.enable b/templates/machine/raspberrypi3/test/hwtest.short.enable
new file mode 100644
index 000000000..d00491fd7
--- /dev/null
+++ b/templates/machine/raspberrypi3/test/hwtest.short.enable
@@ -0,0 +1 @@
+1
diff --git a/templates/machine/raspberrypi3/test/hwtest.short.environment b/templates/machine/raspberrypi3/test/hwtest.short.environment
new file mode 100644
index 000000000..3e7807b96
--- /dev/null
+++ b/templates/machine/raspberrypi3/test/hwtest.short.environment
@@ -0,0 +1,9 @@
+DEVICE_TYPE=raspberrypi3-uboot
+DEVICE_NAME=raspberrypi3
+DEVICE_DTB=uImage-bcm2710-rpi-3-b.dtb
+DEVICE_KERNEL=uImage
+DEVICE_INITRAMFS=initramfs-netboot-image-raspberrypi3.ext4
+DEVICE_NBDROOT=agl-demo-platform-raspberrypi3.ext4
+DEVICE_BOOT_METHOD=u-boot
+DEVICE_BOOT_TYPE=bootm
+#DEVICE_URL_PREFIX=https://download.automotivelinux.org/AGL \ No newline at end of file
diff --git a/templates/machine/raspberrypi3/test/testjob_short.yaml b/templates/machine/raspberrypi3/test/testjob_short.yaml
new file mode 100644
index 000000000..17b55ac12
--- /dev/null
+++ b/templates/machine/raspberrypi3/test/testjob_short.yaml
@@ -0,0 +1,46 @@
+# Your first LAVA JOB definition for a porter board
+device_type: @REPLACE_DEVICE_TYPE@
+job_name: AGL-short-smoke
+
+protocols:
+ lava-xnbd:
+ port: auto
+
+timeouts:
+ job:
+ minutes: 30
+ action:
+ minutes: 15
+ connection:
+ minutes: 5
+priority: medium
+visibility: public
+
+# ACTION_BLOCK
+actions:
+- deploy:
+ timeout:
+ minutes: 10
+ to: nbd
+ dtb:
+ url: '@REPLACE_URL_PREFIX@/@REPLACE_DTB@'
+ kernel:
+ url: '@REPLACE_URL_PREFIX@/@REPLACE_KERNEL@'
+ initramfs:
+ url: '@REPLACE_URL_PREFIX@/@REPLACE_INITRAMFS@'
+ allow_modify: false
+ nbdroot:
+ url: '@REPLACE_URL_PREFIX@/@REPLACE_NBDROOT@'
+ os: debian
+ failure_retry: 2
+
+# BOOT_BLOCK
+- boot:
+ method: @REPLACE_BOOT_METHOD@
+ commands: nbd
+ type: @REPLACE_BOOT_TYPE@
+ prompts: ["root@@REPLACE_MACHINE@:~"]
+ auto_login:
+ login_prompt: "login:"
+ username: root
+