public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] PPC Simulator target
@ 2008-02-26 11:28 ANILA SOOMRO
  2008-02-26 13:19 ` Andrew Lunn
  2008-02-26 18:14 ` Nick Garnett
  0 siblings, 2 replies; 5+ messages in thread
From: ANILA SOOMRO @ 2008-02-26 11:28 UTC (permalink / raw)
  To: eCos Mailing List


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?

Thanks in advance.
dranne

_________________________________________________________________
Shed those extra pounds with MSN and The Biggest Loser!
http://biggestloser.msn.com/

--
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] PPC Simulator target
  2008-02-26 11:28 [ECOS] PPC Simulator target ANILA SOOMRO
@ 2008-02-26 13:19 ` Andrew Lunn
  2008-02-26 18:14 ` Nick Garnett
  1 sibling, 0 replies; 5+ messages in thread
From: Andrew Lunn @ 2008-02-26 13:19 UTC (permalink / raw)
  To: ANILA SOOMRO; +Cc: eCos Mailing List

On Tue, Feb 26, 2008 at 11:27:44AM +0000, ANILA SOOMRO wrote:
> 
> 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?

And the error is......?

    Andrew

-- 
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] PPC Simulator target
  2008-02-26 11:28 [ECOS] PPC Simulator target ANILA SOOMRO
  2008-02-26 13:19 ` Andrew Lunn
@ 2008-02-26 18:14 ` Nick Garnett
  2008-02-26 18:30   ` [ECOS] LBA48 and DMA moce for FAT FS driver Steve West
  2008-02-28  4:49   ` [ECOS] PPC Simulator target ANILA SOOMRO
  1 sibling, 2 replies; 5+ messages in thread
From: Nick Garnett @ 2008-02-26 18:14 UTC (permalink / raw)
  To: ANILA SOOMRO; +Cc: eCos Mailing List

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

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

* [ECOS] LBA48 and DMA moce for FAT FS driver
  2008-02-26 18:14 ` Nick Garnett
@ 2008-02-26 18:30   ` Steve West
  2008-02-28  4:49   ` [ECOS] PPC Simulator target ANILA SOOMRO
  1 sibling, 0 replies; 5+ messages in thread
From: Steve West @ 2008-02-26 18:30 UTC (permalink / raw)
  To: eCos Mailing List

Hi all,
    I have modified the fat IDE disk driver for LBA48 and Interrupts and 
DMA. It is a little messy right now, but works fine on x86 Intel. If anyone 
is interested I will send them a copy of it.

Steve 


-- 
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] PPC Simulator target
  2008-02-26 18:14 ` Nick Garnett
  2008-02-26 18:30   ` [ECOS] LBA48 and DMA moce for FAT FS driver Steve West
@ 2008-02-28  4:49   ` ANILA SOOMRO
  1 sibling, 0 replies; 5+ messages in thread
From: ANILA SOOMRO @ 2008-02-28  4:49 UTC (permalink / raw)
  To: Nick Garnett; +Cc: eCos Mailing List


Thanks. It really worked.
dranne


> To: dranne27@hotmail.com
> CC: ecos-discuss@ecos.sourceware.org
> Subject: Re: [ECOS] PPC Simulator target
> From: nickg@ecoscentric.com
> Date: Tue, 26 Feb 2008 18:14:06 +0000
>
> ANILA SOOMRO  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
>

_________________________________________________________________
Climb to the top of the charts! Play the word scramble challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan

--
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:[~2008-02-28  4:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-26 11:28 [ECOS] PPC Simulator target ANILA SOOMRO
2008-02-26 13:19 ` Andrew Lunn
2008-02-26 18:14 ` Nick Garnett
2008-02-26 18:30   ` [ECOS] LBA48 and DMA moce for FAT FS driver Steve West
2008-02-28  4:49   ` [ECOS] PPC Simulator target ANILA SOOMRO

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