diff options
| author | Francesco Dolcini <francesco.dolcini@toradex.com> | 2026-09-30 10:22:28 +0000 |
|---|---|---|
| committer | Francesco Dolcini <francesco.dolcini@toradex.com> | 2026-09-30 12:25:22 +0200 |
| commit | 090bd378d558993644a9f5da0092e4526156a930 (patch) | |
| tree | 1a2f6e56f299273d3496c8c1ee9e4ad3fb4a7bc9 | |
| parent | 90f06f84135c033ee7e1a768d861642af30ef74e (diff) | |
configs: toradex-osm-imx95: fix the eMMC environment partitiontoradex_imx_lf_v2026.04
SYS_MMC_ENV_PART was renamed by commit 31617b880ab7 ("env: Rename
SYS_MMC_ENV_PART to ENV_MMC_EMMC_HW_PARTITION"), first released in
v2025.10. The option was still valid on the v2025.04 base this board
was added on and only became a dead entry with the forward port to
v2026.04.
ENV_MMC_EMMC_HW_PARTITION then defaults to 0, so the environment is
placed at the end of the eMMC user area instead of the end of the
boot partition. Reading it back prints "bad CRC, using default
environment", and a saveenv writes ENV_SIZE over the last bytes of
the user area, corrupting whatever extends to the end of the device.
Upstream-Status: Pending
Fixes: 06fc4f248c1a ("board: toradex: add initial support for OSM iMX95")
Assisted-by: LLM
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
| -rw-r--r-- | configs/toradex-osm-imx95_defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/toradex-osm-imx95_defconfig b/configs/toradex-osm-imx95_defconfig index 1afd5c77891..c6879758d08 100644 --- a/configs/toradex-osm-imx95_defconfig +++ b/configs/toradex-osm-imx95_defconfig @@ -93,7 +93,7 @@ CONFIG_SPL_OF_CONTROL=y CONFIG_ENV_OVERWRITE=y CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y -CONFIG_SYS_MMC_ENV_PART=1 +CONFIG_ENV_MMC_EMMC_HW_PARTITION=1 CONFIG_USE_ETHPRIME=y CONFIG_ETHPRIME="eth0" CONFIG_VERSION_VARIABLE=y |
