On 23/10/2025 4:51 pm, [email protected] wrote:
From: Alif Zakuan Yuslaimi <[email protected]> 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 <[email protected]> --- 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
Reviewed-by: Tien Fong Chee <[email protected]> Best regards, Tien Fong

