[U-Boot] [PATCH] sunxi: A64/H5 devices: enable usb keyboard support

Peter Robinson pbrobinson at gmail.com
Wed Apr 18 11:47:20 UTC 2018


On Mon, Apr 9, 2018 at 2:50 PM, Antony Antony <antony at phenome.org> wrote:
> On Mon, Apr 09, 2018 at 01:15:00PM +0100, Peter Robinson wrote:
>> Now the A64/H5 SoCs support video output it's useful to enable usb keyboard
>> support so console can be used via standard keyboard/video interface.
>>
>> Tested on Pine64.
>
> Is it usefull on devices without video output(no HDMI, VGA)?
>
>
>>  configs/nanopi_neo2_defconfig         | 2 ++
>>  configs/nanopi_neo_plus2_defconfig    | 2 ++
>
>
>> --- a/configs/nanopi_neo2_defconfig
>> +++ b/configs/nanopi_neo2_defconfig
>> @@ -13,3 +13,5 @@ CONFIG_DEFAULT_DEVICE_TREE="sun50i-h5-nanopi-neo2"
>>  CONFIG_SUN8I_EMAC=y
>>  CONFIG_USB_EHCI_HCD=y
>>  CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
>> +CONFIG_DM_KEYBOARD=y
>> +CONFIG_USB_KEYBOARD=y
>> diff --git a/configs/nanopi_neo_plus2_defconfig b/configs/nanopi_neo_plus2_defconfig
>> index 5f69799e06..1c6ad4647d 100644
>> --- a/configs/nanopi_neo_plus2_defconfig
>> +++ b/configs/nanopi_neo_plus2_defconfig
>> @@ -14,3 +14,5 @@ CONFIG_DEFAULT_DEVICE_TREE="sun50i-h5-nanopi-neo-plus2"
>>  # CONFIG_SPL_EFI_PARTITION is not set
>>  CONFIG_SUN8I_EMAC=y
>>  CONFIG_USB_EHCI_HCD=y
>> +CONFIG_DM_KEYBOARD=y
>> +CONFIG_USB_KEYBOARD=y
>
> these two devices have no video out. I am not sure all these have HDMI output.

Well it's likely a moot point as the HDMI seems enabled on the SoC by
default but I'll update to drop those two.


More information about the U-Boot mailing list