This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: eCos ROM application crashes without Redboot
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- Cc: 'eCos Discussion' <ecos-discuss at sources dot redhat dot com>
- Date: 11 Aug 2003 06:54:26 -0600
- Subject: RE: [ECOS] eCos ROM application crashes without Redboot
- Organization: MLB Associates
- References: <001e01c36002$aaa09e80$73dea8c0@lair>
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