[PATCH v1] configs: aquila-am69: Set ENV_MMC_EMMC_HW_PARTITION and ENV_RELOC_GD_ENV_ADDR
Tom Rini
trini at konsulko.com
Thu Apr 23 00:48:58 CEST 2026
On Wed, 01 Apr 2026 15:18:42 +0100, Vitor Soares wrote:
> 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.
>
> [...]
Applied to u-boot/master, thanks!
[1/1] configs: aquila-am69: Set ENV_MMC_EMMC_HW_PARTITION and ENV_RELOC_GD_ENV_ADDR
commit: 6f44d897435fe700afb7bb1858d6bc15516c3956
--
Tom
More information about the U-Boot
mailing list