summaryrefslogtreecommitdiffstats
path: root/templates/machines
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2019-06-17 14:35:50 +0200
committerCorentin LABBE <clabbe@baylibre.com>2019-06-17 15:23:25 +0200
commit51498175f186e49e5189abf1077a49e5db27741f (patch)
tree792a68f240f29b0bd31f3b89bd437b98779eb835 /templates/machines
parentd914aa545860a8462aea181b142ff27c257231d0 (diff)
SPEC-2376: add qemu arm template
This patch adds a template for qemuarm Bug-AGL: SPEC-2376 Change-Id: Ib0b9f44d96fc7f365f7da17ce3ce3461d0a3c6c0 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Diffstat (limited to 'templates/machines')
-rw-r--r--templates/machines/qemuarm.jinja219
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/machines/qemuarm.jinja2 b/templates/machines/qemuarm.jinja2
new file mode 100644
index 0000000..2492364
--- /dev/null
+++ b/templates/machines/qemuarm.jinja2
@@ -0,0 +1,19 @@
+{%- extends 'boot/generic-qemu-tmpfs.jinja2' %}
+{%- set deploy_to = "tmpfs" %}
+{%- set device_type = "qemu" %}
+{%- set kernel_image = "zImage" %}
+{%- set device_arch = "arm" %}
+{%- set sdk_arch = "arm" %}
+{%- set device_mach = "arm" %}
+{%- set qemu_arch = "arm" %}
+{%- set qemu_cpu = "cortex-a15" %}
+{%- set qemu_machine = "virt" %}
+{%- set qemu_memory = "2048" %}
+{%- set qemu_args = "-soundhw hda -device usb-ehci" %}
+{%- set qemu_cmdline = "console=ttyAMA0,115200 root=/dev/vda debug verbose systemd.log_color=false " %}
+{%- set rootfs_type = rootfs_type|default("ramdisk") %}
+{%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'snapshot') %}
+ {%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-qemuarm.ext4.xz") %}
+{%- else %}
+ {%- set rfs_image = rfs_image|default("agl-demo-platform-qemuarm.ext4.xz") %}
+{%- endif %}