[U-Boot] [PATCH] pico-imx7d: Increase the CONFIG_ENV_OFFSET size
Stefano Babic
sbabic at denx.de
Fri Nov 30 09:59:36 UTC 2018
On 30/11/18 10:48, Fabio Estevam wrote:
> The environment size has grown
Environment ? You mean code, I suppose. Size is stil 8kb.
>in such a way that it corrupts the
> main U-Boot image after a "saveenv" causing a U-Boot hang.
>
> Fix this problem by increasing the CONFIG_ENV_OFFSET size.
>
> Signed-off-by: Fabio Estevam <festevam at gmail.com>
> ---
> include/configs/pico-imx7d.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/pico-imx7d.h b/include/configs/pico-imx7d.h
> index 2bc42a0..120111d 100644
> --- a/include/configs/pico-imx7d.h
> +++ b/include/configs/pico-imx7d.h
> @@ -134,7 +134,7 @@
> /* FLASH and environment organization */
> #define CONFIG_ENV_SIZE SZ_8K
>
> -#define CONFIG_ENV_OFFSET (8 * SZ_64K)
> +#define CONFIG_ENV_OFFSET (12 * SZ_64K)
> #define CONFIG_SYS_FSL_USDHC_NUM 2
>
> #define CONFIG_SYS_MMC_ENV_DEV 0
>
Regards,
Stefano
--
=====================================================================
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