[ECOS] redboot initialization code

Gary Thomas gary@mlbassoc.com
Tue Mar 29 18:47:00 GMT 2005


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



More information about the Ecos-discuss mailing list