Power Developer
https://powerdeveloper.org/forums/

Gentoo on PS3?
https://powerdeveloper.org/forums/viewtopic.php?f=8&t=927
Page 1 of 1

Author:  Knorp [ Fri Nov 17, 2006 4:40 am ]
Post subject:  Gentoo on PS3?

I've been hearing some whispering about Gentoo being made available for PS3? Sony has opened their Open Platform webpage with instructions for installing another OS on a PS3. You basically put a provided Sony installer and a third party bootloader on a USB key, plug it into your PS3, and then use the built-in utility to "install other os".

See here for detailed instructions:

http://www.playstation.com/ps3-openplatform/index.html

Is there any way to put Gentoo on it now, or will more info be made available shortly?

Author:  frostwork [ Fri Nov 17, 2006 6:16 am ]
Post subject: 

Hi Knorp!
lu-zero just put new (masked) cell-sources into portage :
http://packages.gentoo.org/ebuilds/?cel ... .19_rc6-r1

Author:  lu_zero [ Fri Nov 17, 2006 7:34 am ]
Post subject: 

the quickest way to get it running is just fetch or produce a standard stage3 image, add a default kernel for ps3 (the latest cell-sources should do) and it should work. (if you have a powerpc or a ppc64 would be easy since you can chroot inside)

I'm not 100% sure since I don't have access to a system...

Currently I'm trying to update the toolchain snapshots to let people start using spus and ppu specific instruction scheduling since running generic or g5 tuned binaries could lead you to a delusion ^^ (it could be quite slow due misses, pipeline bubbles and other stuff you can avoid compiling for the cell target)

I'll try to prepare a quick recipe to let you play at the earliest, give me at least a day or two to be more sure.

ping me on irc in few ours (since I have to do something in this evening and I won't available now) or send me an email if you want to act as guinea pig (requirements: crossdev, time, patience)

Author:  Knorp [ Fri Nov 17, 2006 5:14 pm ]
Post subject: 

Thanks for the replies! I'm a bit of a noob here, so I'm not sure how much help I can be. I'll be getting my PS3 in a couple of days.
Quote:
the quickest way to get it running is just fetch or produce a standard stage3 image, add a default kernel for ps3 (the latest cell-sources should do) and it should work.
If you could point where to get a stage3 image, where to get the cell-sources, and how to add them, I could give this a go. I note the link provided by frostwork, but I'm not sure how to get the cell-sources from that.

Sorry I'm very unfamiliar with this! Perhaps someone with better knowledge will be able to try it out and provide a guide for the rest of us.

edit - I see now how portage works, I think. Would one install a regular Gentoo image on the PS3 first and then get the cell-sources thereafter using portage?

Author:  JoseJX [ Fri Nov 17, 2006 7:48 pm ]
Post subject: 

Sort of. We had a user show up in #gentoo-ppc64 on freenode today with a PS3 and the desire to run Gentoo. :) Here's the gist of what we ended up doing. Since I don't have a PS3 yet, I can't give you more details, but if you join #gentoo-ppc64, we'll help you out. :)

Using Sony's bootloader, you boot into a 2.6.16 root with a minimal busybox shell. From here, you should partition, create the filesystems and mount the PS3 hard disk. Once this is complete, copy the Stage3 ppc64 tarball, unpack, chroot in and follow the Gentoo directions for configuring it. Next, you'll need to fetch lu_zero's overlay for Cell/PS3 for the kernel sources, gcc, etc. These should be installed and the kernel configured, compiled, etc. You'll want to recompile things with Cell scheduling instead of the PPC64 generic stages since the PPE really isn't the same as a regular PPC64 machine (no out of order instructions!). As for configuring it to boot, the user left before we got this far, so I can't say at this time.

I'm not sure if it's needed, but the Gentoo PPC64 2006.1 Install CD can be mounted (squashfs support seems to have been included with Sony's kernel) for any missing apps that you might need to set things up.

Hope this helps. :)

Author:  Knorp [ Sun Nov 19, 2006 10:24 am ]
Post subject: 

Sounds slightly complex! I'll be getting my PS3 in the next couple of days, but perhaps I'm too newbie-ish to try this out for you. Perhaps if there was someone to hand-hold me through it it might be possible.

Author:  lu_zero [ Sun Nov 19, 2006 1:18 pm ]
Post subject: 

http://overlays.gentoo.org/dev/lu_zero/ ... ationNotes

it is just as simple as installing gentoo on any other platform in the end (got someone doing the first steps today)

Hopefully I'll get him doing some pictures of the thing ^^;

in the other news I'm trying to fix newlib and then the only thing missing is a glibc with fixes for "extern inline"

Author:  Knorp [ Mon Nov 20, 2006 3:52 am ]
Post subject: 

Thanks for that lu_zero, I'm a little clearer in my mind now about what needs to be done :) I will hopefully have a chance to spend some time on this this week.

Author:  lu_zero [ Mon Nov 20, 2006 9:40 am ]
Post subject: 

at least one guy managed to install gentoo already and I'm helping another getting things build correctly (and in the mean time experiment with stuff)

Author:  sugardave [ Mon Dec 04, 2006 11:27 pm ]
Post subject:  Genesi and GentooPPC?

Has anyone else heard anything about Genesi and GentooPPC for the PS3 as referenced in this thread:

http://www.powerdeveloper.org/forums/vi ... .php?t=902

Author:  lu_zero [ Sun Dec 10, 2006 5:09 pm ]
Post subject: 

they are hosting/mirroring most of the useful stuff you get for the ps3 and we (myself, ranger, josejx as developers and some quite dedicated users and owner of ps3) are doing some work to get things working out of box asap. Currently there are all the bits either from my overlay or the main portage tree and all you need to do is just do a plain install from a ppc/ppc64 stage3 and then emerge the experimental stuff.

Most of the development is currently geared to get overall improved ppc64 support, better hardware support (like a good automatic xorg.conf or provide ebuilds for the experimental .20 and the stable .16) and SPU support (libspe, spu-elf crossdev target)

you could find us around the usual #gentoo- channels

Author:  tgall [ Thu Jan 04, 2007 11:16 pm ]
Post subject:  It's getting even better...

With a huge thank you to Rangerpb for all his very fine work:

http://overlays.gentoo.org/proj/cell/wi ... entooOnPS3

This install method allows one to use a stage4 which in gentoo parlance means you don't have to build a thing, you start with a very useful system straight from the get go.

Regards,

Tom

Page 1 of 1 All times are UTC-06:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/