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 | eb02e69380b767e4a0a817f732d448cb1f48a310 (patch) | |
tree | 2dafbf9154b6c4d0b4c1819a2cbc77f1acf396e9 | |
parent | 0616216a235b00673fd3b943cc12181ebfbdfc67 (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>
-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 |