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


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.

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




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