Fedora 8 installed on the PS3

Fedora 8 can be installed on the PS3. It has improved kernels, libraries, compilers, and more.

It is compatible with the Cell SDK 3.0 and it is easy enough to install on the PS3.


You'll want to have a USB/RF keyboard attached to the PS3 at this point.

Installation Instructions

  • Burn the ISO's to disc (do this for both files downloaded above)
    • In Linux: cdrecord --device=<cdwriter-device> -tao -eject <image-file.iso>
    • Or use whatever DVD/CD burning tool you prefer (k3b is nice under KDE)
  • Update the firmware on your PS3 to the latest (2.41 as of the time this was written).
  • Format your PS3's harddrive (this will erase all data on the entire drive)
    • There are four options for a 60 GB harddrive:
      1. All to PS3
      2. All to Other OS
      3. 10 GB to Other OS and rest to PS3
      4. 10 GB to PS3 and rest to Other OS
    • choose either option 2 or 4.
    • In the XMB menum, go to Settings --> System Settings --> Format Utility
      • Be sure to select Quick format (10 seconds) or you'll be waiting 3.5 hours.
  • Install the Linux boot loader
    • Insert the ADDON iso CD that you made into the PS3
    • In XMB navigate to Settings --> System Settings --> Install Other OS
      • The console should automatically detect the necessary files on the CD
      • Follow the prompts to install the bootloader onto the hard drive
  • Change default OS to Other OS
    • Insert the FC-8-ppc DVD into the PS3. Then,
    • Settings --> System Settings --> Default System: change from PS3 to Other OS
    • If everything is working, you'll see a kboot prompt.
  • At the kboot command prompt, enter:
    linux64 xdriver=fbdev video=720p install text
    • If video resolution 720p does not work please consult
    • "* Note that there are different options depending on where in the world you are located.
  • Answer anaconda's questions
    • When you get to the part about what packages to install, select only Software Development and Customize Later
    • Unlike FC 7, you can install the default partitions. They work perfectly.
  • Wait... a while. The PS3 looks frozen for a bit, then it will start installing files. This process takes 4 - 5 hours.
  • It will eventually eject the DVD, say that it's rebooting, and hang ;)
    • Press and hold the power button until it beeps the second time (about 7 seconds), then release
    • Press it again. It'll boot the new system.
  • Answer the first boot questions: set root passwd, create regular user, etc...
    • It will hang again on reboot, so hold power button again
  • After reboot do a yum update and the next kernel you get will reboot!
  • Reboot and ENJOY! You may now install SDK 3.0.
    • run sudo yum install compat-expat1
    • Beware. You will likely need to block the fedora repositories in /etc/yum.repos.d by changing all
    • enable=1 to enable=0 AFTER you have installed compat-expat1 to get the right libraries and utilities
    • for the Cell processor. Make sure that after the SDK is installed you enable the fedora and fedora-updates
    • repositories again.
  • In /etc/yum.conf place the line
    • exclude=blas blas-devel oprofile-debuginfo oprofile numactl numactl-devel
    • you may need to yum erase these files before you install the SDK
    • sudo yum erase blas blas-devel oprofile-debuginfo oprofile numactl numactl-devel
    • will do the trick. More detailed instructions for the SDK are below, almost a
    • complete walk through.
  • Develop PS3 apps!

Installation of GNU Radio on F8 on the PS3

Disable any rawhide repositories in the files /etc/yum.repo.d as they are inconsistent with the use of SDK 3.0

  • Install prerequisites
$ sudo yum groupinstall "Development Tools" 
$ sudo yum install fftw-devel cppunit-devel libusb-devel guile boost-devel alsa-lib-devel python-devel numpy swig sdcc gsl-devel pygsl
  • SDCC is installed in a slightly strange way here, so fix some of the links:
Some of the names of the binaries in sdcc are very generic, and they have therefore been moved to /usr/libexec/sdcc on Fedora, and symlinks prefixed with sdcc- have been created in /usr/bin. This might be a problem for existing programs, but the solution is simply to add /usr/libexec/sdcc to your PATH before building GNU Radio:
$ export PATH=/usr/libexec/sdcc:$PATH
  • Get the GNU Radio installation from Subversion and install it
svn co http://gnuradio.org/svn/gnuradio/trunk
cd trunk
sudo make install
  • Set PYTHONPATH to point to the default /usr/local installation directory:
    • export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.5/site-packages/
    • Set this in your login script ~/.bashrc to automatically load on login

Using GNU Radio

FIXME update this

Installing the IBM Cell SDK version 3.0 continued

To successfully install all the correct tools on Fedora 8 the following additions to the SDK installation instructions are needed:

sudo yum install compat-expat1 yum-fastestmirror yum-skip-broken

sudo yum erase oprofile oprofile-debuginfo blas blas-devel numactl numactl-devel

sudo vi /etc/yum.repos.d/fedora.repo

and change the enable=1 to enable=0

sudo vi /etc/yum.repos.d/fedora-updates.repo

and change the enable=1 to enable=0

Follow the download and installation instructions

You'll need to create an IBM ID if you don't already have one.

Following the successful COMPLETION of the installation (sudo /opt/cell/cellsdk verify gives all the right answers) do the following:

sudo vi /etc/yum.conf
and add a line
exclude=blas blas-devel oprofile oprofile-debuginfo numactl numactl-devel

sudo vi /etc/yum.repos.d/fedora.repo

and change the enable=0 you did above back to enable=1

sudo vi /etc/yum.repos.d/fedora-updates.repo

and change the enable=0 you did above back to enable=1


sudo yum update

just to make sure it is now checking all of the following repositories
fedora, fedora-updates, cellsdk-open, cellsdk-fedora, and cellsdk-extras-fedora.

make sure that the ppu32-gcc compiler is in your PATH, otherwise:
export PATH=/opt/cell/toolchain/bin:$PATH

Note, the IBM SDK contains both free and non-free software.
We're only using the free stuff, and it should be possible to get the free stuff
without agreeing to IBM's non-free licenses. Perhaps somebody with some time can sort this

Hint: They install
this repo file

in /etc/yum.repos.d/cellsdk-Fedora.repo

I think all the free stuff is in the CellSDK-Open-Fedora-* repository at the Barcelona Supercomputing Center.

Cross Compiling for the Cell

Now that you've got all the software installed and have discovered that compiling on the PS3
(or QS21 for that matter) takes nearly forever, please check out these instructions for CrossCompilingForCell.
It's how most of us do our actual Cell development.

注:Fedora 8 installed on the PS3(原文出处,翻译整理仅供参考!)