summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2021-05-06 11:44:36 +0000
committerCorentin LABBE <clabbe@baylibre.com>2021-05-06 11:44:36 +0000
commit83b92939bf2eea8f1eebee6afd6a256be9a31977 (patch)
treebb4d970e2e77059111ad174dac09488793fdaa3c
parent532522694f2dd5beac50cf68824a28f02d72eeae (diff)
SPEC-3904: Add BBE machine
This patchs adds the BBE machine template. Since this machine does not have HDMI output, the screenshot test is disabled for it. Change-Id: I1048a202b8ee998084fcb7b78441781aae4ee220 Bug-AGL: SPEC-3904 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
-rw-r--r--templates/machines/bbe.jinja210
-rw-r--r--utils/agljobtemplate.py2
2 files changed, 12 insertions, 0 deletions
diff --git a/templates/machines/bbe.jinja2 b/templates/machines/bbe.jinja2
new file mode 100644
index 0000000..5a3db6d
--- /dev/null
+++ b/templates/machines/bbe.jinja2
@@ -0,0 +1,10 @@
+{%- extends 'boot/generic-uboot-tftp.jinja2' %}
+{%- set device_arch = "arm" %}
+{%- set sdk_arch = "arm" %}
+{%- set device_mach = "omap" %}
+{%- set device_type = "am335x-sancloud-bbe" %}
+{%- set dtb = dtb|default("am335x-sancloud-bbe.dtb") %}
+{%- set kernel_image = kernel_image|default("zImage") %}
+{%- set rootfs_type = rootfs_type|default("nbd") %}
+{%- set uboot_type = "bootz" %}
+{%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-bbe.ext4.xz") %}
diff --git a/utils/agljobtemplate.py b/utils/agljobtemplate.py
index 84c76a6..f9207a3 100644
--- a/utils/agljobtemplate.py
+++ b/utils/agljobtemplate.py
@@ -187,6 +187,8 @@ class Agljobtemplate(object):
if 'all' in tests:
tests = self.tests
for t in tests:
+ if machine == 'bbe' and t == 'screenshot':
+ continue
if t in self.tests:
test_templates.append(os.path.join(self.TESTS_DIR, t + '.jinja2'))
else: