diff options
author | Alper Nebi Yasak <alpernebiyasak@gmail.com> | 2023-08-14 20:39:43 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-08-24 16:47:25 -0400 |
commit | 05e2fa79310ab30dd3e3fe522333aef3cfb1c421 (patch) | |
tree | 261e12aed28a3efa9ee1b6f2d3fc582680c8b848 /doc/board | |
parent | 120f540a71e425efc702308352453ddf443a2c98 (diff) | |
download | u-boot-05e2fa79310ab30dd3e3fe522333aef3cfb1c421.zip u-boot-05e2fa79310ab30dd3e3fe522333aef3cfb1c421.tar.gz u-boot-05e2fa79310ab30dd3e3fe522333aef3cfb1c421.tar.bz2 |
arm: qemu: Enable usb keyboard as an input device
Commit 02be57caf730 ("riscv: qemu: Enable usb keyboard as an input
device") adds PCI xHCI support to QEMU RISC-V virtual machines and
enables using a USB keyboard as one of the input devices. Similarly,
enable those for ARM virtual machines as well.
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng@tinylab.org>
Diffstat (limited to 'doc/board')
-rw-r--r-- | doc/board/emulation/qemu-arm.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/board/emulation/qemu-arm.rst b/doc/board/emulation/qemu-arm.rst index 1108fe5..8ec5349 100644 --- a/doc/board/emulation/qemu-arm.rst +++ b/doc/board/emulation/qemu-arm.rst @@ -84,6 +84,10 @@ can be enabled with the following command line parameters: -device usb-ehci,id=ehci +- To add a USB keyboard attached to an emulated xHCI controller, pass e.g.:: + + -device qemu-xhci,id=xhci -device usb-kbd,bus=xhci.0 + - To add an NVMe disk, pass e.g.:: -drive if=none,file=disk.img,id=mydisk -device nvme,drive=mydisk,serial=foo |