You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
697c02302f
Previous USB keyboard console support commit worked fine on APL real platform, but it has issue on QEMU. This patch further enables USB keyboard console support for QEMU. A new PcdUsbKeyboardPollingTimeout is added. It will be used to control the USB keyboard interrupt transfer polling timeout. For QEMU, it needs a larger number due to timing issue. As part of it, booting from USB device is also enabled by this patch. This patch fixes #30. To test USB keyboard console in QEMU, please first change CONSOLE_IN _DEVICE_MASK in BoardConfig.py to 3, and then add the following in the QEMU command line to add XHCI controller and USB KB: -device qemu-xhci,id=xhci,bus=pcie.0,addr=4 -device usb-kbd,bus=xhci.0 Signed-off-by: Maurice Ma <maurice.ma@intel.com>