From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Tue, 14 Aug 2012 10:18:51 -0600 Subject: [U-Boot] [PATCH v2 1/1] USB: EHCI: Initialize multiple USB controllers at once In-Reply-To: <4B9C9637D5087840A465BDCB251780E9E2D7650915@HKMAIL02.nvidia.com> References: <4B9C9637D5087840A465BDCB251780E9E2D750F10C@HKMAIL02.nvidia.com> <201208120146.32785.marex@denx.de> <4B9C9637D5087840A465BDCB251780E9E2D7650915@HKMAIL02.nvidia.com> Message-ID: <502A7A6B.3030100@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/13/2012 10:22 PM, Jim Lin wrote: > Marek Vasut wrote at Sunday, August 12, 2012 7:47 AM: >> Dear Jim Lin, >> >>> Add support for command line "usb reset" or "usb start" to initialize >>> , "usb stop" to stop multiple USB controllers at once. >>> Other command like "usb tree" also supports multiple controllers. ... >>> +#ifdef CONFIG_USB_KEYBOARD >>> + drv_usb_kbd_init(); >> >> Will the keyboard driver survive this? > > Yes I have tried it after doing the following. > 1. Define CONFIG_USB_KEYBOARD, CONFIG_SYS_USB_EVENT_POLL, CONFIG_USB_MULTI, and CONFIG_USB_MAX_CONTROLLER_COUNT 3 > in config header file like seaboard.h to compile > 2. Install USB keyboard > 3. Run "usb reset" in u-boot serial console > 4. Run "coninfo" to see usbkbd appeared > 5. Run "setenv stdin usbkbd" > 6. Typing u-boot console command on USB keyboard I've also tested this on Springbank, which has a built-in USB keyboard and an external USB port via a separate host controller, which I connected to an Ethernet device, and it appears to all work very well for me. So, Tested-by: Stephen Warren