public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Problem with PowerPC simulator
@ 1999-05-05  2:19 Andrew Lunn
  1999-05-05  3:03 ` Jesper Skov
  0 siblings, 1 reply; 11+ messages in thread
From: Andrew Lunn @ 1999-05-05  2:19 UTC (permalink / raw)
  To: ecos-discuss

Looking back in the archive i found a message that described my
problem. Please could someone tell me what the fix was.

The changes i made to the configuration are to change the HAL to
PowerPC, and enable the Minimal simulator. The processor is spinning
outside of the program....

Program received signal SIGINT, Interrupt.
0x80090 in _stext ()
    at //d/cygnus/ecos-1.1/packages/kernel/v1_1/src/common/clock.cxx:507
507         counter->add_alarm(this);
(gdb) cont
Continuing.

Program received signal SIGINT, Interrupt.
0x8008c in _stext ()
    at //d/cygnus/ecos-1.1/packages/kernel/v1_1/src/common/clock.cxx:507
507         counter->add_alarm(this);
(gdb) cont
Continuing.

Program received signal SIGINT, Interrupt.
0x80088 in _stext ()
    at //d/cygnus/ecos-1.1/packages/kernel/v1_1/src/common/clock.cxx:507
507         counter->add_alarm(this);

	Thanks
		Andrew

----------------------------------------------------------------------
>>>>> "Ilan" == Ilan Ovadia <ilano@abstract.co.il> writes:

Ilan> The problem is while I'm running the bin_sem0 test I don't get
Ilan> the message

Ilan> PASS:<Binary Semaphore 0 OK> EXIT:<done>

Ilan> Actually, when I set breakpoints in the functions located in
Ilan> bin_sem0 file, the debugger doesn't stop.  It seems like ECOS
Ilan> doesn't succeed to complete the initialization phase and run the
Ilan> test.

Are you using the default configuration? 

Could you try building the library and tests with the default
configuration in a new build directory to see if it makes a difference
(this would ensure that settings from a previous configuration/build
are not being used).

Jesper


----------------------------------------------------------------------
Dr Andrew Lunn		Phone: +41 62 889 5297
ASCOM Systec AG		Fax:   +41 62 889 5290
Gewerberpark		Email: Andrew.Lunn@ascom.ch
CH-5506 Magenwil
Switzerland
----------------------------------------------------------------------

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

* Re: [ECOS] Problem with PowerPC simulator
  1999-05-05  2:19 [ECOS] Problem with PowerPC simulator Andrew Lunn
@ 1999-05-05  3:03 ` Jesper Skov
  1999-05-05  3:26   ` Andrew Lunn
  1999-05-05  3:55   ` Andrew Lunn
  0 siblings, 2 replies; 11+ messages in thread
From: Jesper Skov @ 1999-05-05  3:03 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: ecos-discuss

>>>>> "Andrew" == Andrew Lunn <lunn@ma.tech.ascom.ch> writes:

Andrew> Looking back in the archive i found a message that described
Andrew> my problem. Please could someone tell me what the fix was.

I don't think it was ever resolved.

Andrew> The changes i made to the configuration are to change the HAL
Andrew> to PowerPC, and enable the Minimal simulator. The processor is
Andrew> spinning outside of the program....

Andrew> Program received signal SIGINT, Interrupt.  0x80090 in _stext
Andrew> () at
Andrew> //d/cygnus/ecos-1.1/packages/kernel/v1_1/src/common/clock.cxx:507
Andrew> 507 counter->add_alarm(this); (gdb) cont Continuing.

Andrew> Program received signal SIGINT, Interrupt.  0x8008c in _stext
Andrew> () at
Andrew> //d/cygnus/ecos-1.1/packages/kernel/v1_1/src/common/clock.cxx:507
Andrew> 507 counter->add_alarm(this); (gdb) cont Continuing.

Andrew> Program received signal SIGINT, Interrupt.  0x80088 in _stext
Andrew> () at
Andrew> //d/cygnus/ecos-1.1/packages/kernel/v1_1/src/common/clock.cxx:507
Andrew> 507 counter->add_alarm(this);

These addresses are wrong. _start should be at 0x4000 or so. Are you
sure you selected RAM startup, and didn't save and/or build on top of
an different configuration?

Jesper

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

