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:00:48 +0100 |
commit | 73bccbbfc0f987fc82aca5411e15f62c02e5336c (patch) | |
tree | 7c39f285aee6b38b4d5cbf45f24e81d4373c0847 /meta/conf | |
parent | fd31e30f97ee9bd128d5b7b748987b0a6427b279 (diff) | |
download | openembedded-core-73bccbbfc0f987fc82aca5411e15f62c02e5336c.tar.gz openembedded-core-73bccbbfc0f987fc82aca5411e15f62c02e5336c.tar.bz2 openembedded-core-73bccbbfc0f987fc82aca5411e15f62c02e5336c.zip |
qemuarm64.conf: set vars for runqemu
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.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 KERNEL_IMAGETYPE = "Image" SERIAL_CONSOLES = "38400;ttyAMA0 38400;hvc0" + +# For runqemu +QB_SYSTEM_NAME = "qemu-system-aarch64" +QB_MEM = "-m 512" +QB_MACHINE = "-machine virt" +QB_CPU = "-cpu cortex-a57" +QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,38400" +QB_OPT_APPEND = "-show-cursor" +QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no -device virtio-net-device,netdev=net0" +QB_SLIRP_OPT = "-netdev user,id=net0 -device virtio-net-device,netdev=net0" +QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=disk0" +QB_SERIAL_OPT = "-device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=virtcon" +QB_TCPSERIAL_OPT = " -device virtio-serial-device -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1 -device virtconsole,chardev=virtcon" |