Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installation of CellSDK [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
pmatos
Veteran
Veteran


Joined: 06 Jun 2003
Posts: 1220
Location: Cambridge, UK

PostPosted: Fri Mar 14, 2008 9:06 pm    Post subject: Installation of CellSDK [SOLVED] Reply with quote

Hi all,

Did anyone manage to install the Cell SDK on Gentoo PS3?

They seem to be downloadable from IBM as RPMs and not available in the cell overlay. So, what's the best way to work with these RPMs?

Cheers,

Paulo Matos


Last edited by pmatos on Wed Mar 19, 2008 11:41 am; edited 1 time in total
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Sat Mar 15, 2008 8:28 pm    Post subject: Reply with quote

I cannot tell you how to use the RPMs.

Actually I'm not sure if the SDK would be of any use because you want to install it on a PS3. A PS3 can use the nativ available toolchain (compiler/libc/binutils) and you can also use libspe2 directly.

So my question is this: why do you want to install the SDK? It's primary for people developing for the Cell processor without owning one (or you don't want to use it for development).
Back to top
View user's profile Send private message
pmatos
Veteran
Veteran


Joined: 06 Jun 2003
Posts: 1220
Location: Cambridge, UK

PostPosted: Sat Mar 15, 2008 10:28 pm    Post subject: Reply with quote

corsair wrote:
I cannot tell you how to use the RPMs.

Actually I'm not sure if the SDK would be of any use because you want to install it on a PS3. A PS3 can use the nativ available toolchain (compiler/libc/binutils) and you can also use libspe2 directly.

So my question is this: why do you want to install the SDK? It's primary for people developing for the Cell processor without owning one (or you don't want to use it for development).


You're right, it doesn't make much sense but I want to extract the documentation inside it. I don't want the compiler/toolchain whatever. I want the documentation and I don't have any idea on where to get elsewhere.

If you do know about docs on development for the cell, let me know.
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Wed Mar 19, 2008 11:11 am    Post subject: Reply with quote

sure I do 8)

http://dl.alphaworks.ibm.com/technologies/systemsim970/SystemSim_Installation.pdf
http://www-01.ibm.com/chips/techlib/techlib.nsf/techdocs/FC857AE550F7EB83872571A80061F788
http://www.embedded.com/columns/technicalinsights/188101999?_requestid=129148
http://www.redbooks.ibm.com/abstracts/sg247575.html

and of cause the Power ISA: http://www.power.org/resources/reading/

You could also use rpm2tgz or mc to extract the documentation out of the rpms. (You don't need to install rpms to get the content!)
Back to top
View user's profile Send private message
pmatos
Veteran
Veteran


Joined: 06 Jun 2003
Posts: 1220
Location: Cambridge, UK

PostPosted: Wed Mar 19, 2008 11:41 am    Post subject: Reply with quote

corsair wrote:
sure I do 8)

http://dl.alphaworks.ibm.com/technologies/systemsim970/SystemSim_Installation.pdf
http://www-01.ibm.com/chips/techlib/techlib.nsf/techdocs/FC857AE550F7EB83872571A80061F788
http://www.embedded.com/columns/technicalinsights/188101999?_requestid=129148
http://www.redbooks.ibm.com/abstracts/sg247575.html

and of cause the Power ISA: http://www.power.org/resources/reading/

You could also use rpm2tgz or mc to extract the documentation out of the rpms. (You don't need to install rpms to get the content!)


Great! Thank you very much for all the references and the info on rpms. For some reason, I never liked rpms.... maybe that's why I use gentoo!
Back to top
View user's profile Send private message
wobbly
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2003
Posts: 146

PostPosted: Fri Mar 28, 2008 4:06 pm    Post subject: Reply with quote

corsair wrote:
I cannot tell you how to use the RPMs.

Actually I'm not sure if the SDK would be of any use because you want to install it on a PS3. A PS3 can use the nativ available toolchain (compiler/libc/binutils) and you can also use libspe2 directly.

So my question is this: why do you want to install the SDK? It's primary for people developing for the Cell processor without owning one (or you don't want to use it for development).


You need the compilers modified for the PPE and SPE that are in the SDK. You don't need the simulator.
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Sun Mar 30, 2008 1:07 pm    Post subject: Reply with quote

wobbly: what's your point?

AFAIK the PPE compiler is just a normal powerpc64 compiler, so you can use the standart compiler coming with every gentoo/ppc64 system. In this case powerpc64-unknown-linux-gnu-gcc.

If you want the SPU compiler you can use crossdev to create one:

Code:
crossdev -t spu


at which point do you need the SDK?
Back to top
View user's profile Send private message
Thadeu Penna
n00b
n00b


Joined: 27 Mar 2008
Posts: 1
Location: Niterói

PostPosted: Sun Mar 30, 2008 6:59 pm    Post subject: Reply with quote

and what about the IBM XLC compiler ? I have not found any benchtest.
Be easy on me. I am pretty new at Gentoo and PS3 (I am a Debian guy but I found Gentoo is far ahead on concerning PS3).

I recently got an approval budget for a 10 PS3 cluster for my Physics/Complex Systems group. Hence, performance is a must.
_________________
Thadeu Penna
Associate Professor of Physics
Universidade Federal Fluminense
Niterói - RJ - Brazil
Back to top
View user's profile Send private message
wobbly
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2003
Posts: 146

PostPosted: Mon Mar 31, 2008 12:58 am    Post subject: Reply with quote

corsair:

My understanding is that both the ppe and spe compilers that come with the SDK are specialized. For example, the ppe complier is modified to allow embedding of the spe program into the ppe program for later delivery of the spe program by the ppe. I still think you need the SDK to do cell development, at least the way we're thinking of doing it. I've been wrong before, though.
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Tue Apr 08, 2008 2:23 pm    Post subject: Reply with quote

wobbly wrote:
corsair:

My understanding is that both the ppe and spe compilers that come with the SDK are specialized. For example, the ppe complier is modified to allow embedding of the spe program into the ppe program for later delivery of the spe program by the ppe. I still think you need the SDK to do cell development, at least the way we're thinking of doing it. I've been wrong before, though.


I think you want to read http://www.kernel.org/pub/linux/kernel/people/geoff/cell/CELL-Linux-CL_20080201-ADDON/doc/CellProgrammingPrimer.html . It explains quite good how to programm the ppe and especially the spe.

ppe and spe compilers in the sdk are no more specialized than a gcc build for the right CHOST. the xlc compiler is sure an argument for the sdk, but I don't use it because it's closed source.

-corsair
Back to top
View user's profile Send private message
wobbly
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2003
Posts: 146

PostPosted: Tue Apr 08, 2008 4:38 pm    Post subject: Reply with quote

While I agree that I need to read that, you still haven't convinced me that the SDK isn't needed. What about the ALF and DaCS libraries, for example?

Anyhow, I've gone ahead and installed the SDK on my x86 box. If that pans out over time, I'll install the necessary components on the PS3 as needed.
https://forums.gentoo.org/viewtopic-t-685982.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum