[PATCH v1] configs: agilex5: Enable FAT-based environment storage in defconfig
Chee, Tien Fong
tienfong.chee at altera.com
Mon Nov 17 09:50:20 CET 2025
On 23/10/2025 4:51 pm, alif.zakuan.yuslaimi at altera.com wrote:
> 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
Reviewed-by: Tien Fong Chee <tien.fong.chee at altera.com>
Best regards,
Tien Fong
More information about the U-Boot
mailing list