mirror of
https://github.com/thead-yocto-mirror/meta-riscv
synced 2026-09-04 07:44:45 +02:00
qemuriscv64.conf: Do not define hvc0 serial console
This fixes double prints on qemu console Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -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@"
|
||||
|
||||
Reference in New Issue
Block a user