This is the mail archive of the ecos-discuss@sourceware.org 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: PPC Simulator target


ANILA SOOMRO <dranne27@hotmail.com> writes:

> Hello
> 
> I am trying to run the examples that come with eCos on a PowerPC
> Simulator. I have built the eCos kernel for a Power PC Simulator
> target and then compiled the examples. The examples are compiled
> successfully but when I run them uisng gdb, I don't get the desired
> output. Instead, I get some error.
> 
> Can anyone help me on this. Why is this happening?

eCos is targeted to a particular configuration of the simulator, so
you need to provide the correct arguments when starting the simulator.
The command line given in the documentation seems a little shorter
than I recall. The following line comes from the file used by configtool
to run tests. It probably has more chance of working.

target sim -o '/#address-cells 1' -o '/openprom/init/register/pc 0x100' -o '/iobus@0xf0000000/reg 0xf0000000 0x01000000' -o '/iobus/pal@0xf0001000/reg 0xf0001000 32'


-- 
Nick Garnett                                          eCos Kernel Architect
eCosCentric Limited     http://www.eCosCentric.com         The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.         Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
Besuchen Sie uns vom 26.-28.02.08 auf der Embedded World 2008, Stand 11-336
Visit us at Embedded World 2008, NÃrnberg, Germany, 26-28 Feb, Stand 11-336


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