This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: redboot hang problem!!


I'm not sure what sizes of stack in my redboot. I attempted to figure
out it. I found that ..

.balign 16
__startup_stack_base:
        .rept 4096
        .byte 0
        .endr
        .balign 16
__startup_stack:

I had tried to enhance my stack sizes, however it  no effect.

On Thu, 13 Jan 2005 09:20:49 +0100, Andrew Lunn <andrew@lunn.ch> wrote:
> On Thu, Jan 13, 2005 at 11:39:18AM +0800, Eason Lee wrote:
> > Yes, I had traced the init_entry->fun() and found it's acctually call
> > to load_flash_config() in flash.c (RedBoot_init(load_flash_config,
> > RedBoot_INIT_FIRST)). However, after finish with that, next step can't
> > be performed contiguously.
> 
> This sounds like a stack overflow problem, or possibly heap
> corruption. How big is your stack?
> 
>         Andrew
>

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]