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: eCos ROM application crashes without Redboot


On Mon, 2003-08-11 at 06:18, Øyvind Harboe wrote:
> >Did you actually build a ROM application (set CYG_HAL_STARTUP = ROM)?
> 
> Yes.
> 
> >What do you see from this?
> >  % grep ROM install/include/pkgconf/*
> >n.b. these indicate the settings of the various CDL options that 
> >have anything to do with ROM-based execution.
> 
> install/include/pkgconf/libc_startup.h:#define
> CYGSEM_LIBC_MAIN_STACK_FROM_SYSTEM 1
> install/include/pkgconf/system.h:#define CYG_HAL_STARTUP ROM
> install/include/pkgconf/system.h:#define CYG_HAL_STARTUP_ROM
> 

Good.  Have you tried other applications in ROM?  For example,
try one of the simple tests (like tm_basic) and see if it runs
from ROM.  If it does, then there may be some problem with the
serial drivers (since tm_basic won't use them but will make use
of interrupts for timers)

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


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


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