
On 12/6/24 19:50, Julius Lehmann wrote:
On 04.10.24 14:46, Caleb Connolly wrote:
Phones don't have keyboards! Introduce a phone-specific config fragment and associated environment file to make U-Boot more useful on these devices. This allows for navigating via the buttons and enabling various USB gadget modes or displaying info about U-Boot.
Signed-off-by: Caleb Connolly caleb.connolly@linaro.org
board/qualcomm/qcom-phone.config | 12 ++++++++++ board/qualcomm/qcom-phone.env | 49 ++++++++++++++++++++++++++++++ ++++++++++ 2 files changed, 61 insertions(+)
diff --git a/board/qualcomm/qcom-phone.config b/board/qualcomm/qcom- phone.config new file mode 100644 index 000000000000..388d4c3e7398 --- /dev/null +++ b/board/qualcomm/qcom-phone.config @@ -0,0 +1,12 @@ +# Settings for phones +CONFIG_USE_DEFAULT_ENV_FILE=y +CONFIG_DEFAULT_ENV_FILE="board/qualcomm/qcom-phone.env" +CONFIG_PANIC_HANG=y +CONFIG_CMD_PAUSE=y +CONFIG_BOOTSTD=y +CONFIG_BOOT_RETRY=y +CONFIG_BOOT_RETRY_TIME=1 +CONFIG_BUTTON_REMAP_PHONE_KEYS=y
should also include fastboot, serial gadget and CONFIG_CMD_USB_MASS_STORAGE. otherwise some menu options wouldn't work.
+1, should probably include CONFIG_USB_FUNCTION_ACM to enable output to usbacm?