From 65750ce196c36aac5257235e4736a8ce4481a4c9 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Mon, 15 Jan 2024 18:26:56 +0100 Subject: [PATCH] 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 --- .../libubootenv/libubootenv/ccimx93/mmc/fw_env.config | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 meta-digi-arm/recipes-bsp/libubootenv/libubootenv/ccimx93/mmc/fw_env.config diff --git a/meta-digi-arm/recipes-bsp/libubootenv/libubootenv/ccimx93/mmc/fw_env.config b/meta-digi-arm/recipes-bsp/libubootenv/libubootenv/ccimx93/mmc/fw_env.config new file mode 100644 index 000000000..5e4566345 --- /dev/null +++ b/meta-digi-arm/recipes-bsp/libubootenv/libubootenv/ccimx93/mmc/fw_env.config @@ -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