diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2016-08-01 10:12:52 -0700 |
---|---|---|
committer | Dominik Sliwa <dominik.sliwa@toradex.com> | 2016-08-17 14:08:52 +0200 |
commit | 675bead8e167214d62b3e14c40bfbf335ea378e4 (patch) | |
tree | a2ddd5c8087d02df157523ad9d9ad272c7189917 /recipes-bsp | |
parent | 58b16c6cc543b49b0a02785c6be30adea491e156 (diff) |
u-boot-fw-utils: correct blocks reserved for environment
While we use only one erase block for the U-Boot environment, we
reserve four in case there are bad blocks in the environment area.
Specify the number of blocks so that the Linux utilities are able
to read/write the environment even if the first block of the
environment is bad.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/u-boot/files/colibri-mx7/fw_env.config | 2 | ||||
-rw-r--r-- | recipes-bsp/u-boot/files/vf/fw_env.config | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes-bsp/u-boot/files/colibri-mx7/fw_env.config b/recipes-bsp/u-boot/files/colibri-mx7/fw_env.config index 100b66d..de614bb 100644 --- a/recipes-bsp/u-boot/files/colibri-mx7/fw_env.config +++ b/recipes-bsp/u-boot/files/colibri-mx7/fw_env.config @@ -7,5 +7,5 @@ # MTD device name Device offset Env. size Flash sector size Number of sectors # Colibri iMX7 -/dev/mtd2 0x00000000 0x00020000 0x20000 1 +/dev/mtd2 0x00000000 0x00020000 0x20000 4 diff --git a/recipes-bsp/u-boot/files/vf/fw_env.config b/recipes-bsp/u-boot/files/vf/fw_env.config index fad5e93..c1581ea 100644 --- a/recipes-bsp/u-boot/files/vf/fw_env.config +++ b/recipes-bsp/u-boot/files/vf/fw_env.config @@ -7,5 +7,5 @@ # MTD device name Device offset Env. size Flash sector size Number of sectors # Colibri VF61 -/dev/mtd2 0x00000000 0x00020000 0x20000 1 +/dev/mtd2 0x00000000 0x00020000 0x20000 4 |