public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] redboot initialization code
@ 2005-03-29 12:15 Nickolay
  2005-03-29 12:22 ` Fabian Scheler
  0 siblings, 1 reply; 5+ messages in thread
From: Nickolay @ 2005-03-29 12:15 UTC (permalink / raw)
  To: ecos-discuss

Hallo Guys!

Where is in ecos tree files, where redboot initialization code to be 
done(before cyg_start call)?
I need insert some debug info.



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] redboot initialization code
  2005-03-29 12:15 [ECOS] redboot initialization code Nickolay
@ 2005-03-29 12:22 ` Fabian Scheler
  2005-03-29 17:47   ` Nickolay
  0 siblings, 1 reply; 5+ messages in thread
From: Fabian Scheler @ 2005-03-29 12:22 UTC (permalink / raw)
  To: Nickolay; +Cc: ecos-discuss

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

-- 
Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] redboot initialization code
  2005-03-29 12:22 ` Fabian Scheler
@ 2005-03-29 17:47   ` Nickolay
  2005-03-29 18:47     ` Gary Thomas
  2005-03-29 19:01     ` Fabian Scheler
  0 siblings, 2 replies; 5+ messages in thread
From: Nickolay @ 2005-03-29 17:47 UTC (permalink / raw)
  To: Fabian Scheler; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] redboot initialization code
  2005-03-29 17:47   ` Nickolay
@ 2005-03-29 18:47     ` Gary Thomas
  2005-03-29 19:01     ` Fabian Scheler
  1 sibling, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2005-03-29 18:47 UTC (permalink / raw)
  To: Nickolay; +Cc: Fabian Scheler, eCos Discussion

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] redboot initialization code
  2005-03-29 17:47   ` Nickolay
  2005-03-29 18:47     ` Gary Thomas
@ 2005-03-29 19:01     ` Fabian Scheler
  1 sibling, 0 replies; 5+ messages in thread
From: Fabian Scheler @ 2005-03-29 19:01 UTC (permalink / raw)
  To: Nickolay; +Cc: ecos-discuss

Hello,

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

have a look in 'packages/hal/arm/arch/current/src', name of the reset vector
service routine is 'reset_vector'.

Ciao, Fabian

-- 
Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-03-29 12:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-29 12:15 [ECOS] redboot initialization code Nickolay
2005-03-29 12:22 ` Fabian Scheler
2005-03-29 17:47   ` Nickolay
2005-03-29 18:47     ` Gary Thomas
2005-03-29 19:01     ` Fabian Scheler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).