ccimx93: move environment to the end of the bootX partitions

libubootenv treats negative offsets as backwards offset from the end of
the block device, so use that to move the environment to the last 16KiB
of the hardware boot partitions.

https://onedigi.atlassian.net/browse/DUB-1064

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2024-01-15 18:26:56 +01:00
parent 6d898e51f9
commit 65750ce196
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# Configuration file for fw_(printenv/setenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
# Device name Offset Size
/dev/mmcblk0boot0 -0x4000 0x4000
/dev/mmcblk0boot1 -0x4000 0x4000