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>
25 lines
611 B
Plaintext
25 lines
611 B
Plaintext
# Configuration for building U-Boot to be flashed
|
|
# to the uefi partition of QCS615 dev boards with
|
|
# the "Linux Embedded" partition layout (which have
|
|
# a dedicated "uefi" partition for edk2/U-Boot)
|
|
|
|
#include "qcom_defconfig"
|
|
|
|
# Otherwise buildman thinks this isn't an ARM platform
|
|
CONFIG_ARM=y
|
|
|
|
CONFIG_DEBUG_UART=y
|
|
CONFIG_DEBUG_UART_ANNOUNCE=y
|
|
CONFIG_DEBUG_UART_BASE=0x880000
|
|
CONFIG_DEBUG_UART_MSM_GENI=y
|
|
CONFIG_DEBUG_UART_CLOCK=7372800
|
|
|
|
CONFIG_DEFAULT_DEVICE_TREE="qcom/qcs615-ride"
|
|
|
|
CONFIG_REMAKE_ELF=y
|
|
|
|
# Address where U-Boot will be loaded
|
|
CONFIG_TEXT_BASE=0x9fc00000
|
|
|
|
CONFIG_FASTBOOT_BUF_ADDR=0xa1600000
|