[U-Boot] [PATCH] rpi: Enable USB keyboard support
Jonathan Gray
jsg at jsg.id.au
Fri Aug 25 02:07:01 UTC 2017
On Thu, Aug 24, 2017 at 07:45:31PM -0600, Simon Glass wrote:
> This is currently disabled, so USB keyboards are not detected in U_Boot.
> Enable this option to fix that.
After your recent mail I confirmed that a USB keyboard was not usable in
U-Boot with 2017.09-rc2 rpi_3_defconfig but was with
CONFIG_DM_KEYBOARD=y added.
With CONFIG_DM_KEYBOARD=y having both HDMI and serial connected, input
from serial and USB keyboard is output to both HDMI and serial as
expected.
Tested-by: Jonathan Gray <jsg at jsg.id.au>
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> configs/rpi_2_defconfig | 1 +
> configs/rpi_3_32b_defconfig | 1 +
> configs/rpi_3_defconfig | 1 +
> configs/rpi_defconfig | 1 +
> 4 files changed, 4 insertions(+)
>
> diff --git a/configs/rpi_2_defconfig b/configs/rpi_2_defconfig
> index 63d1e4042d..5150eed79c 100644
> --- a/configs/rpi_2_defconfig
> +++ b/configs/rpi_2_defconfig
> @@ -15,6 +15,7 @@ CONFIG_SYS_PROMPT="U-Boot> "
> CONFIG_CMD_GPIO=y
> CONFIG_CMD_MMC=y
> CONFIG_CMD_USB=y
> +CONFIG_DM_KEYBOARD=y
> CONFIG_DM_MMC=y
> CONFIG_MMC_SDHCI=y
> CONFIG_MMC_SDHCI_BCM2835=y
> diff --git a/configs/rpi_3_32b_defconfig b/configs/rpi_3_32b_defconfig
> index 343cb197a1..caceb85b07 100644
> --- a/configs/rpi_3_32b_defconfig
> +++ b/configs/rpi_3_32b_defconfig
> @@ -16,6 +16,7 @@ CONFIG_SYS_PROMPT="U-Boot> "
> CONFIG_CMD_GPIO=y
> CONFIG_CMD_MMC=y
> CONFIG_CMD_USB=y
> +CONFIG_DM_KEYBOARD=y
> CONFIG_DM_MMC=y
> CONFIG_MMC_SDHCI=y
> CONFIG_MMC_SDHCI_BCM2835=y
> diff --git a/configs/rpi_3_defconfig b/configs/rpi_3_defconfig
> index 6c9f2e32b5..e3dd1b9124 100644
> --- a/configs/rpi_3_defconfig
> +++ b/configs/rpi_3_defconfig
> @@ -16,6 +16,7 @@ CONFIG_SYS_PROMPT="U-Boot> "
> CONFIG_CMD_GPIO=y
> CONFIG_CMD_MMC=y
> CONFIG_CMD_USB=y
> +CONFIG_DM_KEYBOARD=y
> CONFIG_DM_MMC=y
> CONFIG_MMC_SDHCI=y
> CONFIG_MMC_SDHCI_BCM2835=y
> diff --git a/configs/rpi_defconfig b/configs/rpi_defconfig
> index 6b3cec5ce0..eaf9bb9189 100644
> --- a/configs/rpi_defconfig
> +++ b/configs/rpi_defconfig
> @@ -15,6 +15,7 @@ CONFIG_SYS_PROMPT="U-Boot> "
> CONFIG_CMD_GPIO=y
> CONFIG_CMD_MMC=y
> CONFIG_CMD_USB=y
> +CONFIG_DM_KEYBOARD=y
> CONFIG_DM_MMC=y
> CONFIG_MMC_SDHCI=y
> CONFIG_MMC_SDHCI_BCM2835=y
> --
> 2.14.1.342.g6490525c54-goog
>
More information about the U-Boot
mailing list