summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/files/mx8
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2019-08-22 22:47:02 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2019-08-22 22:47:02 +0200
commit6cd8e71ddcd2e7a77979429f86300687c8c8aebb (patch)
treebe7065b141db0b2e8b7a8110e07498d2c1a93eb0 /recipes-bsp/u-boot/files/mx8
parent4f7863e34220e25ff49ebc4555dd819bb77280c6 (diff)
u-boot-toradex-fw-utils: use also for colibri-imx8x
Colibri iMX8X now has its environment also stored in the eMMC boot area. Deploy the same configuration as for the Apalis iMX8 also for the Colibri iMX8X. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-bsp/u-boot/files/mx8')
-rw-r--r--recipes-bsp/u-boot/files/mx8/fw_env.config15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/files/mx8/fw_env.config b/recipes-bsp/u-boot/files/mx8/fw_env.config
new file mode 100644
index 0000000..00f21bf
--- /dev/null
+++ b/recipes-bsp/u-boot/files/mx8/fw_env.config
@@ -0,0 +1,15 @@
+# Configuration file for fw_(printenv/setenv) utility.
+# Up to two entries are valid, in this case the redundant
+# environment sector is assumed present.
+# Device offset must be prefixed with 0x to be parsed as a hexadecimal value.
+# On a block device a negative offset is treated as a backwards offset from the
+# end of the device/partition, rather than a forwards offset from the start.
+
+# Colibri iMX7 Dual 1GB (eMMC)
+# U-Boot environment is stored at the end of the first eMMC boot partition
+# hence use a negative value. The environment is just in front of the config
+# block which occupies the last sector (hence -0x200)
+
+# Block device name Device offset Env. size
+/dev/mmcblk0boot0 -0x2200 0x2000
+