PS3 Homebrew

Update of "PS3 Homebrew"
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: 2faebe4854f3fe5f3f812a22dff5fcf74e04e9c4
Page Name:PS3 Homebrew
Date: 2011-01-04 22:03:08
Original User: ludo
Parent: 2502b1f65fad5f5d54f6e73a6db6f25f6aa8b1ca
Content

Introduction

Welcome to my corner of homebrew software. I decided I want to get active in the community after hearing about the PS3 root key leaked by geohot and all the hard work done by the fail0verflow team.

I will be using psl1ght, Ubuntu 10.04 LTS and my house mates PS3. While trying to document everything as a go along here. Hope you find it helpful.

Installing PSL1GHT on Ubuntu

Packages and ps3chain

There is instruction on their website but I'm using Ubuntu 10.04 LTS so there will be some deb packages you will need to install, etc. {PS3DEV} is the directory where you decide to install ps3chain eg "/home/username/ps3dev/". So to install ps3chain and get the needed deb files you will need to execute following commands:

sudo apt-get install git-core autoconf automake bison flex texinfo ncurses-dev gcc make wget libelf-dev python-dev
git clone https://github.com/HACKERCHANNEL/ps3chain.git
mkdir {PS3DEV}
export PS3DEV={PS3DEV}
export PATH=$PATH:$PS3DEV/bin:$PS3DEV/ppu/bin:$PS3DEV/spu/bin
cd ps3chain/
chmod +x buildit.sh
./buildit.sh all

buildit took its time on my 4 MBit/s line and even had trouble to download newlib-1.18.0.tar.gz. So I stopped buildit and downloaded newlib-1.18.0.tar.gz manually and copied it over to the {ps3dev} folder and started buildit again. Thanks to the dev for allowing such behavior.

After it downloaded all the packages(30 minutes +-) it will start to compile the needed code automatically and when its finished compiling (took about 30 minutes on my HP Compaq 8710p Core 2 Due) you will see the " SPU toolchain built and installed" and your {PS3DEV} directory should contain +- 2,487 files that totals to 540.9 MB +-.

PSL1GHT

Now we can get PSL1GHT from the git repository and install it using the following commands:

cd ~ # return to the home folder
git clone git://github.com/HACKERCHANNEL/PSL1GHT
cd PSL1GHT/psl1ght/
export PSL1GHT=~/PSL1GHT/psl1ght/build
make
make install

It will compile PSL1GHT and when its finished you should see "Installed to ...". Now you can go to the samples directory and make all the examples:

cd ../samples
make

Thats all for tonight folks, happy homebrewing/hacking.

Update: After I did the write up and setup I found this tutorial using Ubuntu 10.10.