The following instructions install Cell SDK 2.0 on a PS3 running YDL (Yellow Dog Linux).

  1. Download the Cell SDK 2.0 from IBM alphaWorks. The download is in the form of an ISO (CellSDK2.0.iso). You can burn a CD from the ISO and mount the CD on the PS3:
        mkdir /mnt/cellsdk
        mount /dev/cdrom /mnt/cellsdk
    or mount the ISO directly:
       mount -o loop CellSDK20.iso /mnt/cellsdk
  2. Remove Cell SDK 1.1 if it is already installed:
        yum groupremove "Cell SDK" "Cell Libraries"
  3. Check that prerequisite software packages are installed, and install any software that is missing:
        cd /mnt/cellsdk/software
        ./cellsdk depend
    The common missing packages are freeglut-devel, netpbm-devel, tcl/tk, and libX11-devel. They can be installed as follows:
        yum -y install freeglut-devel netpbm-devel
        yum -y install tk-8.4 tk-devel tcl-devel
        yum -y install libX11-devel
  4. Install Cell SDK 2.0. The installation will require that you install the Cell Broadband Engine Kernel 2.18. You should install the kernel, but if you are using YDL with kernel 2.6.16-0, you don't need to boot the new kernel.
        ./cellsdk install --nosim -f
    The --nosim flag skips the installation of the Cell System Simulator and System Image since the SDK will be installed directly on PS3 hardware. The cellsdk script will fetch additional packages necessary to complete the SDK installation. The SDK toolchain is installed in /opt.

  5. Build the libraries, and sample example codes, preferably using the IBM xlc compiler:
       ./cellsdk build -x
    If you prefer to use GNU gcc, omit the -x flag.


Troubleshooting