On Virt64, enabling SBI serial leads to doubled output, because both OpenSBI and barebox use the same serial for output and all consoles are enabled by default. Given that SBI PUTCHAR is no longer part of newer SBI specs, we can just disable the sbi console driver in the defconfig to work around this. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- arch/riscv/configs/rv64i_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/riscv/configs/rv64i_defconfig b/arch/riscv/configs/rv64i_defconfig index 2c5bfd2df131..53c367c5e415 100644 --- a/arch/riscv/configs/rv64i_defconfig +++ b/arch/riscv/configs/rv64i_defconfig @@ -97,7 +97,6 @@ CONFIG_NET_FASTBOOT=y CONFIG_OF_BAREBOX_DRIVERS=y CONFIG_OF_BAREBOX_ENV_IN_FS=y CONFIG_DRIVER_SERIAL_NS16550=y -CONFIG_SERIAL_SBI=y CONFIG_VIRTIO_CONSOLE=y CONFIG_SERIAL_SIFIVE=y CONFIG_DRIVER_NET_MACB=y -- 2.39.2