[U-Boot] [PATCH 1/6] eNET: Fix saveenv crash

Graeme Russ graeme.russ at gmail.com
Wed Apr 13 11:59:38 CEST 2011


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 at 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


More information about the U-Boot mailing list