* Re: [ECOS] Problem with PowerPC simulator
  1999-05-05  3:03 ` Jesper Skov
@ 1999-05-05  3:26   ` Andrew Lunn
  1999-05-05  3:55   ` Andrew Lunn
  1 sibling, 0 replies; 11+ messages in thread
From: Andrew Lunn @ 1999-05-05  3:26 UTC (permalink / raw)
  To: Jesper Skov; +Cc: lunn, ecos-discuss

> Andrew> The changes i made to the configuration are to change the HAL
> Andrew> to PowerPC, and enable the Minimal simulator. The processor is
> Andrew> spinning outside of the program....

> These addresses are wrong. _start should be at 0x4000 or so. Are you
> sure you selected RAM startup, and didn't save and/or build on top of
> an different configuration?

You cannot set it to RAM/ROM startup. Then you select the Minimal
simulator the Startup type option is not available. Thats only for the
Cogent PowerPC Evaluation board. Do i have an old version of the
config tool? I have version 1.1, Oct 29, 1998, 04:59:55 (someone was
buring the midnight oil!)

	Andrew

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

* Re: [ECOS] Problem with PowerPC simulator
  1999-05-05  3:03 ` Jesper Skov
  1999-05-05  3:26   ` Andrew Lunn
@ 1999-05-05  3:55   ` Andrew Lunn
  1999-05-05  4:00     ` Jesper Skov
  1999-05-05  4:06     ` Bart Veer
  1 sibling, 2 replies; 11+ messages in thread
From: Andrew Lunn @ 1999-05-05  3:55 UTC (permalink / raw)
  To: Jesper Skov; +Cc: lunn, ecos-discuss

> These addresses are wrong. _start should be at 0x4000 or so. Are you
> sure you selected RAM startup, and didn't save and/or build on top of
> an different configuration?

Im not quite sure what i did, but it now works, i get the PASS and EXIT lines

I think i changed back to the Cogent eval board setting, enabled
startup type ram, swapped back to the mininal simulator and rebuilt
everything. Maybe the startup type option needs moving from being a
subsection of Cognet to the same level as the Cognet and Minimal
simulator.

	Andrew

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

* Re: [ECOS] Problem with PowerPC simulator
  1999-05-05  3:55   ` Andrew Lunn
@ 1999-05-05  4:00     ` Jesper Skov
  1999-05-05  4:37       ` [ECOS] " Bart Veer
  1999-05-05  4:06     ` Bart Veer
  1 sibling, 1 reply; 11+ messages in thread
From: Jesper Skov @ 1999-05-05  4:00 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: ecos-discuss

>>>>> "Andrew" == Andrew Lunn <lunn@ma.tech.ascom.ch> writes:

>> These addresses are wrong. _start should be at 0x4000 or so. Are
>> you sure you selected RAM startup, and didn't save and/or build on
>> top of an different configuration?

Andrew> Im not quite sure what i did, but it now works, i get the PASS
Andrew> and EXIT lines

Andrew> I think i changed back to the Cogent eval board setting,
Andrew> enabled startup type ram, swapped back to the mininal
Andrew> simulator and rebuilt everything. Maybe the startup type
Andrew> option needs moving from being a subsection of Cognet to the
Andrew> same level as the Cognet and Minimal simulator.

I think the problem is that you are using the same build directory for
Cogent and SIM. 

There are known dependency problems when changing config, so the
startup type may not have been reset properly when you started
building for SIM.

The workaround is to use separate build directories.

Cheers,
Jesper

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

* [ECOS] Re: Problem with PowerPC simulator
  1999-05-05  3:55   ` Andrew Lunn
  1999-05-05  4:00     ` Jesper Skov
@ 1999-05-05  4:06     ` Bart Veer
  1 sibling, 0 replies; 11+ messages in thread
From: Bart Veer @ 1999-05-05  4:06 UTC (permalink / raw)
  To: lunn; +Cc: ecos-discuss

>>>>> "Andrew" == Andrew Lunn <lunn@ma.tech.ascom.ch> writes:

    >> These addresses are wrong. _start should be at 0x4000 or so.
    >> Are you sure you selected RAM startup, and didn't save and/or
    >> build on top of an different configuration?

    Andrew> Im not quite sure what i did, but it now works, i get the
    Andrew> PASS and EXIT lines

    Andrew> I think i changed back to the Cogent eval board setting,
    Andrew> enabled startup type ram, swapped back to the mininal
    Andrew> simulator and rebuilt everything. Maybe the startup type
    Andrew> option needs moving from being a subsection of Cognet to
    Andrew> the same level as the Cognet and Minimal simulator.

That would not be quite right either. The startups available do depend
on the platform. Some platforms might only support RAM startup because
nobody has contributed a ROM startup yet. Other platforms might have
several different RAM startups, depending on which ROM monitor is
installed on the board - exactly what hardware is already initialized
and how may vary with the ROM monitor.

Instead it may be desirable to give a stronger visual indication of
the current platform and startup, to avoid confusion. This is
something we will bear in mind as the host-side software evolves.

Bart Veer // eCos net maintainer

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

* [ECOS] Re: Problem with PowerPC simulator
  1999-05-05  4:00     ` Jesper Skov
