mx7dsabresd: Increase CONFIG_ENV_OFFSET
PATCH 1/1 mx7dsabresd: Increase CONFIG_ENV_OFFSET
From: Fabio Estevam <[email protected]>
After running 'saveenv' we can no longer boot.
Adjust CONFIG_ENV_OFFSET so that U-Boot binary and the environment section do not overlap.
Signed-off-by Fabio Estevam <[email protected]>
--- include/configs/mx7dsabresd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/mx7dsabresd.h +1 -1
@@ -207,7 +207,7 @@#define CONFIG_APBH_DMA_BURST8 #endif -#define CONFIG_ENV_OFFSET (8 * SZ_64K) +#define CONFIG_ENV_OFFSET (12 * SZ_64K)#ifdef CONFIG_NAND_MXS #define CONFIG_SYS_FSL_USDHC_NUM 1#else
Signature · 1 line
2.7.4
PATCH 1/1 mx7dsabresd: Increase CONFIG_ENV_OFFSET
Quoted 18 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
After running 'saveenv' we can no longer boot.
Adjust
CONFIG_ENV_OFFSETso that U-Boot binary and the environment section do not overlap.Signed-off-by Fabio Estevam <[email protected]>--- include/configs/mx7dsabresd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/configs/mx7dsabresd.h +0
-0
include/configs/mx7dsabresd.h line 213
Quoted 8 lines
include/configs/mx7dsabresd.h +1
-1@@ -207,7 +207,7 @@#define CONFIG_APBH_DMA_BURST8 #endif -#define CONFIG_ENV_OFFSET (8 * SZ_64K) +#define CONFIG_ENV_OFFSET (12 * SZ_64K)#ifdef CONFIG_NAND_MXS #define CONFIG_SYS_FSL_USDHC_NUM 1#else
Applied to u-boot-imx -master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================