From ec4b7710f87f02e94d5418713da8c1930a5c6528 Mon Sep 17 00:00:00 2001 From: Alif Zakuan Yuslaimi Date: Thu, 23 Oct 2025 01:51:22 -0700 Subject: [PATCH] configs: agilex5: Enable FAT-based environment storage in defconfig Enable storing the U-Boot environment in a FAT filesystem for Agilex5. This allows the board to read and write environment variables from the first partition of the first device formatted with FAT, in addition to the existing UBI-based environment configuration. Signed-off-by: Alif Zakuan Yuslaimi Reviewed-by: Tien Fong Chee --- configs/socfpga_agilex5_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/socfpga_agilex5_defconfig b/configs/socfpga_agilex5_defconfig index bbe712f8452..64f2f1bf115 100644 --- a/configs/socfpga_agilex5_defconfig +++ b/configs/socfpga_agilex5_defconfig @@ -70,7 +70,9 @@ CONFIG_CMD_UBI=y # CONFIG_ISO_PARTITION is not set # CONFIG_EFI_PARTITION is not set CONFIG_OF_LIST="" +CONFIG_ENV_IS_IN_FAT=y CONFIG_ENV_IS_IN_UBI=y +CONFIG_ENV_FAT_DEVICE_AND_PART="0:1" CONFIG_ENV_UBI_PART="root" CONFIG_ENV_UBI_VOLUME="env" CONFIG_ENV_RELOC_GD_ENV_ADDR=y -- 2.47.3