summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/files/apalis-t30/fw_env.config
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-04-20 14:05:51 +0200
committerStefan Agner <stefan.agner@toradex.com>2018-06-18 09:21:27 +0200
commit5a5f979b5a717fef333d0835e4431e4cf9221cc1 (patch)
treea5248685f0681abfae63c1649819dc72537df287 /recipes-bsp/u-boot/files/apalis-t30/fw_env.config
parentdf78aaf49a754e5f70343bd45661661714a7d02a (diff)
u-boot-toradex: apalis-t30: generate cbootimage
Generate cbootimage already during build as required for Toradex Easy Installer BSP package. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'recipes-bsp/u-boot/files/apalis-t30/fw_env.config')
-rw-r--r--recipes-bsp/u-boot/files/apalis-t30/fw_env.config15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/files/apalis-t30/fw_env.config b/recipes-bsp/u-boot/files/apalis-t30/fw_env.config
new file mode 100644
index 0000000..d2be4ee
--- /dev/null
+++ b/recipes-bsp/u-boot/files/apalis-t30/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 T30/Apalis T30
+# 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
+