summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/libubootenv/vf/fw_env.config
diff options
context:
space:
mode:
authorMing Liu <ming.liu@toradex.com>2022-07-21 12:46:46 +0200
committerMing Liu <ming.liu@toradex.com>2022-07-26 15:26:30 +0200
commita01555a69039fa02665d4089e9c80236d872752e (patch)
tree7ceaad76e18da7b3bcbd2bff601f91cac545a9be /recipes-bsp/u-boot/libubootenv/vf/fw_env.config
parent15a035b9d11fe8561b037ffecfee3f4a7c403b36 (diff)
libubootenv: move in fw_env.config
Currently we have downstream/upstream Toradex uboot recipes and we dont want to add fw_env.config for both of them to avoid code redundant. Let's add fw_env.config to libubootenv, which will be installed for both donwstream/upstream distros. Change libubootenv to a machine arch recipe since now it has machine specific fw_env.config files. Related-to: ELB-4536 Signed-off-by: Ming Liu <ming.liu@toradex.com>
Diffstat (limited to 'recipes-bsp/u-boot/libubootenv/vf/fw_env.config')
-rw-r--r--recipes-bsp/u-boot/libubootenv/vf/fw_env.config10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/libubootenv/vf/fw_env.config b/recipes-bsp/u-boot/libubootenv/vf/fw_env.config
new file mode 100644
index 0000000..51f09d1
--- /dev/null
+++ b/recipes-bsp/u-boot/libubootenv/vf/fw_env.config
@@ -0,0 +1,10 @@
+# Configuration file for fw_(printenv/setenv) utility.
+# Up to two entries are valid, in this case the redundant
+# environment sector is assumed present.
+# Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash.
+# Futhermore, if the Flash sector size is ommitted, this value is assumed to
+# be the same as the Environment size, which is valid for NOR and SPI-dataflash
+
+# MTD device name Device offset Env. size Flash sector size Number of sectors
+# Colibri VF61
+/dev/mtd2 0x00000000 0x00020000 0x20000 4