[U-Boot] [PATCH] arm: kirkwood: openrd: Change environment location

Chris Packham judge.packham at gmail.com
Thu May 17 09:08:27 UTC 2018


On Thu, May 17, 2018 at 7:08 PM Stefan Roese <sr at denx.de> wrote:

> With GCC 7.3 and the addition of device-tree to Kirkwood, the U-Boot
> image does not fit any more into its 0x60000 area. Let's move the
> environment so that U-Boot will fit also with the upcoming changes
> for Kirkwood (add DM support etc).

> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: Chris Packham <judge.packham at gmail.com>
> Cc: Albert ARIBAUD <albert-u-boot at aribaud.net>
> Cc: Clint Adams <clint at debian.org>
> ---

Reviewed-by: Chris Packham <judge.packham at gmail.com>

Do we need to worry about a migration path for old -> new?

>   include/configs/openrd.h | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)

> diff --git a/include/configs/openrd.h b/include/configs/openrd.h
> index dfdad56dcc..3fe0a32a55 100644
> --- a/include/configs/openrd.h
> +++ b/include/configs/openrd.h
> @@ -42,8 +42,8 @@
>    * it has to be rounded to sector size
>    */
>   #define CONFIG_ENV_SIZE                        0x20000 /* 128k */
> -#define CONFIG_ENV_ADDR                        0x60000
> -#define CONFIG_ENV_OFFSET              0x60000 /* env starts here */
> +#define CONFIG_ENV_ADDR                        0x80000
> +#define CONFIG_ENV_OFFSET              0x80000 /* env starts here */
>   /*
>    * Environment is right behind U-Boot in flash. Make sure U-Boot
>    * doesn't grow into the environment area.
> --
> 2.17.0


More information about the U-Boot mailing list