From: Sam Day Date: Thu, 18 Jun 2026 23:55:01 +0000 (+1000) Subject: board: qualcomm: phone: enable CMD_FASTBOOT_ABORT_KEYED X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=865f62483b86b7936c2136d91bbce252b6406330;p=thirdparty%2Fu-boot.git board: qualcomm: phone: enable CMD_FASTBOOT_ABORT_KEYED Thus users are able to exit from fastboot by pressing a key. It's also possible to bail out by running `fastboot continue` from the host, but it's nice to be consistent with UMS. Also convenient to be able to bailout during testing if USB isn't working properly. Reviewed-by: Simon Glass Tested-by: Mattijs Korpershoek Reviewed-by: Casey Connolly Signed-off-by: Sam Day Reviewed-by: Mattijs Korpershoek Link: https://patch.msgid.link/20260619-fastboot-abort-keyed-v2-2-684e53949a42@samcday.com Signed-off-by: Mattijs Korpershoek --- diff --git a/board/qualcomm/qcom-phone.config b/board/qualcomm/qcom-phone.config index d24094eefdd..1387aa1dfa2 100644 --- a/board/qualcomm/qcom-phone.config +++ b/board/qualcomm/qcom-phone.config @@ -13,6 +13,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x1A000000 CONFIG_USB_FUNCTION_FASTBOOT=y CONFIG_USB_FUNCTION_ACM=y CONFIG_CMD_UMS_ABORT_KEYED=y +CONFIG_CMD_FASTBOOT_ABORT_KEYED=y # Record all console output and let it be dumped via fastboot CONFIG_CONSOLE_RECORD=y diff --git a/board/qualcomm/qcom-phone.env b/board/qualcomm/qcom-phone.env index 42f58c3bac6..5eaa2ceada8 100644 --- a/board/qualcomm/qcom-phone.env +++ b/board/qualcomm/qcom-phone.env @@ -32,7 +32,7 @@ menucmd=setenv bootcmd run menucmd; bootmenu -1 bootmenu_0=Boot=bootefi bootmgr; pause bootmenu_1=Enable serial console gadget=run serial_gadget bootmenu_2=Enable USB mass storage=echo "Press any key to exit UMS mode"; ums 0 scsi 0 -bootmenu_3=Enable fastboot mode=run fastboot +bootmenu_3=Enable fastboot mode=echo "Press any key to exit fastboot mode"; run fastboot # Disabling bootretry means we'll just drop the shell bootmenu_4=Drop to shell=setenv bootretry -1 bootmenu_5=Reset device=reset