kunit: tool: update riscv QEMU config with new serial dependency
PATCH 1/1 kunit: tool: update riscv QEMU config with new serial dependency
The config for the serial console for riscv, CONFIG_SERIAL_EARLYCON_RISCV_SBI, added a dependency, CONFIG_RISCV_SBI_V01, at some point, so add that in to the base arch config.
--- tools/testing/kunit/qemu_configs/riscv.py | 1 + 1 file changed, 1 insertion(+)
tools/testing/kunit/qemu_configs/riscv.py +1 -0
@@ -21,6 +21,7 @@ CONFIG_SOC_VIRT=y CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_OF_PLATFORM=y +CONFIG_RISCV_SBI_V01=y CONFIG_SERIAL_EARLYCON_RISCV_SBI=y''', qemu_arch='riscv64', kernel_path='arch/riscv/boot/Image',
base-commit: feb9c5e19e913b53cb536a7aa7c9f20107bb51ec
Signature · 1 line
2.36.0.550.gb090851708-goog
Quoted 8 lines · Brendan Higgins' via KUnit Development
The config for the serial console for riscv,
CONFIG_SERIAL_EARLYCON_RISCV_SBI, added a dependency,CONFIG_RISCV_SBI_V01, at some point, so add that in to the base arch config.Signed-off-by Brendan Higgins <[email protected]>---
Thanks! I actually hit this issue looking at rust stuff the other day, but didn't have a chance to look into it properly.
This looks good, and works for me.
-- David
Quoted 24 lines
tools/testing/kunit/qemu_configs/riscv.py | 1 + 1 file changed, 1 insertion(+)tools/testing/kunit/qemu_configs/riscv.py +1
-0@@ -21,6 +21,7 @@ CONFIG_SOC_VIRT=y CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_OF_PLATFORM=y +CONFIG_RISCV_SBI_V01=y CONFIG_SERIAL_EARLYCON_RISCV_SBI=y''', qemu_arch='riscv64', kernel_path='arch/riscv/boot/Image',base-commit:
feb9c5e19e913b53cb536a7aa7c9f20107bb51ec--
2.36.0.550.gb090851708-goog--
You received this message because you are subscribed to the Google Groups "KUnit Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/kunit-dev/20220512003026.3413497-1-brendanhiggins%40google.com.