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 initialization code


On Tue, 2005-03-29 at 16:15 +0400, Nickolay wrote:
> Fabian Scheler wrote:
> 
> >Hi,
> >
> >  
> >
> >>Where is in ecos tree files, where redboot initialization code to be 
> >>done(before cyg_start call)?
> >>I need insert some debug info.
> >>    
> >>
> >
> >normally execution begins at the processors reset vector. For the
> >i386-architecture you can find the implementation of this vector service
> >routine in 'packages/hal/i386/arch/current/src/vectors.s', the reset vector
> >service routine should be called '_start' (for i386). For other
> >architectures you should find the implementation under
> >'packages/hal/<your_arch>/arch/current/vectors.s' the name of the service
> >routine may differ.
> >
> >Ciao, Fabian
> >
> >  
> >
> I has IXDP425 board with IXP420 CPU.
> But in
> /opt/ecos/ecos-2.0/packages/hal/arm/xscale/ixp425/current/src/
> and
> /opt/ecos/ecos-2.0/packages/hal/arm/xscale/ixdp425/current/src/
> no such file vectors.s or something like that.

Look in /opt/ecos/ecos-2.0/packages/hal/arm/arch/current/src/

eCos starts up with _architecture_ specific code, which will call
_platform_ and _target_ specific portions.

> root@nickolay:/opt/ecos/build6# ls -l 
> /opt/ecos/ecos-2.0/packages/hal/arm/xscale/ixp425/current/src/
> итого 56
> drwxr-xr-x 2 root root 48 Дек 29 19:47 CVS
> -rw-r--r-- 1 root root 13714 Мар 18 2003 ixp425_diag.c
> -rw-r--r-- 1 root root 12410 Мар 29 14:57 ixp425_misc.c
> -rw-r--r-- 1 root root 13433 Сен 27 2004 ixp425_pci.c
> -rw-r--r-- 1 root root 4438 Ноя 9 21:29 ixp425_redboot.c
> 
> root@nickolay:/opt/ecos/build6# ls -l 
> /opt/ecos/ecos-2.0/packages/hal/arm/xscale/ixdp425/current/src/
> итого 20
> drwxr-xr-x 2 root root 48 Дек 29 19:47 CVS
> -rw-r--r-- 1 root root 10261 Май 15 2003 ixdp425_misc.c
> -rw-r--r-- 1 root root 5534 Сен 3 2004 ixdp425_pci.c
> 
> 

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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