android hikey v2: add protocol actions for deploy action
to reset the otg port before run fastboot commands
Change-Id: I21bec28e116bcca266d78dd430c6fb5f0beb2095
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
diff --git a/android/hikey-v2/template-antutu6.yaml b/android/hikey-v2/template-antutu6.yaml
index d3a55b8..91e7d46 100644
--- a/android/hikey-v2/template-antutu6.yaml
+++ b/android/hikey-v2/template-antutu6.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-benchmarkpi.yaml b/android/hikey-v2/template-benchmarkpi.yaml
index e54edde..2f3b984 100644
--- a/android/hikey-v2/template-benchmarkpi.yaml
+++ b/android/hikey-v2/template-benchmarkpi.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-boottime.yaml b/android/hikey-v2/template-boottime.yaml
index 746c3e4..b620c88 100644
--- a/android/hikey-v2/template-boottime.yaml
+++ b/android/hikey-v2/template-boottime.yaml
@@ -67,6 +67,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-caffeinemark.yaml b/android/hikey-v2/template-caffeinemark.yaml
index 1f26362..829b449 100644
--- a/android/hikey-v2/template-caffeinemark.yaml
+++ b/android/hikey-v2/template-caffeinemark.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cf-bench.yaml b/android/hikey-v2/template-cf-bench.yaml
index 97bd925..5155d37 100644
--- a/android/hikey-v2/template-cf-bench.yaml
+++ b/android/hikey-v2/template-cf-bench.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cts-focused1-v7a.yaml b/android/hikey-v2/template-cts-focused1-v7a.yaml
index 4c5c5f6..6dcd44e 100644
--- a/android/hikey-v2/template-cts-focused1-v7a.yaml
+++ b/android/hikey-v2/template-cts-focused1-v7a.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cts-focused1-v8a.yaml b/android/hikey-v2/template-cts-focused1-v8a.yaml
index 037d570..6ba1835 100644
--- a/android/hikey-v2/template-cts-focused1-v8a.yaml
+++ b/android/hikey-v2/template-cts-focused1-v8a.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cts-focused2-v7a.yaml b/android/hikey-v2/template-cts-focused2-v7a.yaml
index f185ec1..e593555 100644
--- a/android/hikey-v2/template-cts-focused2-v7a.yaml
+++ b/android/hikey-v2/template-cts-focused2-v7a.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cts-focused2-v8a.yaml b/android/hikey-v2/template-cts-focused2-v8a.yaml
index f2dff10..73e104d 100644
--- a/android/hikey-v2/template-cts-focused2-v8a.yaml
+++ b/android/hikey-v2/template-cts-focused2-v8a.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cts-media-v7a.yaml b/android/hikey-v2/template-cts-media-v7a.yaml
index 2ef1b9d..01dc541 100644
--- a/android/hikey-v2/template-cts-media-v7a.yaml
+++ b/android/hikey-v2/template-cts-media-v7a.yaml
@@ -68,6 +68,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cts-media-v8a.yaml b/android/hikey-v2/template-cts-media-v8a.yaml
index 06bcdbb..5715ed7 100644
--- a/android/hikey-v2/template-cts-media-v8a.yaml
+++ b/android/hikey-v2/template-cts-media-v8a.yaml
@@ -68,6 +68,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cts-opengl-v7a.yaml b/android/hikey-v2/template-cts-opengl-v7a.yaml
index 62dc5d3..b5dbc78 100644
--- a/android/hikey-v2/template-cts-opengl-v7a.yaml
+++ b/android/hikey-v2/template-cts-opengl-v7a.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cts-opengl-v8a.yaml b/android/hikey-v2/template-cts-opengl-v8a.yaml
index 46a01e2..2ae2c3f 100644
--- a/android/hikey-v2/template-cts-opengl-v8a.yaml
+++ b/android/hikey-v2/template-cts-opengl-v8a.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cts-part1-v7a.yaml b/android/hikey-v2/template-cts-part1-v7a.yaml
index 227cbb2..3b53cd6 100644
--- a/android/hikey-v2/template-cts-part1-v7a.yaml
+++ b/android/hikey-v2/template-cts-part1-v7a.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cts-part1-v8a.yaml b/android/hikey-v2/template-cts-part1-v8a.yaml
index d95a246..71ba858 100644
--- a/android/hikey-v2/template-cts-part1-v8a.yaml
+++ b/android/hikey-v2/template-cts-part1-v8a.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cts-part2-v7a.yaml b/android/hikey-v2/template-cts-part2-v7a.yaml
index 661b876..aa4275f 100644
--- a/android/hikey-v2/template-cts-part2-v7a.yaml
+++ b/android/hikey-v2/template-cts-part2-v7a.yaml
@@ -68,6 +68,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cts-part2-v8a.yaml b/android/hikey-v2/template-cts-part2-v8a.yaml
index 35a3e62..ad5a368 100644
--- a/android/hikey-v2/template-cts-part2-v8a.yaml
+++ b/android/hikey-v2/template-cts-part2-v8a.yaml
@@ -68,6 +68,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cts-part3-v7a.yaml b/android/hikey-v2/template-cts-part3-v7a.yaml
index fc89554..f2eb97b 100644
--- a/android/hikey-v2/template-cts-part3-v7a.yaml
+++ b/android/hikey-v2/template-cts-part3-v7a.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cts-part3-v8a.yaml b/android/hikey-v2/template-cts-part3-v8a.yaml
index 0ac6136..64739bd 100644
--- a/android/hikey-v2/template-cts-part3-v8a.yaml
+++ b/android/hikey-v2/template-cts-part3-v8a.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cts-part4-v7a.yaml b/android/hikey-v2/template-cts-part4-v7a.yaml
index 0e6e233..ebf63b9 100644
--- a/android/hikey-v2/template-cts-part4-v7a.yaml
+++ b/android/hikey-v2/template-cts-part4-v7a.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cts-part4-v8a.yaml b/android/hikey-v2/template-cts-part4-v8a.yaml
index 97621cd..0482c6e 100644
--- a/android/hikey-v2/template-cts-part4-v8a.yaml
+++ b/android/hikey-v2/template-cts-part4-v8a.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cts-part5-v7a.yaml b/android/hikey-v2/template-cts-part5-v7a.yaml
index 75fc9e5..d34eeca 100644
--- a/android/hikey-v2/template-cts-part5-v7a.yaml
+++ b/android/hikey-v2/template-cts-part5-v7a.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-cts-part5-v8a.yaml b/android/hikey-v2/template-cts-part5-v8a.yaml
index a4dbd0c..189418d 100644
--- a/android/hikey-v2/template-cts-part5-v8a.yaml
+++ b/android/hikey-v2/template-cts-part5-v8a.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-gearses2eclair.yaml b/android/hikey-v2/template-gearses2eclair.yaml
index a2edc5a..3e89e0a 100644
--- a/android/hikey-v2/template-gearses2eclair.yaml
+++ b/android/hikey-v2/template-gearses2eclair.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-geekbench3.yaml b/android/hikey-v2/template-geekbench3.yaml
index 66f2370..84eac12 100644
--- a/android/hikey-v2/template-geekbench3.yaml
+++ b/android/hikey-v2/template-geekbench3.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-glbenchmark25.yaml b/android/hikey-v2/template-glbenchmark25.yaml
index 3fa7c82..09d0ee0 100644
--- a/android/hikey-v2/template-glbenchmark25.yaml
+++ b/android/hikey-v2/template-glbenchmark25.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-javawhetstone.yaml b/android/hikey-v2/template-javawhetstone.yaml
index d91c47d..fc75171 100644
--- a/android/hikey-v2/template-javawhetstone.yaml
+++ b/android/hikey-v2/template-javawhetstone.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-jbench.yaml b/android/hikey-v2/template-jbench.yaml
index c1d5229..875f0de 100644
--- a/android/hikey-v2/template-jbench.yaml
+++ b/android/hikey-v2/template-jbench.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-linpack.yaml b/android/hikey-v2/template-linpack.yaml
index 8f28598..c65941a 100644
--- a/android/hikey-v2/template-linpack.yaml
+++ b/android/hikey-v2/template-linpack.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-quadrantpro.yaml b/android/hikey-v2/template-quadrantpro.yaml
index b82874b..34cc20c 100644
--- a/android/hikey-v2/template-quadrantpro.yaml
+++ b/android/hikey-v2/template-quadrantpro.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-rl-sqlite.yaml b/android/hikey-v2/template-rl-sqlite.yaml
index 71add2f..16ea19d 100644
--- a/android/hikey-v2/template-rl-sqlite.yaml
+++ b/android/hikey-v2/template-rl-sqlite.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-scimark.yaml b/android/hikey-v2/template-scimark.yaml
index 32d9c3c..ae43729 100644
--- a/android/hikey-v2/template-scimark.yaml
+++ b/android/hikey-v2/template-scimark.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-vellamo3.yaml b/android/hikey-v2/template-vellamo3.yaml
index 1aa98ed..9406d48 100644
--- a/android/hikey-v2/template-vellamo3.yaml
+++ b/android/hikey-v2/template-vellamo3.yaml
@@ -66,6 +66,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-weekly.yaml b/android/hikey-v2/template-weekly.yaml
index 104d623..6a7d967 100644
--- a/android/hikey-v2/template-weekly.yaml
+++ b/android/hikey-v2/template-weekly.yaml
@@ -67,6 +67,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template-xtest-lmg.yaml b/android/hikey-v2/template-xtest-lmg.yaml
index abbc5e5..e467f95 100644
--- a/android/hikey-v2/template-xtest-lmg.yaml
+++ b/android/hikey-v2/template-xtest-lmg.yaml
@@ -71,6 +71,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid
diff --git a/android/hikey-v2/template.yaml b/android/hikey-v2/template.yaml
index e2ec93a..923f0ff 100644
--- a/android/hikey-v2/template.yaml
+++ b/android/hikey-v2/template.yaml
@@ -67,6 +67,12 @@
system:
url: "%%ANDROID_SYSTEM%%"
compression: xz
+ protocols:
+ lava-lxc:
+ - action: fastboot-deploy
+ request: pre-power-command
+ timeout:
+ minutes: 2
- boot:
namespace: droid