PDA

View Full Version : A guide to installing YDL Linux on the PS3 (6.x)


Chrisoldinho
30-04-2008, 1:44 PM
Quick installation guide specific to getting the best out of YDL 6.x on the PS3 - Posted in Linux Forum and PS3 Linux Sub Forum


This guide may differ as newer versions of the PS3's Firmware and YDL become available

This assumes you have installed YDL 6 ok and are in the GUI interface :thumbsup:. Please bear in mind that this does require an adequate knowledge of PC's, nothing on Linux is ever the same for 2 people so please bear in mind that how it works on yours may differ from mine. Also, I could spend an age detailing the in's and out's of certain bits (like setting the screen resolution, disabling services) so the best thing to do is read some of the off site links i've posted, they go into a lot more detail than I would here - also remember google is your friend


1) Get your screen resolution right, by default you will have 4 black borders around the screen, you might be thinking how do I get it full screen, here is a link how to do this (off site).

http://www.yellowdog-board.com/viewtopic.php?t=2434

Now I have 1920x1080 1080p 1:1 pixel mapped perfection running @ 60Hz.

(In a nutshell you need to edit /etc/yaboot.conf file) and choose one of the following settings depending upon your display:

If you want to leave the borders on:

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

add 128 for fullscreen

All the possible 1080p modes (aside from dithering):

5 (YUV 60Hz 1080p) or 133
10 (YUV 50 Hz 1080p) or 138
37 (RGB 60Hz 1080p) or 165
42 (RGB 50 Hz 1080p) or 170

Look for the following
video=ps3fb:mode:131 rhgb

ONLY CHANGE THE NUMBER, NOTHING ELSE!!!

So on my display I would edit the yaboot.conf file to read video=ps3fb:mode:165 rhgb.

Good luck with this :)

The PS3 is rather slow with YDL 6 in it's standard form. I did various things in an attempt to speed it up.

2) First off I disabled the following services (with no impact on my setup):

sendmail
smartd
sshd
rpcgssd
rpcidmapd
restorecond
pcsd
portmap
pbbuttonsd
mouse-emulation
mdmonitor
mcstrans
isdn
ip6tables
hplip
cpuspeed
avahi-daemon
anacron
atd
bluetooth (Optional)
crond
cups
hidd
qemu (if installed)

3) Secondly, I switched to the GNOME GUI instead of using Enligtenment, whilst not faster, it's definately easier to navigate (this can be done on the splash screen at the start).

4) Setting up Wireless was relatively straight forward. Simply follow this guide word for word:

http://dachaac.blogspot.com/2007/08/guide-to-get-wpa-psk-working-on-ps3-ydl.html

This works for Firmware 2.20 onwards.

5) Next I installed ProtectBase to protect the yellowdog-base.repo

Open a Terminal and type:


su
[root password]

yum install yum-protectbase


6) By this point you have a fully functional OS going a lot quicker than before, but now your wondering to yourself, why doesn't Flash player work, well in a nutshell Adobe don't natively support PPC Linux sadly, so YDL etc won't work. Luckily you can get around most of this by doing the following:

su
<root password>

yum erase gnash-plugin

yum install swfdec swfdec-mozilla


7) To install Java do the following:

Part I: Install JRE 5.0

1.Open Firefox
2.Go here: https://addons.mozilla.org/firefox/plugins/
3.Scroll down to the Java section and look for “Support Documentation”
4.Click on the “Linux” link
5.In the Java Runtime Environment section, look for “Downloads”
6.Click on the “IBM JRE” link
7.Under the “Latest Java releases and download links” heading, click on the “SR3” link for J2SE 5.0 on 32-bit iSeries/pSeries
8.You will need to register on the IBM site to go to the next step.
9.After completing the registration process, you should arrive at a download page for “IBM 32-bit SDK for Linux on iSeries and pSeries architecture, Java 2 Technology
2006-09-18”
10.Click on the link under “Download using http”
11.Under the JRE section, download the RPM format
12.Select Open with system-installer-packages (default) and click OK
13.Note: this is a big download (47,2 MB).
14.Follow the installer instructions to complete installation.

Part II: Configure Firefox

You need to be logged in as root in order to complete Part II. There are ways around this, but to keep it simple just log in as root on the login screen before starting Part II.

1.Use the File Browser to navigate to /opt/ibm/java2-ppc-50/jre/bin
2.Right-click on libjavaplugin_oji.so and select “Make link”
3.Right-click on the newly created file called “link to libjavaplugin_oji.so” and select “Cut”
4.Use the File Browser to navigate to /usr/lib/firefox-1.5.0.1/plugins
5.Right-click in the folder and select “Paste”
6.Right-click on the file called “link to libjavaplugin_oji.so” and select “Rename”
7.Rename the file to "libjavaplugin_oji.so"

Part III: Test Installation

1.Open Firefox
2.Go to http://www.time.gov
3.Select a state – if java starts and the time shows up your installation is successful.

8) Install VLC Media Player


su
[root password]

yum install vlc


I hope this helps others get YDL running ok. It works well on mine, not the fastest thing ever by all means, but a more than capable email/internet and word processor. I've even got it doing Snes 9.x emulation & quake II installed amongst other things (drop menu shadows, Firefox 3.0 Beta 5 etc)

:thumbsup:

Chris.