[PATCH v1] configs: agilex5: Enable FAT-based environment storage in defconfig
    alif.zakuan.yuslaimi at altera.com 
    alif.zakuan.yuslaimi at altera.com
       
    Thu Oct 23 10:51:22 CEST 2025
    
    
  
From: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi at altera.com>
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 <alif.zakuan.yuslaimi at altera.com>
---
 configs/socfpga_agilex5_defconfig | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/configs/socfpga_agilex5_defconfig b/configs/socfpga_agilex5_defconfig
index 9ca1910d53f..1068957c2c8 100644
--- a/configs/socfpga_agilex5_defconfig
+++ b/configs/socfpga_agilex5_defconfig
@@ -71,7 +71,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.43.7
    
    
More information about the U-Boot
mailing list