]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
configs: Fix fastboot buffer address for QCS615 and QCM6490 boards
authorBalaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
Wed, 7 Jan 2026 09:50:38 +0000 (15:20 +0530)
committerCasey Connolly <casey.connolly@linaro.org>
Wed, 14 Jan 2026 15:25:09 +0000 (16:25 +0100)
The default value of CONFIG_FASTBOOT_BUF_ADDR is 0, which causes
NULL pointer dereference during fastboot commands when users dont
provide "-l" option in fastboot usb command.

Set it to safe and sufficiently large region in RAM
of the QCS615 and QCM6490 boards, to prevent crashes.

Signed-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
Reviewed-by: Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>
Link: https://patch.msgid.link/20260107095038.2491697-1-balaji.selvanathan@oss.qualcomm.com
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
configs/qcm6490_defconfig
configs/qcom_qcs615_defconfig

index 54eb5dedaecb7a82c26a4bd7f5d1807ca6d4201c..618098c8860ebb8439d2d490dcf43ba1d4623b67 100644 (file)
@@ -13,3 +13,5 @@ CONFIG_TEXT_BASE=0x9fc00000
 CONFIG_REMAKE_ELF=y
 
 CONFIG_DEFAULT_DEVICE_TREE="qcom/qcs6490-rb3gen2"
+
+CONFIG_FASTBOOT_BUF_ADDR=0xd8800000
index f0362aa6976c1314b4beff44fabd20979cb7b534..27666a8129d770b1eeba07a4df6a613c5906365d 100644 (file)
@@ -20,3 +20,5 @@ CONFIG_REMAKE_ELF=y
 
 # Address where U-Boot will be loaded
 CONFIG_TEXT_BASE=0x9fc00000
+
+CONFIG_FASTBOOT_BUF_ADDR=0xa1600000