summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-08-25 07:41:00 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-09 12:07:31 +0100
commit9b0a94cbed59c591bd1b3758967705ccfac171a8 (patch)
tree69d410cd70f23159ab42c57e4d275d87af1e5103 /meta/conf
parent8b6e7729a3c5c6952a88d1a0c9e32a5a01e8dc46 (diff)
downloadpoky-9b0a94cbed59c591bd1b3758967705ccfac171a8.tar.gz
qemuarm64.conf: set vars for runqemu
(From OE-Core rev: 73bccbbfc0f987fc82aca5411e15f62c02e5336c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/machine/qemuarm64.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf
index f59fb15c5f..df76ee668e 100644
--- a/meta/conf/machine/qemuarm64.conf
+++ b/meta/conf/machine/qemuarm64.conf
@@ -8,3 +8,16 @@ require conf/machine/include/qemu.inc
8KERNEL_IMAGETYPE = "Image" 8KERNEL_IMAGETYPE = "Image"
9 9
10SERIAL_CONSOLES = "38400;ttyAMA0 38400;hvc0" 10SERIAL_CONSOLES = "38400;ttyAMA0 38400;hvc0"
11
12# For runqemu
13QB_SYSTEM_NAME = "qemu-system-aarch64"
14QB_MEM = "-m 512"
15QB_MACHINE = "-machine virt"
16QB_CPU = "-cpu cortex-a57"
17QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,38400"
18QB_OPT_APPEND = "-show-cursor"
19QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no -device virtio-net-device,netdev=net0"
20QB_SLIRP_OPT = "-netdev user,id=net0 -device virtio-net-device,netdev=net0"
21QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=disk0"
22QB_SERIAL_OPT = "-device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=virtcon"
23QB_TCPSERIAL_OPT = " -device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device virtconsole,chardev=virtcon"