This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project. See the eCos home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[ECOS] Re: Running ECOS using the PPC simulator




Ilan Ovadia wrote:

> Hi,
> I've build an  environment for the PowerPC using the configuration tool
> (PowerPC architecture, minimal simulator).
> I tried to execute one of the tests by:
> 1. opening a bash shell
> 2. typing: powerpc-eabi-gdb -nw install/tests/kernel/bin_sem0
>     I've got the "gdb" prompt
> 3. typing: target sim -f
> BASE_DIR/packages/hal/powerpc/sim/v1_1/runtime/tree
>     I've got the message "Size or register ro (0) incorrect (1 instead
> or 4))Connected to the simulator
> 4. typing: load
>     I've got no message
> 5. typing: run
>     I've got the message: Starting program:
> /ecos/ppc/install/tests/kernel/bin_sem0.exe
>     and the program never returned. When I hit the CTRL+Break I've
> noticed
>     that ECOS was running functions from clock.cxx.
>
> Can any one assist.
>
> Thanks,
> Ilan
> --
> ------------------------------------------------------------------------
>
>                             Ilan Ovadia
>                             Abstract Ltd.
>                             57A Stern St.
>                             Kiryat Ono, Israel, 55602
>                             Tel: 972-3-6051304
>                             Fax: 972-3-6051156
>                             MP: 972-51-522592
>                             Email: ilano@abstract.co.il
> -------------------------------------------------------------------------

P.S.

 If i'm trying to run another test (clock0 for example), I get an error

"
message after the run command: cpu 1, cia 0xfff02008: program interrupt -
privileged instruction

Program terminated with signal ?, Unknown signal.
The program np longer exists.
"

thanks,
Ilan