= Howto install Fedora on Ps3 = * Download FC8 DVD * Update firmware on the Ps3 * Format Ps3 HD * Install bootloader on Ps3 * Change default OS to Other OS * At the kboot command prompt, enter: linux64 xdriver=fbdev video=720p install text (I did kboot: sh # mkdir /tmp/cdrom # mount /dev/cdrom /tmp/cdrom # cd /tmp/cdrom/ppc/ppc64/ # kexec --force --ramdisk=ramdisk.image.gz --command-line="xdriver=fbdev video=1080i" vmlinuz (depending on graphic resolution can remove video option) * yum update * OPTIONAL After the hours of updates are done go to http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-utils/ (PS3-Utils) * Download all rpms and install them with rpm -ivh * Download the latest tbz of the ps3-utils (currently ps3-utils-2.2.0.tar.bz2) * tar jxf the tbz in a convenient place. Make sure the rpms are installed. * ./configure && make * sudo make install * This will give you the flash, OS swap, video mode utilities * 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. * /etc/yum.conf o exclude=blas blas-devel oprofile-debuginfo oprofile numactl nuactl-devel o you may need to yum erase these files before you install the SDK o sudo yum erase blas blas-devel oprofile-debuginfo oprofile numactl numactl-devel o will do the trick. More detailed instructions for the SDK are below, almost a o complete walk through. $ 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 $ export PATH=/usr/libexec/sdcc:$PATH * 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 here. ------------------- $ yum install rsync sed tcl wget http://www-01.ibm.com/chips/techlib/techlib.nsf/techdocs/3D3C5B2932876AEB00257353006C179E $ /etc/init.d/yum-updatesd stop Download the attached SDK installer RPM and ISO images into a temporary directory such as /tmp/cellsdkiso. The Extras ISO is optional. # Install the SDK Installer using RPM rpm -ivh cell-install-3.0.0-1.0.noarch.rpm # Install the SDK cd /opt/cell ./cellsdk --iso /tmp/cellsdkiso install # Add exclusions to the YUM configuration file /etc/yum.conf exclude=blas kernel numactl oprofile # Restart the YUM updater daemon /etc/init.d/yum-updatesd start --------------- 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 run 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. 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 out. Hint: They install this repo file in /etc/yum.repos.d/cellsdk-Fedora.repo ----- [CellSDK-Devel-Fedora-x86] name=IBM Cell SDK (CellSDK-Devel-Fedora, x86) baseurl=file:///tmp/sdk/CellSDK-Devel-Fedora/x86 file:///opt/cell/yum-repos/CellSDK-Devel-Fedora/x86 enabled=0 retries=3 timeout=30 failovermethod=priority metadata_expire=0 [CellSDK-Devel-Fedora-x86_64] name=IBM Cell SDK (CellSDK-Devel-Fedora, x86_64) baseurl=file:///tmp/sdk/CellSDK-Devel-Fedora/x86_64 file:///opt/cell/yum-repos/CellSDK-Devel-Fedora/x86_64 enabled=1 retries=3 timeout=30 failovermethod=priority metadata_expire=0 [CellSDK-Devel-Fedora-ppc64] name=IBM Cell SDK (CellSDK-Devel-Fedora, ppc64) baseurl=file:///tmp/sdk/CellSDK-Devel-Fedora/ppc64 file:///opt/cell/yum-repos/CellSDK-Devel-Fedora/ppc64 enabled=0 retries=3 timeout=30 failovermethod=priority metadata_expire=0 [CellSDK-Devel-Fedora-cbea] name=IBM Cell SDK (CellSDK-Devel-Fedora, cbea) baseurl=file:///tmp/sdk/CellSDK-Devel-Fedora/cbea file:///opt/cell/yum-repos/CellSDK-Devel-Fedora/cbea enabled=0 retries=3 timeout=30 failovermethod=priority metadata_expire=0 [CellSDK-Extras-Fedora-x86] name=IBM Cell SDK (CellSDK-Extras-Fedora, x86) baseurl=file:///tmp/sdk/CellSDK-Extras-Fedora/x86 file:///opt/cell/yum-repos/CellSDK-Extras-Fedora/x86 enabled=0 retries=3 timeout=30 failovermethod=priority metadata_expire=0 [CellSDK-Extras-Fedora-x86_64] name=IBM Cell SDK (CellSDK-Extras-Fedora, x86_64) baseurl=file:///tmp/sdk/CellSDK-Extras-Fedora/x86_64 file:///opt/cell/yum-repos/CellSDK-Extras-Fedora/x86_64 enabled=1 retries=3 timeout=30 failovermethod=priority metadata_expire=0 [CellSDK-Extras-Fedora-ppc64] name=IBM Cell SDK (CellSDK-Extras-Fedora, ppc64) baseurl=file:///tmp/sdk/CellSDK-Extras-Fedora/ppc64 file:///opt/cell/yum-repos/CellSDK-Extras-Fedora/ppc64 enabled=0 retries=3 timeout=30 failovermethod=priority metadata_expire=0 [CellSDK-Extras-Fedora-cbea] name=IBM Cell SDK (CellSDK-Extras-Fedora, cbea) baseurl=file:///tmp/sdk/CellSDK-Extras-Fedora/cbea file:///opt/cell/yum-repos/CellSDK-Extras-Fedora/cbea enabled=0 retries=3 timeout=30 failovermethod=priority metadata_expire=0 [CellSDK-Open-Fedora-x86] name=IBM Cell SDK (CellSDK-Open-Fedora, x86) baseurl=file:///tmp/sdk/CellSDK-Open-Fedora/x86 http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0//CellSDK-Open-Fedora/x86 file:///opt/cell/yum-repos/CellSDK-Open-Fedora/x86 enabled=0 retries=3 timeout=30 failovermethod=priority metadata_expire=0 [CellSDK-Open-Fedora-x86_64] name=IBM Cell SDK (CellSDK-Open-Fedora, x86_64) baseurl=file:///tmp/sdk/CellSDK-Open-Fedora/x86_64 http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0//CellSDK-Open-Fedora/x86_64 file:///opt/cell/yum-repos/CellSDK-Open-Fedora/x86_64 enabled=1 retries=3 timeout=30 failovermethod=priority metadata_expire=0 [CellSDK-Open-Fedora-ppc64] name=IBM Cell SDK (CellSDK-Open-Fedora, ppc64) baseurl=file:///tmp/sdk/CellSDK-Open-Fedora/ppc64 http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0//CellSDK-Open-Fedora/ppc64 file:///opt/cell/yum-repos/CellSDK-Open-Fedora/ppc64 enabled=0 retries=3 timeout=30 failovermethod=priority metadata_expire=0 [CellSDK-Open-Fedora-cbea] name=IBM Cell SDK (CellSDK-Open-Fedora, cbea) baseurl=file:///tmp/sdk/CellSDK-Open-Fedora/cbea http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0//CellSDK-Open-Fedora/cbea file:///opt/cell/yum-repos/CellSDK-Open-Fedora/cbea enabled=0 retries=3 timeout=30 failovermethod=priority metadata_expire=0 ----- Alternate mirror for BSC, http://mirror.lzu.edu.cn/software/Cell_SDK3.0/ I think all the free stuff is in the CellSDK-Open-Fedora-* repository at the Barcelona Supercomputing Center. == Bugs and links == [0] https://bugzilla.redhat.com/show_bug.cgi?id=370761 [1] http://gnuradio.org/trac/wiki/PS3FC8Install [2] http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ [3] http://gnuradio.org/trac/wiki/CrossCompilingForCell [4] https://fedoraproject.org/wiki/PlayStation/Ps3ReSpin [5] http://www.bsc.es/projects/deepcomputing/linuxoncell/ [6] http://www.ibm.com/developerworks/power/cell/