public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* powerpc port - progress report :-)
@ 2001-10-02 13:21 johan rydberg
  2001-10-02 14:16 ` Ben Elliston
       [not found] ` <20011113203318.A29181.cygnus.project.sid@localhost>
  0 siblings, 2 replies; 8+ messages in thread
From: johan rydberg @ 2001-10-02 13:21 UTC (permalink / raw)
  To: sid


I just want to tell you guys that I have done some progress with the
PPC port of SID :-). (I'm kinda proud - so bare with me...)

First `xterm-shot':

   $ ./psim ~/hello-psim   Hello, World!
   $

Second `xterm-shot':

(window 1)
   $ powerpc-elf-sid -EB --gdb=2000

(window 2)
   $ powerpc-elf-gdb hello-psim   GNU gdb 2001-11-12-cvs
   Copyright 2001 Free Software Foundation, Inc.
   GDB is free software, covered by the GNU General Public License, and you are
   welcome to change it and/or distribute copies of it under certain 
conditions.
   Type "show copying" to see the conditions.
   There is absolutely no warranty for GDB.  Type "show warranty" for details.
   This GDB was configured as "--host=i686-pc-linux-gnu 
--target=powerpc-elf"...
   (gdb) target remote localhost:2000
   Remote debugging using localhost:2000
   0x00000100 in ?? ()
   (gdb) load
   Loading section .text, size 0x90e4 lma 0x10000
   Loading section .rodata, size 0x14 lma 0x190e8
   Loading section .data, size 0xac8 lma 0x29100
   Loading section .fixup, size 0x440 lma 0x29bc8
   Loading section .got2, size 0x118 lma 0x2a008
   Loading section .sdata, size 0x20 lma 0x2a120
   Start address 0x10000, load size 41272
   Transfer rate: 330176 bits/sec, 485 bytes/write.
   (gdb) c
   Continuing.
   Hello, World!

   Program exited normally.
   (gdb) 
The program is compiled for the `Motorola PPCBUG ROM' with libgloss
and newlib.

regards
johan



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

* Re: powerpc port - progress report :-)
  2001-10-02 13:21 powerpc port - progress report :-) johan rydberg
@ 2001-10-02 14:16 ` Ben Elliston
  2001-10-02 15:06   ` johan rydberg
       [not found] ` <20011113203318.A29181.cygnus.project.sid@localhost>
  1 sibling, 1 reply; 8+ messages in thread
From: Ben Elliston @ 2001-10-02 14:16 UTC (permalink / raw)
  To: johan rydberg; +Cc: sid

>>>>> "johan" == johan rydberg <johan@rydberg.com> writes:

  johan> I just want to tell you guys that I have done some progress with the
  johan> PPC port of SID :-). (I'm kinda proud - so bare with me...)

Great!  Have you considered writing a "ppc-elf-sid" frontend script?

Ben

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

* Re: powerpc port - progress report :-)
  2001-10-02 14:16 ` Ben Elliston
@ 2001-10-02 15:06   ` johan rydberg
  2001-10-02 16:30     ` johan rydberg
  0 siblings, 1 reply; 8+ messages in thread
From: johan rydberg @ 2001-10-02 15:06 UTC (permalink / raw)
  To: Ben Elliston; +Cc: sid


On 2001.11.13 05:02 Ben Elliston wrote:
> >>>>> "johan" == johan rydberg <johan@rydberg.com> writes:
> 
>   johan> I just want to tell you guys that I have done some progress with the
>   johan> PPC port of SID :-). (I'm kinda proud - so bare with me...)
> 
> Great!  Have you considered writing a "ppc-elf-sid" frontend script?

Yeah, that's already done (but it's called "powerpc-elf-sid" to fix nicely with
the others).

-- 
Johan Rydberg

$ ON F$ERROR("LANGUAGE","ENGLISH","IN_MESSAGE").GT.F$ERROR("NORMAL") -
              THEN EXCUSE/OBJECT=ME

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

* Re: powerpc port - progress report :-)
  2001-10-02 15:06   ` johan rydberg
@ 2001-10-02 16:30     ` johan rydberg
  0 siblings, 0 replies; 8+ messages in thread
From: johan rydberg @ 2001-10-02 16:30 UTC (permalink / raw)
  To: sid; +Cc: Ben Elliston


Another question comes into mind.  What about the copyright issue?
Who should get (hold) the copyright? RedHat? FSF? Me?  
I guess this has to be resolved (?) before I can contribute anything.

-- 
Johan Rydberg

$ ON F$ERROR("LANGUAGE","ENGLISH","IN_MESSAGE").GT.F$ERROR("NORMAL") -
              THEN EXCUSE/OBJECT=ME

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

* Re: powerpc port - progress report :-)
       [not found] ` <20011113203318.A29181.cygnus.project.sid@localhost>
