RPi Zero 2 W usb keyboard support?

Filip Žaludek filip.zaludek at oracle.com
Tue Jul 25 17:52:46 CEST 2023



On 7/24/23 21:53, Filip Žaludek wrote:
> 
> Hi,
>    is supposed usb keyboard to work in u-boot 2023.04 on RPi Zero 2 W?
> Configured as rpi_arm64_defconfig, no usb devices found but subsequent
> kernel works as expected.
> 
> 
> [pi02]
> kernel=u-boot.bin
> otg_mode=0
> dtoverlay=dwc2,dr_mode=host
> 
> 


Hello,
  I see, increasing usb_pgood_delay makes the trick.

Regards,
Filip




U-Boot> env set usb_pgood_delay 1000
U-Boot> env save
U-Boot>
U-Boot> usb reset
resetting USB...
Bus usb at 7e980000: USB DWC2
scanning bus usb at 7e980000 for devices... 2 USB Device(s) found
        scanning usb for storage devices... 0 Storage Device(s) found
U-Boot> usb tree
USB device tree:
   1  Hub (480 Mb/s, 0mA)
   |   U-Boot Root Hub
   |
   +-2  Human Interface (1.5 Mb/s, 98mA)
         Lenovo Traditional USB Keyboard

U-Boot>





More information about the U-Boot mailing list