[U-Boot] [PATCH] mx7dsabresd: Increase CONFIG_ENV_OFFSET

Stefano Babic sbabic at denx.de
Wed May 31 08:05:40 UTC 2017


On 28/05/2017 19:07, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at nxp.com>
> 
> 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 <fabio.estevam at nxp.com>
> ---
>  include/configs/mx7dsabresd.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h
> index 39291a2..fe9fd66 100644
> --- a/include/configs/mx7dsabresd.h
> +++ b/include/configs/mx7dsabresd.h
> @@ -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

-- 
=====================================================================
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
=====================================================================


More information about the U-Boot mailing list