[PATCH v1] configs: aquila-am69: Set ENV_MMC_EMMC_HW_PARTITION and ENV_RELOC_GD_ENV_ADDR
Francesco Dolcini
francesco at dolcini.it
Wed Apr 1 16:32:21 CEST 2026
Hello Tom,
On Wed, Apr 01, 2026 at 03:18:42PM +0100, Vitor Soares wrote:
> From: Vitor Soares <vitor.soares at toradex.com>
>
> Set CONFIG_ENV_MMC_EMMC_HW_PARTITION=1 to store the environment in the
> eMMC first hardware boot partition instead of defaulting to 0 (user
> data area), where the rootfs and data partitions normally reside,
> risking corruption. This keeps the full boot stack self-contained in
> the eMMC hardware boot partition.
>
> Enable CONFIG_ENV_RELOC_GD_ENV_ADDR so that gd->env_addr is adjusted by
> the relocation offset during U-Boot relocation. Without it, gd->env_addr
> keeps pointing to the pre-relocation address of the default
> environment, leading to incorrect environment access before env_load()
> completes.
>
> Fixes: 3f0528882c0d ("board: toradex: add aquila am69 support")
> Signed-off-by: Vitor Soares <vitor.soares at toradex.com>
Acked-by: Francesco Dolcini <francesco.dolcini at toradex.com>
Tom, this is for master, I know we are very close to the release date.
Thanks,
Francesco
More information about the U-Boot
mailing list