From 51498175f186e49e5189abf1077a49e5db27741f Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Mon, 17 Jun 2019 14:35:50 +0200 Subject: 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 --- templates/machines/qemuarm.jinja2 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 templates/machines/qemuarm.jinja2 (limited to 'templates') 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 %} -- cgit 1.2.3-korg