View previous topic :: View next topic |
Author |
Message |
pmatos Veteran
Joined: 06 Jun 2003 Posts: 1246 Location: Eckental, Germany
|
Posted: Fri Mar 14, 2008 9:06 pm Post subject: Installation of CellSDK [SOLVED] |
|
|
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 |
|
|
corsair Retired Dev
Joined: 06 Oct 2003 Posts: 451 Location: Aachen, Germany
|
Posted: Sat Mar 15, 2008 8:28 pm Post subject: |
|
|
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 |
|
|
pmatos Veteran
Joined: 06 Jun 2003 Posts: 1246 Location: Eckental, Germany
|
Posted: Sat Mar 15, 2008 10:28 pm Post subject: |
|
|
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 |
|
|
corsair Retired Dev
Joined: 06 Oct 2003 Posts: 451 Location: Aachen, Germany
|
|
Back to top |
|
|
pmatos Veteran
Joined: 06 Jun 2003 Posts: 1246 Location: Eckental, Germany
|
Posted: Wed Mar 19, 2008 11:41 am Post subject: |
|
|
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 |
|
|
wobbly Tux's lil' helper
Joined: 23 Apr 2003 Posts: 146
|
Posted: Fri Mar 28, 2008 4:06 pm Post subject: |
|
|
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 |
|
|
corsair Retired Dev
Joined: 06 Oct 2003 Posts: 451 Location: Aachen, Germany
|
Posted: Sun Mar 30, 2008 1:07 pm Post subject: |
|
|
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:
at which point do you need the SDK? |
|
Back to top |
|
|
Thadeu Penna n00b
Joined: 27 Mar 2008 Posts: 1 Location: Niterói
|
Posted: Sun Mar 30, 2008 6:59 pm Post subject: |
|
|
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 |
|
|
wobbly Tux's lil' helper
Joined: 23 Apr 2003 Posts: 146
|
Posted: Mon Mar 31, 2008 12:58 am Post subject: |
|
|
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 |
|
|
corsair Retired Dev
Joined: 06 Oct 2003 Posts: 451 Location: Aachen, Germany
|
Posted: Tue Apr 08, 2008 2:23 pm Post subject: |
|
|
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 |
|
|
wobbly Tux's lil' helper
Joined: 23 Apr 2003 Posts: 146
|
Posted: Tue Apr 08, 2008 4:38 pm Post subject: |
|
|
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 |
|
|
ModelCitizen n00b
Joined: 31 Oct 2023 Posts: 2 Location: New Jersey
|
Posted: Mon Nov 13, 2023 2:33 am Post subject: |
|
|
If no one minds, I can offer some up-to-date info to this thread...
I am running PPC64 Gentoo on my PS3 currently (model CECHP-01, Firmware 3.15 DEX) with kernel 6.5.7. Have spent a good portion of time these past few days manually building a Cell SPU toolchain on this Gentoo installation. However, I just now heard of Gentoo's crossdev tool working with a SPU target. I can totally confirm thet crossdev works on the PS3 (ppc64) platform and it accepts SPU as a valid target. My PS3 is currently emerging the toolchain dependencies (binutils, gcc, newlib, etc). Will immediately attempt to build libspe2 (manually) after toolchain is done. Will post a follow-up message once build is complete and tested to let you all know how it goes. Developing on the PS3 from within a modern Linux environment will be a total trip. (I'm used to using a very old Fedora (Fedora 12) to develop on the PS3 cuz all the dev tools are packaged as RPMs and install there out-of-the-box. I may not have access to all the Cell/SPU libraries that I had on Fedora (BLAS, LAPACK, MASSv) but it will be a victory just to get a toolchain up and working - will worry about specialized libraries etc. later. Wish me luck!
My PS3 Linux website (now also running on Gentoo): http://www.ps3linux.net
My PS3 Linux Youtube - Like & Subscribe: https://www.youtube.com/channel/UCt1mQjAb5WNd9fGsDX-rc9A
UPDATE (2-13-24)
Just emerged latest crossdev and it looks like support for building an SPU toolchain has been removed. Makes sense as SPU support was broken last time I tried to build it (after my previous post). I knew it wouldn't work when I saw crossdev trying to use a gcc 13.x tarball for the build (gcc dropped support for the Cell's SPU cores back in gcc 10.x). Oh well I guess no one was maintaining that part of crossdev anymore
Anyway so now I'm back to configuring/building my own spu-gcc outside of portage (using gcc-8.3.0 with binutils-2.41 currently). Will see if I can maybe contribute an ebuild for the community once I get a reliable/repooducible configuration built & tested...
Happy hacking! _________________ Obsessed with Linux on Playstation 3 (and the PS3's Cell CPU).
My console (web server):
Playstation 3 (CECHP-01) - Jailbroke & Downgraded
Firmware - Sony 3.15 DEX (debug)
Operating Systems: PowerPC Gentoo & Fedora |
|
Back to top |
|
|
|