diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2019-05-03 15:10:48 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-05-24 15:45:55 +0000 |
commit | 210ac13eb6657fb4ba75a93c107eb27be5953407 (patch) | |
tree | d591342b91c3e369ea1833ff008812e384376fc3 | |
parent | 0ce02f3d03318c9260d545682ab40dc381fbf614 (diff) |
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 <clabbe@baylibre.com>
-rw-r--r-- | templates/machines/qemuarm64.jinja2 | 19 |
1 files changed, 19 insertions, 0 deletions
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 %} |