diff options
author | Bin Meng <bmeng@tinylab.org> | 2023-07-23 07:40:41 +0300 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2023-08-02 11:32:44 +0300 |
commit | 02be57caf730e2213bc844bf1dbe58bedd2c3734 (patch) | |
tree | a56e2dc62406de041c67a18c25dff02d362f36bb /doc | |
parent | 124308e67b6e1b6597ef34899211abac9bf7fd60 (diff) | |
download | u-boot-02be57caf730e2213bc844bf1dbe58bedd2c3734.tar.xz |
riscv: qemu: Enable usb keyboard as an input device
This brings PCI xHCI support to QEMU RISC-V and uses a usb keyboard
as one of the input devices.
Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Rick Chen <rick@andestech.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/board/emulation/qemu-riscv.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/board/emulation/qemu-riscv.rst b/doc/board/emulation/qemu-riscv.rst index 9d21f3270c..61137bcbf1 100644 --- a/doc/board/emulation/qemu-riscv.rst +++ b/doc/board/emulation/qemu-riscv.rst @@ -138,6 +138,11 @@ and adding:: -serial stdio -device VGA +In addition, a usb keyboard can be attached to an emulated xHCI controller in +RISC-V virt machine as an option of input devices by adding:: + + -device qemu-xhci,id=xhci -device usb-kbd,bus=xhci.0 + Running with KVM ---------------- |