[PATCH 2/2] qcom: qcs615: store environment in eMMC logfs partition

Balaji Selvanathan balaji.selvanathan at oss.qualcomm.com
Sat May 2 04:01:49 CEST 2026


Configure QCS615 to store the U-Boot environment in eMMC using
a software-defined partition.

The environment is placed in the logfs partition.

Signed-off-by: Balaji Selvanathan <balaji.selvanathan at oss.qualcomm.com>
---
 configs/qcom_qcs615_defconfig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/configs/qcom_qcs615_defconfig b/configs/qcom_qcs615_defconfig
index 494e55bb18c..2cf6519b06f 100644
--- a/configs/qcom_qcs615_defconfig
+++ b/configs/qcom_qcs615_defconfig
@@ -28,3 +28,10 @@ CONFIG_FASTBOOT_BUF_ADDR=0xa1600000
 # QCS615 has eMMC only, not UFS/SCSI - override qcom_defconfig settings
 CONFIG_FASTBOOT_FLASH_BLOCK_INTERFACE_NAME="mmc"
 CONFIG_FASTBOOT_FLASH_BLOCK_DEVICE_ID=0
+
+# Environment stored in eMMC logfs partition
+CONFIG_ENV_IS_IN_MMC=y
+CONFIG_ENV_MMC_USE_SW_PARTITION=y
+CONFIG_ENV_MMC_SW_PARTITION="logfs"
+CONFIG_ENV_OFFSET=0x0
+CONFIG_ENV_SIZE=0x4000

-- 
2.34.1



More information about the U-Boot mailing list