Home Wiki > SDB:PS3
Sign up | Login

SDB:PS3

tagline: From openSUSE


The Sony PLAYSTATION 3 (PS3) is based on a 3.2GHz Cell Microprocessor, with 256MByte GDDR-VRAM. The processor is PowerPC compatible. The alliance of (IBM/Sony/Toshiba) who created the Cell processor have been active creating Linux kernel patches for the processor since Linux Kernel 2.6.13. Sony has created kernel patches specific for the PS3 in Linux Kernel 2.6.22, as well as maintaining the GNU toolchain (gcc, binutils etc).
Ps3.jpg

Contents


Version: 11.2Starting with this build, the PowerPC will no longer be supported.
Version: 10.3 & 11.1The information below is targeted to openSUSE 11.1 while most of it applies for older releases as well


[edit] Hardware Requirements

  • A computer to download and copy files on to media.
  • Playstation3 with:
    • USB Keyboard and Mouse (A Wireless USB Keyboard & Mouse is even better)
  • Any of the following recording media:
    • USB Flash or HD drive
    • CD-R, CD-RW, DVD-R, DVD+R, DVD-RW, DVD+RW, BD-R, or BD-RE disc
    • If the PS3 has memory card slots: Memory Stick, SD memory card, or CompactFlash.

Note: Just as with any system, having both a keyboard and mouse simplifies things a lot. But it is possible to install with only a mouse, and possibly even simpler with only a keyboard!

Tip: With only a mouse it is possible to copy-paste characters from Help tabs.

[edit] Software Requirements

Other OS Bootloader from older releases:

[edit] Preparation

[edit] Preparing Media

Download the PPC edition of OpenSUSE and burn it to a DVD or CD media using your favorite burning tool.

[edit] Preparing the PS3

Note: Updating your PS3 to the latest firmware is recommended before proceeding

 To keep game settings/progress and downloads do (only tested with latest firmware)
 * Attach an external (USB) drive
 * Select Settings -> System Settings -> Backup.
  • Select Settings -> System Settings -> Format Drive. Create two partitions one for the PS3s normal use and one for openSUSE. Note that you will lose any non backuped game info.
 * Restore backup (same menu)
 Note: When restoring the complete backup messages from PS3 sounds like it will restore the complete disk as it was before the partitioning, but it will not.
 * Remove the external (USB) drive (assuming it doesn't also contain your otheros.bld file).
  • Insert the media that contains the otheros.bld (see technical note below) file structure which should be your OpenSUSE install media but could also be anything. A USB key or drive is probably easiest but in theory any valid media would be fine.
  • Select Settings -> System Settings -> Install Other OS. The PS3 will display the installers it can find. If it can't find the otheros.bld file then your file structure is probably wrong.
  • Click OK to start the installer.
  • Follow the instructions of the Sony installer.
  • To boot into the Other OS, select Settings > System Settings > Default System > Other OS. This causes the 'Other OS Bootloader' to be loaded on every boot.

To forcefully boot the PS3 back to Game OS hold down the Power button for about 5 seconds or more. With a keyboard you can use the ps3-boot-game-os command to reboot to the PS3 Game OS. Now it's even possible to switch back to Game OS from within petitboot by selecting "gameboot".

Technical Note

PS3
|-otheros
    |-otheros.bld
# ps3-flash-util -w <otheros.bld>

[edit] Installation

[edit] Instructions


  • It is not recommended to enable Online Repositories during installation as the PS3 might run out of memory. Please add Online Repositories *after* the installation using YaST. This no longer applies for openSUSE 11.1 as it utilizes the ps3vram driver to use video memory as additional swap space.
  • It is also not recommended to run on-line update during the installation--checking for the Internet connection is OK. This is especially true for 11.1 as the OSS/Non-OSS are both pointing to the wrong repository (see below).
  • Also, the graphic driver cannot access to H/W acceleration features of the graphic chip (i.e., no 3D) therefore it is best NOT to install KDE4 and use some lightweight window manager. For example, I installed KDE3 then switched to IceWM for day-to-day use. Note that this limitation is for ALL distros NOT just OpenSUSE.

[edit] Post Installation

[edit] Video Resolution Fix

The default resolution of the PS3 under OpenSUSE Linux is too small to be usable and the normal tools (sax2) do not work. The solution is to modify the kernel boot parameters by modifying the file /etc/kboot.conf adding the values video=ps3fb:mode:4 as follows:

default=openSuSE
timeout=20
openSuSE="/dev/ps3da5:/vmlinux initrd=/dev/ps3da5:/initrd quiet panic=42 sysrq=1 video=ps3fb:mode:X"

Where 'X' is a value selected from the following table:

YUV 60Hz 1:480i 2:480p 3:720p 4:1080i 5:1080p
YUV 50Hz 6:576i 7:576p 8:720p 9:1080i 10:1080p
RGB 60Hz 33:480i 34:480p 35:720p 36:1080i 37:1080p
RGB 50Hz 38:576i 39:576p 40:720p 41:1080i 42:1080p
VESA 11:WXGA 12:SXGA 13:WUXGA

So for example, if you want 1080i at YUV 60Hz, the line would look like this:

openSuSE="/dev/ps3da5:/vmlinux initrd=/dev/ps3da5:/initrd quiet panic=42 sysrq=1 video=ps3fb:mode:4"

For overscan (fullscreen) mode, add 128 to the mode value.

To turn dither mode on, add 2048 to the mode value.

For some reason, the above change will not take effect (at least in 11.1) if done at the installation time (changing boot loader option)

[edit] Install PS3 Specific Packages

The ps3-utils package is available for OpenSUSE. You can easily install it with

# zypper install ps3-utils

Do not install the kernel-ps3 package. This is only a "bootstrap" kernel for the early part of the ps3 boot process. For 11.1, this is automatically done during installation process.

[edit] Adding additional repositories

http://powerpc.opensuse.org/distribution/11.1/repo/oss/ http://powerpc.opensuse.org/distribution/11.1/repo/non-oss/

Use YaST/S/W Repositories to disable the OSS and Non-OSS repositories pointing to download.opensuse.org. The Update repository seems to be correct even though it is pointing to download.opensuse.org.

http://en.opensuse.org/Additional_YaST_Package_Repositories

Pick a mirror site near your location and use Yast/Add-on Products and S/W Repositories to add Packman repository. Once you have the desire repositories setup, it is time to run the update (YaST/S/W Management, click on Package, All Packages, Update is newer version available).

Even though you now have the correct codecs, you probably cannot play video on your PS3 as the video driver only provides basic graphic capability.

[edit] Known Problems

General issues

openSUSE11.1 has a fixed ps3vram driver that works with firmware 2.5 and above!

[edit] More Troubleshooting

[edit] Resources

[edit] Other Distros on PS3

PS3, PLAYSTATION, Memory Stick and any other trademarks that appear on this page are owned by their respective owners, but you already knew this.