diff options
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" | ||