From 4f4e1753d416f942f58d62340bec5f8b447e9e41 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 13 Nov 2018 22:07:11 -0800 Subject: [PATCH] qemuriscv64.conf: Do not define hvc0 serial console This fixes double prints on qemu console Signed-off-by: Khem Raj --- conf/machine/qemuriscv64.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/conf/machine/qemuriscv64.conf b/conf/machine/qemuriscv64.conf index 990f253..e22d5f0 100644 --- a/conf/machine/qemuriscv64.conf +++ b/conf/machine/qemuriscv64.conf @@ -17,7 +17,7 @@ KERNEL_IMAGETYPE = "vmlinux" GDBVERSION = "riscv" -SERIAL_CONSOLES = "115200;ttyS0 115200;hvc0" +SERIAL_CONSOLES = "115200;ttyS0" TCLIBC = "glibc" IMAGE_FSTYPES_append = " ext4" @@ -32,10 +32,11 @@ UBOOT_MACHINE = "qemu-riscv64_defconfig" UBOOT_ELF = "u-boot" # qemuboot options -QB_KERNEL_CMDLINE_APPEND = "console=hvc0,115200" +QB_KERNEL_CMDLINE_APPEND = "console=ttyS0,115200 console=tty" +QB_MEM = "-m 512" QB_MACHINE = "-machine virt" QB_DEFAULT_KERNEL = "bbl" -QB_SLIRP_OPT = "-netdev user,id=net0,hostfwd=tcp::22222-:22" +#QB_SLIRP_OPT = "-netdev user,id=net0,hostfwd=tcp::22222-:22" QB_OPT_APPEND = "-show-cursor -monitor null" QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no" QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@"