[PATCH v4 4/4] qcom_defconfig: enable capsule update support

neil.armstrong at linaro.org neil.armstrong at linaro.org
Thu Oct 17 16:41:19 CEST 2024


On 17/10/2024 15:19, Caleb Connolly wrote:
> 
> 
> On 14/10/2024 08:53, Neil Armstrong wrote:
>> On 12/10/2024 15:57, Caleb Connolly wrote:
>>> Enable all the necessary options for capsule updates to work, as well as
>>> a few additional EFI features.
>>>
>>> Capsule updates themselves are only enabled for the RB3 Gen 2, since the
>>> exact details on where to flash U-Boot (or how to handle multiple boot
>>> methods) has not been finalised for other boards.
>>
>> -----------------------/\ finalized
> 
> Finalised is the correct spelling in British English :P

Ah Ah sorry, my mailer spell checked is in English USA, sorry :-p Adding the british one right now!

Since you're a certified British, I'll trust you!

Neil

> 
> Is there a rule about this? XD
> 
> Thanks for the review!
>>
>>>
>>> Signed-off-by: Caleb Connolly <caleb.connolly at linaro.org>
>>> ---
>>>   configs/qcm6490_defconfig | 6 ++++++
>>>   configs/qcom_defconfig    | 8 +++++++-
>>>   2 files changed, 13 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/configs/qcm6490_defconfig b/configs/qcm6490_defconfig
>>> index 5ddc5ab3ef8c..ba26924da161 100644
>>> --- a/configs/qcm6490_defconfig
>>> +++ b/configs/qcm6490_defconfig
>>> @@ -18,4 +18,10 @@ CONFIG_DEBUG_UART_CLOCK=14745600
>>>   CONFIG_TEXT_BASE=0x9fc00000
>>>   CONFIG_REMAKE_ELF=y
>>>   CONFIG_DEFAULT_DEVICE_TREE="qcom/qcs6490-rb3gen2"
>>> +
>>> +# Enable capsule updates
>>> +CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
>>> +CONFIG_EFI_CAPSULE_ON_DISK=y
>>> +CONFIG_EFI_IGNORE_OSINDICATIONS=y
>>> +CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
>>> diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
>>> index e7ed03ff0f24..4c8ff0e84372 100644
>>> --- a/configs/qcom_defconfig
>>> +++ b/configs/qcom_defconfig
>>> @@ -20,21 +20,24 @@ CONFIG_LOG_MAX_LEVEL=9
>>>   CONFIG_LOG_DEFAULT_LEVEL=4
>>>   # CONFIG_DISPLAY_CPUINFO is not set
>>>   CONFIG_DISPLAY_BOARDINFO_LATE=y
>>>   CONFIG_CMD_BOOTMENU=y
>>> +CONFIG_CMD_NVEDIT_EFI=y
>>>   CONFIG_CMD_EEPROM=y
>>>   CONFIG_SYS_I2C_EEPROM_BUS=2
>>>   CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2
>>>   CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=5
>>>   # CONFIG_CMD_BIND is not set
>>>   CONFIG_CMD_CLK=y
>>> +CONFIG_CMD_DFU=y
>>>   CONFIG_CMD_GPIO=y
>>>   CONFIG_CMD_I2C=y
>>>   CONFIG_CMD_MMC=y
>>>   CONFIG_CMD_UFS=y
>>>   CONFIG_CMD_USB=y
>>>   CONFIG_CMD_CAT=y
>>>   CONFIG_CMD_BMP=y
>>> +CONFIG_CMD_EFIDEBUG=y
>>>   CONFIG_CMD_REGULATOR=y
>>>   CONFIG_CMD_LOG=y
>>>   CONFIG_OF_LIVE=y
>>>   CONFIG_USE_DEFAULT_ENV_FILE=y
>>> @@ -44,15 +47,18 @@ CONFIG_CLK=y
>>>   CONFIG_CLK_QCOM_APQ8016=y
>>>   CONFIG_CLK_QCOM_APQ8096=y
>>>   CONFIG_CLK_QCOM_QCM2290=y
>>>   CONFIG_CLK_QCOM_QCS404=y
>>> -CONFIG_CLK_QCOM_SC7280=y
>>>   CONFIG_CLK_QCOM_SDM845=y
>>>   CONFIG_CLK_QCOM_SM6115=y
>>>   CONFIG_CLK_QCOM_SM8150=y
>>>   CONFIG_CLK_QCOM_SM8250=y
>>>   CONFIG_CLK_QCOM_SM8550=y
>>>   CONFIG_CLK_QCOM_SM8650=y
>>> +CONFIG_CLK_QCOM_SC7280=y
>>> +CONFIG_DFU_MMC=y
>>> +CONFIG_DFU_SCSI=y
>>> +CONFIG_SYS_DFU_DATA_BUF_SIZE=0x200000
>>>   CONFIG_MSM_GPIO=y
>>>   CONFIG_QCOM_PMIC_GPIO=y
>>>   CONFIG_DM_I2C=y
>>>   CONFIG_SYS_I2C_QUP=y
>>>
>>
>> Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>
> 



More information about the U-Boot mailing list