diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-08-25 07:41:00 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-09 12:07:31 +0100 |
commit | 9b0a94cbed59c591bd1b3758967705ccfac171a8 (patch) | |
tree | 69d410cd70f23159ab42c57e4d275d87af1e5103 /meta/conf/machine/qemuarm64.conf | |
parent | 8b6e7729a3c5c6952a88d1a0c9e32a5a01e8dc46 (diff) | |
download | poky-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/machine/qemuarm64.conf')
-rw-r--r-- | meta/conf/machine/qemuarm64.conf | 13 |
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 | |||
8 | KERNEL_IMAGETYPE = "Image" | 8 | KERNEL_IMAGETYPE = "Image" |
9 | 9 | ||
10 | SERIAL_CONSOLES = "38400;ttyAMA0 38400;hvc0" | 10 | SERIAL_CONSOLES = "38400;ttyAMA0 38400;hvc0" |
11 | |||
12 | # For runqemu | ||
13 | QB_SYSTEM_NAME = "qemu-system-aarch64" | ||
14 | QB_MEM = "-m 512" | ||
15 | QB_MACHINE = "-machine virt" | ||
16 | QB_CPU = "-cpu cortex-a57" | ||
17 | QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,38400" | ||
18 | QB_OPT_APPEND = "-show-cursor" | ||
19 | QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no -device virtio-net-device,netdev=net0" | ||
20 | QB_SLIRP_OPT = "-netdev user,id=net0 -device virtio-net-device,netdev=net0" | ||
21 | QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=disk0" | ||
22 | QB_SERIAL_OPT = "-device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=virtcon" | ||
23 | QB_TCPSERIAL_OPT = " -device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device virtconsole,chardev=virtcon" | ||