@ 1999-05-05  4:37       ` Bart Veer
  0 siblings, 0 replies; 11+ messages in thread
From: Bart Veer @ 1999-05-05  4:37 UTC (permalink / raw)
  To: jskov; +Cc: lunn, ecos-discuss

>>>>> "Jesper" == Jesper Skov <jskov@cygnus.co.uk> writes:

    >>> These addresses are wrong. _start should be at 0x4000 or so.
    >>> Are you sure you selected RAM startup, and didn't save and/or
    >>> build on top of an different configuration?

    Andrew> Im not quite sure what i did, but it now works, i get the
    Andrew> PASS and EXIT lines

    Andrew> I think i changed back to the Cogent eval board setting,
    Andrew> enabled startup type ram, swapped back to the mininal
    Andrew> simulator and rebuilt everything. Maybe the startup type
    Andrew> option needs moving from being a subsection of Cognet to
    Andrew> the same level as the Cognet and Minimal simulator.

    Jesper> I think the problem is that you are using the same build
    Jesper> directory for Cogent and SIM.

    Jesper> There are known dependency problems when changing config,
    Jesper> so the startup type may not have been reset properly when
    Jesper> you started building for SIM.

Small correction: that was true at one point, but I believe all the
problems in this area were fixed or worked around before the 1.1
release. It should not be possible for any object files built for a
previous platform to affect the current build. If anybody can
reproduce the problem then please let me know how.

Bart Veer // eCos net maintainer

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

* [ECOS] Problem with PowerPC Simulator
@ 2002-05-07 22:10 Ramesh Naidu
  0 siblings, 0 replies; 11+ messages in thread
From: Ramesh Naidu @ 2002-05-07 22:10 UTC (permalink / raw)
  To: ecos-discuss

Hi All,

     I would like to develope one application using
 powerpc simulator and an application on linux and
 these two applications need to share a common
 data/memory. Is it possible for these two
applications
 talking to each other ? I have installed eCos on
Linux
 and both applications are running on same PC.

 Thanks in advance for u r suggestion.

 Ramesh Naidu



________________________________________________________________________
For live cricket scores download  Yahoo! Score Tracker
 at: http://in.sports.yahoo.com/cricket/tracker.html

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

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

* Re: [ECOS] Problem with PowerPC Simulator
  2002-04-22  5:23 [ECOS] Problem with PowerPC Simulator ramesh naidu
@ 2002-04-22  5:28 ` Andrew Lunn
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew Lunn @ 2002-04-22  5:28 UTC (permalink / raw)
  To: ramesh naidu; +Cc: ecos-discuss

I don't know anything about the powerpc simulator....

Do you really need to use the powerpc simulator? Could you use the
synthetic target. eCos can then access the linux system calls and
setup access to an area of shared memory.

      Andrew

On Mon, Apr 22, 2002 at 05:23:29AM -0700, ramesh naidu wrote:
> Hi,
> 
>     I would like to develope one application using
> powerpc simulator and an application on linux and
> these two applications need to share a common
> data/memory. Is it possible for these two applications
> talking to each other ? I have installed eCos on Linux
> and both applications are running on same PC.
> 
> Thanking You....
> 
> Ramesh Naidu
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Games - play chess, backgammon, pool and more
> http://games.yahoo.com/
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> 

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

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

* [ECOS] Problem with PowerPC Simulator
@ 2002-04-22  5:28 ramesh naidu
  0 siblings, 0 replies; 11+ messages in thread
From: ramesh naidu @ 2002-04-22  5:28 UTC (permalink / raw)
  To: ecos-discuss

Hi,

    I would like to develope one application running
on Powerpc(eCos) simulator and an application on linux
and these two applications need to share a common
data/memory. Is it possible for these two applications
talking to each other ? I have installed eCos on Linux
and both applications are running on same PC.

Thanking You....

Ramesh Naidu


__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

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

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

* [ECOS] Problem with PowerPC Simulator
@ 2002-04-22  5:23 ramesh naidu
  2002-04-22  5:28 ` Andrew Lunn
  0 siblings, 1 reply; 11+ messages in thread
From: ramesh naidu @ 2002-04-22  5:23 UTC (permalink / raw)
  To: ecos-discuss

Hi,

    I would like to develope one application using
powerpc simulator and an application on linux and
these two applications need to share a common
data/memory. Is it possible for these two applications
talking to each other ? I have installed eCos on Linux
and both applications are running on same PC.

Thanking You....

Ramesh Naidu


__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

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

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

end of thread, other threads:[~2002-05-08  5:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-05-05  2:19 [ECOS] Problem with PowerPC simulator Andrew Lunn
1999-05-05  3:03 ` Jesper Skov
1999-05-05  3:26   ` Andrew Lunn
1999-05-05  3:55   ` Andrew Lunn
1999-05-05  4:00     ` Jesper Skov
1999-05-05  4:37       ` [ECOS] " Bart Veer
1999-05-05  4:06     ` Bart Veer
2002-04-22  5:23 [ECOS] Problem with PowerPC Simulator ramesh naidu
2002-04-22  5:28 ` Andrew Lunn
2002-04-22  5:28 ramesh naidu
2002-05-07 22:10 Ramesh Naidu

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