public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM: dockstar: move start of environment area
Date: Mon, 19 Oct 2015 07:29:49 +0200	[thread overview]
Message-ID: <20151019072949.317ff58a@lilith> (raw)
In-Reply-To: <20151012231852.GA1638@cooper-siegel.org>

Hello Eric,

On Mon, 12 Oct 2015 19:18:52 -0400, Eric Cooper <ecc@cmu.edu> wrote:
> The default dockstar configuration for U-Boot currently causes it to
> overrun the environment area, so that a "saveenv" command bricks the
> device.  This patch moves the environment to a higher address to avoid
> that.
> 
> Signed-off-by: Eric Cooper <ecc@cmu.edu>
> ---
>  include/configs/dockstar.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/dockstar.h b/include/configs/dockstar.h
> index b27b202..d0d9d53 100644
> --- a/include/configs/dockstar.h
> +++ b/include/configs/dockstar.h
> @@ -60,8 +60,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 */
> 
>  /*
>   * Default environment variables
> --
> 2.6.1

Applied to u-boot-arm/master, thanks!

Amicalement,
-- 
Albert.

      reply	other threads:[~2015-10-19  5:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-12 23:18 [U-Boot] [PATCH] ARM: dockstar: move start of environment area Eric Cooper
2015-10-19  5:29 ` Albert ARIBAUD [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151019072949.317ff58a@lilith \
    --to=albert.u.boot@aribaud.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox