summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/files/tegra124/fw_env.config
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2020-05-17 11:17:39 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-06-01 13:44:53 +0200
commit677cc78161fe18b5e922f9928b5fc11cad014caa (patch)
tree05605acf41dec579d1949aca8a95fbc059783728 /recipes-bsp/u-boot/files/tegra124/fw_env.config
parent179e4188a38ccc086f8b23201fa1594ea9ba0c0f (diff)
apalis-tk1-mainline: rename machine to apalis-tk1
Rename the apalis-tk1-mainline machine to the now dropped apalis-tk1 machine name. Related-to: ELB-2733 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 0bf55088d1f34338dd04f83d6b90b7a72f6867de)
Diffstat (limited to 'recipes-bsp/u-boot/files/tegra124/fw_env.config')
-rw-r--r--recipes-bsp/u-boot/files/tegra124/fw_env.config15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/files/tegra124/fw_env.config b/recipes-bsp/u-boot/files/tegra124/fw_env.config
new file mode 100644
index 0000000..5941da2
--- /dev/null
+++ b/recipes-bsp/u-boot/files/tegra124/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.
+
+# Apalis TK1
+# 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
+