From 675bead8e167214d62b3e14c40bfbf335ea378e4 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Mon, 1 Aug 2016 10:12:52 -0700 Subject: 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 Acked-by: Max Krummenacher --- recipes-bsp/u-boot/files/colibri-mx7/fw_env.config | 2 +- recipes-bsp/u-boot/files/vf/fw_env.config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes-bsp/u-boot') 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 -- cgit v1.2.3