From mboxrd@z Thu Jan 1 00:00:00 1970 From: Graeme Russ Date: Wed, 13 Apr 2011 19:59:38 +1000 Subject: [U-Boot] [PATCH 1/6] eNET: Fix saveenv crash In-Reply-To: <1302520020-4767-2-git-send-email-graeme.russ@gmail.com> References: <1302520020-4767-1-git-send-email-graeme.russ@gmail.com> <1302520020-4767-2-git-send-email-graeme.russ@gmail.com> Message-ID: <4DA5740A.4090908@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > include/configs/eNET.h | 23 +++++++++++++++++------ > 1 files changed, 17 insertions(+), 6 deletions(-) Applied to u-boot-x86, master branch, thanks. Regards, Graeme Russ