This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: redboot initialization code
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Nickolay <nickolay at protei dot ru>
- Cc: Fabian Scheler <Fabian dot Scheler at gmx dot de>,eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 29 Mar 2005 05:20:19 -0700
- Subject: Re: [ECOS] redboot initialization code
- Organization: MLB Associates
- References: <42493207.5090405@protei.ru> <2026.1112096595@www72.gmx.net> <424946E7.9090009@protei.ru>
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