mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
boards/x86_64/qemu-intel64: add xHCI support to jumbo configs
add xHCI support for qemu-intel64 jumbo config Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
This commit is contained in:
committed by
Xiang Xiao
parent
fab4f68b6f
commit
54510c5f94
@@ -181,6 +181,11 @@ Basic command to run the image without additional PCI devices attached::
|
||||
qemu-system-x86_64 -m 2G -cpu host -smp 4 -enable-kvm \
|
||||
-kernel nuttx -nographic -serial mon:stdio
|
||||
|
||||
Command to run the image with some xHCI devices attached::
|
||||
|
||||
qemu-system-x86_64 -m 4G -smp 4 -cpu host -enable-kvm \
|
||||
-kernel nuttx -serial mon:stdio -chardev pty,id=ch1 \
|
||||
-device qemu-xhci -device usb-mouse -device usb-kbd
|
||||
|
||||
knsh_romfs
|
||||
----------
|
||||
|
||||
@@ -47,7 +47,11 @@ CONFIG_DEBUG_SYMBOLS=y
|
||||
CONFIG_DEFAULT_TASK_STACKSIZE=4194304
|
||||
CONFIG_DEV_SIMPLE_ADDRENV=y
|
||||
CONFIG_EXAMPLES_HELLO=y
|
||||
CONFIG_EXAMPLES_HIDKBD=y
|
||||
CONFIG_FS_FAT=y
|
||||
CONFIG_FS_PROCFS=y
|
||||
CONFIG_HIDKBD_STACKSIZE=10240
|
||||
CONFIG_HIDMOUSE_STACKSIZE=10240
|
||||
CONFIG_IDLETHREAD_STACKSIZE=4194304
|
||||
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||
CONFIG_INTEL64_ONESHOT=y
|
||||
@@ -111,4 +115,12 @@ CONFIG_SYSTEM_TIME64=y
|
||||
CONFIG_TESTING_OSTEST=y
|
||||
CONFIG_TESTING_OSTEST_STACKSIZE=4194304
|
||||
CONFIG_TESTING_SMP=y
|
||||
CONFIG_USBHOST=y
|
||||
CONFIG_USBHOST_COMPOSITE=y
|
||||
CONFIG_USBHOST_FT232R=y
|
||||
CONFIG_USBHOST_HIDKBD=y
|
||||
CONFIG_USBHOST_HIDMOUSE=y
|
||||
CONFIG_USBHOST_MSC=y
|
||||
CONFIG_USBHOST_WAITER=y
|
||||
CONFIG_USBHOST_XHCI_PCI=y
|
||||
CONFIG_USEC_PER_TICK=1
|
||||
|
||||
Reference in New Issue
Block a user