>   i've tried various combinations in that config file, including stuff
> like:
>@
>   # MTD device name   Device offset   Env. size   Flash sector size
>   /dev/mmcblk0p7      0x7e000         0x2000      0x200
>@
Hi, Robert

You specify the device offset, so the block device [1] should not also
specify a partition.

The flash sector size should not be specified.

Double check CONFIG_ENV_IS_IN_MMC [2], CONFIG_ENV_OFFSET [3], and 
CONFIG_ENV_SIZE [4].

With CONFIG_ENV_IS_IN_MMC [5]:
"[ENV_OFFSET and ENV_SIZE] are in units of bytes, but must be aligned to
an MMC sector boundary."

[1] https://github.com/u-boot/u-boot/blob/v2025.01/tools/env/fw_env.config#L25
[2] https://github.com/u-boot/u-boot/blob/v2025.01/env/Kconfig#L193
[3] https://github.com/u-boot/u-boot/blob/v2025.01/env/Kconfig#L564
[4] https://github.com/u-boot/u-boot/blob/v2025.01/env/Kconfig#L601
[5] https://github.com/u-boot/u-boot/blob/v2025.01/env/Kconfig#L229-L230

Clayton Casciato
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#230671): 
https://lists.openembedded.org/g/openembedded-core/message/230671
Mute This Topic: https://lists.openembedded.org/mt/117676444/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to