From 210ac13eb6657fb4ba75a93c107eb27be5953407 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Fri, 3 May 2019 15:10:48 +0200 Subject: SPEC-2376: add qemu arm64 template This patch adds a template for qemuarm64 Bug-AGL: SPEC-2376 Change-Id: I2f8a5fbd1625df8fcb03ba4798c2d8329889408b Signed-off-by: Corentin LABBE --- templates/machines/qemuarm64.jinja2 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 templates/machines/qemuarm64.jinja2 (limited to 'templates') diff --git a/templates/machines/qemuarm64.jinja2 b/templates/machines/qemuarm64.jinja2 new file mode 100644 index 0000000..14b780a --- /dev/null +++ b/templates/machines/qemuarm64.jinja2 @@ -0,0 +1,19 @@ +{%- extends 'boot/generic-qemu-tmpfs.jinja2' %} +{%- set deploy_to = "tmpfs" %} +{%- set device_type = "qemu" %} +{%- set kernel_image = "Image" %} +{%- set device_arch = "arm64" %} +{%- set sdk_arch = "aarch64" %} +{%- set device_mach = "arm64" %} +{%- set qemu_arch = "aarch64" %} +{%- set qemu_cpu = "cortex-a57" %} +{%- set qemu_machine = "virt" %} +{%- set qemu_memory = "2048" %} +{%- set qemu_args = "-smp 2 -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-qemuarm64.ext4.xz") %} +{%- else %} + {%- set rfs_image = rfs_image|default("agl-demo-platform-qemuarm64.ext4.xz") %} +{%- endif %} -- cgit 1.2.3-korg