@ 2001-10-02 22:53   ` Frank Ch. Eigler
  2001-10-03 19:47     ` johan rydberg
  0 siblings, 1 reply; 8+ messages in thread
From: Frank Ch. Eigler @ 2001-10-02 22:53 UTC (permalink / raw)
  To: johan rydberg; +Cc: sid


johan@rydberg.com (johan rydberg) writes:

: Another question comes into mind.  What about the copyright issue?
: Who should get (hold) the copyright? RedHat? FSF? Me?  I guess this
: has to be resolved (?) before I can contribute anything.

Good question.  In the absence of other indications, assigning
copyright to Red Hat is the safest procedure.  Would you be willing
to go through the process outlined at, say,
   http://sources.redhat.com/cygwin/assign.txt 
   s/cygwin/sid and cgen/ig
?

Then we could clarify the status of the older cgen openrisc port.


- FChE

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

* Re: powerpc port - progress report :-)
  2001-10-02 22:53   ` Frank Ch. Eigler
@ 2001-10-03 19:47     ` johan rydberg
  2001-10-08 12:17       ` matthew green
  0 siblings, 1 reply; 8+ messages in thread
From: johan rydberg @ 2001-10-03 19:47 UTC (permalink / raw)
  To: Frank Ch . Eigler; +Cc: sid


On 2001.11.13 22:11 Frank Ch. Eigler wrote:
> 
> johan@rydberg.com (johan rydberg) writes:
> 
> : Another question comes into mind.  What about the copyright issue?
> : Who should get (hold) the copyright? RedHat? FSF? Me?  I guess this
> : has to be resolved (?) before I can contribute anything.
> 
> Good question.  In the absence of other indications, assigning
> copyright to Red Hat is the safest procedure.  Would you be willing
> to go through the process outlined at, say,
>    http://sources.redhat.com/cygwin/assign.txt
>    s/cygwin/sid and cgen/ig

I see no problem with this.  Maybe you (or Ben) can make a clone of
"assign.txt" and replace cygwin with "sid and cgen" and make it available
under sources.redhat.com/sid/ or sources.redhat.com/cgen/ ? (for future
need).

-- 
Johan Rydberg

$ ON F$ERROR("LANGUAGE","ENGLISH","IN_MESSAGE").GT.F$ERROR("NORMAL") -
              THEN EXCUSE/OBJECT=ME

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

* re: powerpc port - progress report :-)
  2001-10-03 19:47     ` johan rydberg
@ 2001-10-08 12:17       ` matthew green
  2001-10-10  0:12         ` johan rydberg
  0 siblings, 1 reply; 8+ messages in thread
From: matthew green @ 2001-10-08 12:17 UTC (permalink / raw)
  To: johan rydberg; +Cc: sid, Frank Ch . Eigler




actually, there's another legal issue.  the semantics in the cpu
are apparently equivalent to a translation from the CPU ISA
manual, not an original work.  i note that psim has this note at
the top of the sim/ppc-instructions file:


#   The pseudo-code that appears below, translated into C, was copied
#   by Andrew Cagney of Moss Vale, Australia.
#
#   This pseudo-code is copied by permission from the publication
#   "The PowerPC Architecture: A Specification for A New Family of
#   RISC Processors" (ISBN 1-55860-316-6) copyright 1993, 1994 by
#   International Business Machines Corporation.
#
#   THIS PERMISSION IS PROVIDED WITHOUT WARRANTY OF ANY KIND, EITHER
#   EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES
#   OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.


johan, you may need to talk to IBM.



.mrg.

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

* Re: powerpc port - progress report :-)
  2001-10-08 12:17       ` matthew green
@ 2001-10-10  0:12         ` johan rydberg
  0 siblings, 0 replies; 8+ messages in thread
From: johan rydberg @ 2001-10-10  0:12 UTC (permalink / raw)
  To: matthew green; +Cc: sid, Frank Ch . Eigler


On 2001.11.13 22:47 matthew green wrote:

> johan, you may need to talk to IBM.

Ok.  I will look into this.

-- 
Johan Rydberg

$ ON F$ERROR("LANGUAGE","ENGLISH","IN_MESSAGE").GT.F$ERROR("NORMAL") -
              THEN EXCUSE/OBJECT=ME

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

end of thread, other threads:[~2001-11-13 22:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-02 13:21 powerpc port - progress report :-) johan rydberg
2001-10-02 14:16 ` Ben Elliston
2001-10-02 15:06   ` johan rydberg
2001-10-02 16:30     ` johan rydberg
     [not found] ` <20011113203318.A29181.cygnus.project.sid@localhost>
2001-10-02 22:53   ` Frank Ch. Eigler
2001-10-03 19:47     ` johan rydberg
2001-10-08 12:17       ` matthew green
2001-10-10  0:12         ` johan rydberg

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