N1SDP: Run simple boot test on OpenCI
We will replace the full Linux test, which includes
some network and Linux functional tests, with a
simple boot test to validate build artifacts on OpenCI,
while retaining the comprehensive Linux test for internal CI.
Signed-off-by: Arthur She <arthur.she@linaro.org>
Change-Id: Idc01405b8f413132294e7fc90705b7da9271b30d
diff --git a/script/lava-templates/n1sdp-boot.yaml b/script/lava-templates/n1sdp-boot.yaml
new file mode 100644
index 0000000..cb5fb71
--- /dev/null
+++ b/script/lava-templates/n1sdp-boot.yaml
@@ -0,0 +1,51 @@
+device_type: n1sdp
+job_name: tf-n1sdp TF-A boot test
+timeouts:
+ job:
+ minutes: 15
+ action:
+ minutes: 10
+ connection:
+ minutes: 5
+
+priority: ${LAVA_PRIORITY:-medium}
+visibility: public
+actions:
+#
+# Any firmware bundle deployed must be configured to boot automatically without
+# intervention. This means "PMIC_FORCE" must be set "TRUE" in the config file
+# to be deployed.
+#
+
+#
+# Deploy the primary board firmware bundle
+#
+- deploy:
+ namespace: recovery
+ to: flasher
+ images:
+ recovery_image:
+ url: $recovery_img_url
+ compression: zip
+
+- boot:
+ namespace: recovery
+ timeout:
+ minutes: 2
+ method: minimal
+
+- boot:
+ namespace: uart_one
+ method: new_connection
+ connection: uart1
+
+- test:
+ namespace: uart_one
+ connection-namespace: uart_one
+ timeout:
+ minutes: 5
+ interactive:
+ - name: int_1
+ prompts: ["Press ESCAPE for boot options"]
+ script:
+ - command: