public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Graeme Russ <graeme.russ@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/6] eNET: Fix saveenv crash
Date: Wed, 13 Apr 2011 19:59:38 +1000	[thread overview]
Message-ID: <4DA5740A.4090908@gmail.com> (raw)
In-Reply-To: <1302520020-4767-2-git-send-email-graeme.russ@gmail.com>

On 11/04/11 21:06, Graeme Russ wrote:
> CONFIG_ENV_SIZE = CONFIG_ENV_SECT_SIZE = 128kB but CONFIG_SYS_STACK_SIZE
> is only 32kB resulting in saveenv causing a stack overflow and crashing
> U-Boot. Resolve by reducing CONFIG_ENV_SIZE to 4kB
> 
> Also fix up CONFIG_SYS_MALLOC_LEN to correctly use environment sector
> size and add some comments to the memory organisation configuration
> 
> Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
> ---
>  include/configs/eNET.h |   23 +++++++++++++++++------
>  1 files changed, 17 insertions(+), 6 deletions(-)

Applied to u-boot-x86, master branch, thanks.

Regards,

Graeme Russ

  reply	other threads:[~2011-04-13  9:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-11 11:06 [U-Boot] [PATCH 0/6] x86: General cleanup Graeme Russ
2011-04-11 11:06 ` [U-Boot] [PATCH 1/6] eNET: Fix saveenv crash Graeme Russ
2011-04-13  9:59   ` Graeme Russ [this message]
2011-04-11 11:06 ` [U-Boot] [PATCH 2/6] eNET: Remove config.mk Graeme Russ
2011-04-13 10:00   ` Graeme Russ
2011-04-11 11:06 ` [U-Boot] [PATCH 3/6] x86: Code cleanup Graeme Russ
2011-04-13 10:00   ` Graeme Russ
2011-04-11 11:06 ` [U-Boot] [PATCH 4/6] x86: Rename i386 to x86 Graeme Russ
2011-04-13 10:01   ` Graeme Russ
2011-04-11 11:06 ` [U-Boot] [PATCH 5/6] sc520: Move reset to stand-alone file Graeme Russ
2011-04-13 10:01   ` Graeme Russ
2011-04-11 11:07 ` [U-Boot] [PATCH 6/6] x86: Update MAINTAINERS and delete README files Graeme Russ
2011-04-13 10:01   ` Graeme Russ

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=4DA5740A.4090908@gmail.com \
    --to=graeme.russ@gmail.com \
    --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