Message ID | 20240603-b4-qcom-capsule-updates-v3-8-fe2e083289ec@linaro.org |
---|---|
State | New |
Headers | show |
Series | qcom: implement capsule updates | expand |
On Mon, 3 Jun 2024 at 15:49, Caleb Connolly <caleb.connolly@linaro.org> wrote: > > Enable all the necessary options for capsule updates to work, as well as > a few additional EFI features. > > Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org> > --- > configs/qcom_defconfig | 14 ++++++++++++-- > 1 file changed, 12 insertions(+), 2 deletions(-) > > diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig > index f2dfced4bc1e..d1de7158e3f5 100644 > --- a/configs/qcom_defconfig > +++ b/configs/qcom_defconfig > @@ -19,33 +19,39 @@ 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_LOG=y > CONFIG_OF_LIVE=y > CONFIG_BUTTON_QCOM_PMIC=y > CONFIG_CLK=y > +CONFIG_CLK_STUB=y > CONFIG_CLK_QCOM_QCM2290=y > CONFIG_CLK_QCOM_QCS404=y > CONFIG_CLK_QCOM_SDM845=y > CONFIG_CLK_QCOM_SM6115=y > CONFIG_CLK_QCOM_SM8250=y > CONFIG_CLK_QCOM_SM8550=y > CONFIG_CLK_QCOM_SM8650=y > -CONFIG_CLK_STUB=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 > @@ -105,6 +111,10 @@ CONFIG_VIDEO=y > CONFIG_VIDEO_FONT_16X32=y > CONFIG_SYS_WHITE_ON_BLACK=y > CONFIG_NO_FB_CLEAR=y > CONFIG_VIDEO_SIMPLE=y > -CONFIG_HEXDUMP=y > +CONFIG_SYMBOL_LOOKUP=y > +CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y > +CONFIG_EFI_CAPSULE_ON_DISK=y > +CONFIG_EFI_IGNORE_OSINDICATIONS=y > +CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y > CONFIG_LMB_MAX_REGIONS=64 > > -- > 2.45.0 > Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index f2dfced4bc1e..d1de7158e3f5 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfig @@ -19,33 +19,39 @@ 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_LOG=y CONFIG_OF_LIVE=y CONFIG_BUTTON_QCOM_PMIC=y CONFIG_CLK=y +CONFIG_CLK_STUB=y CONFIG_CLK_QCOM_QCM2290=y CONFIG_CLK_QCOM_QCS404=y CONFIG_CLK_QCOM_SDM845=y CONFIG_CLK_QCOM_SM6115=y CONFIG_CLK_QCOM_SM8250=y CONFIG_CLK_QCOM_SM8550=y CONFIG_CLK_QCOM_SM8650=y -CONFIG_CLK_STUB=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 @@ -105,6 +111,10 @@ CONFIG_VIDEO=y CONFIG_VIDEO_FONT_16X32=y CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_NO_FB_CLEAR=y CONFIG_VIDEO_SIMPLE=y -CONFIG_HEXDUMP=y +CONFIG_SYMBOL_LOOKUP=y +CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y +CONFIG_EFI_CAPSULE_ON_DISK=y +CONFIG_EFI_IGNORE_OSINDICATIONS=y +CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y CONFIG_LMB_MAX_REGIONS=64
Enable all the necessary options for capsule updates to work, as well as a few additional EFI features. Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org> --- configs/qcom_defconfig | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-)