aboutsummaryrefslogtreecommitdiffstats
path: root/templates/machines
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2019-04-08 15:19:49 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-04-18 23:43:54 +0000
commit0476469c1b5272b7a76b22082f0cd44eab24dc22 (patch)
treeaf39a9c628d586458eb4de7636bd87fbf5d882fc /templates/machines
parentefc7c3ec0f837eabe430a966da82672ab28c0f32 (diff)
Permit to generate jobs for the upsquare
This patch adds suppport for the upsquare. Upsquare use a GRUB boot method, so we needed to add a new generic-grub-tftp boot template. Since all x86_64 use the same yocto generated build name, we add a new upsquare machine, but tweaked a bit utils/agljobtemplate.py to keep intel-corei7-64 everywhere (except for the LAVA device-type). Bug-AGL: SPEC-2075 Change-Id: I15c850fada53efbcda4fd58527d7b7414865f89d Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Diffstat (limited to 'templates/machines')
-rw-r--r--templates/machines/upsquare.jinja28
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/machines/upsquare.jinja2 b/templates/machines/upsquare.jinja2
new file mode 100644
index 0000000..46ced27
--- /dev/null
+++ b/templates/machines/upsquare.jinja2
@@ -0,0 +1,8 @@
+{%- extends 'boot/generic-grub-tftp.jinja2' %}
+{%- set device_arch = "x86" %}
+{%- set device_mach = "intel" %}
+{%- set device_type = "upsquare" %}
+{%- set yocto_machine = "intel-corei7-64" %}
+{%- set kernel_image = kernel_image|default("bzImage") %}
+{%- set rootfs_type = rootfs_type|default("nbd") %}
+{%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-intel-corei7-64.ext4.xz") %}