|Installing FC7 on PS3 (SDK 3.0) (Updated 01/15/08)||INFObomb|
|A quick read, easily updatable source for installing FC7 on PS3 (IBM SDK for Multicore Acceleration 3.0)||More INFObombs|
Editor: Thanks to Jason Dale, Software Engineer in the IBM Systems & Technology Group, for this resource. Here is the simple version of how to install FC7 on the PS3 and upgrade the kernel. These were done on a 20GB PS3 with an upgraded hard drive (which does have space to fit the install, but does not have wireless). The system is being used as a remote system, so no graphics and sound were configured either. I apologize in advance for the non-standard formatting; I was having some difficulty getting some of the text to look right, so had to do some "creative" formatting.
Note that the stock 20GB version of the PS3 will only have 10GB left after formatting which is not enough for FC7.
If there are any additions or clarifications, please feel free to post them to the matching forum entry.
0. Back up any files if you are currently running PS3 linux
These instructions perform a clean install, which will clear out the hard drive.
1. Get the requisite software
Download and burn a DVD of FC7. The .iso files are available from the links at http://mirrors.fedoraproject.org/publiclist/Fedora/7/ppc/.
Burn a copy of the latest add-on CD. Available at http://www.kernel.org/pub/linux/kernel/people/geoff/cell/CELL-Linux-CL_20071220-ADDON.iso.
2. Make sure you have the requisite hardware installed
Game Controller plugged into USB.
USB Keyboard and Mouse.
3. Update the PS3 Firmware to the most recent version
Inside GameOS, go to Settings -> System Update.
Follow the directions to install over the internet.
Version 2.10 is the current version.
4. Perform a QuickFormat of the Hard Drive
Inside GameOS, go to Settings -> System Settings -> Format Utility -> Format Hard Disk.
Select a Custom Format, using the "Allot 10GB to the PS3 System" setting.
Perform a Quick Format.
Reboot the system when prompted.
5. Install the latest Linux bootloader image from the add-on CD
Insert the add-on CD into the drive.
In GameOS, go to Settings -> System Settings -> Install Other OS.
Follow the instructions to install the /PS3/otheros/otheros.bld file.
Eject the add-on CD.
6. Install FC7 for PPC
Here we go:
7. Install the optional packages and kernel source from the add-on CD
Log in as root.
Insert the add-on CD.
Install requisite RPMs with the following commands (run these as root):
cd /mntmkdir cdrommount -o loop /dev/cdrom cdromcd cdrom/targetrpm -ivh --force *.rpm
One of the modules that is installed is a precompiled 2.6.23 kernel. However, it will not work as-is, so we will need to make a new kernel.
cd /usr/srctar -jxvf /mnt/cdrom/src/linux-2.6.23-20071219.tar.bz2ln -s linux-2.6.23-20071219 linuxumount /dev/cdromeject
Remove the add-on CD from the machine.
cd /usr/srcyum install gitgit clone git://www.jdl.com/software/dtc.git cd dtcmakemake install
8. Install the LVM patch
To get the 2.6.23 kernel on the add-on CD to boot properly, the system needs an updated LVM before building the new kernel.
As root run the following command:
9. Configure and build the latest kernel
Note that if you are using a standard television (SDTV) and not a HD display, you will want to ssh or telnet into the machine at this time to perform the following steps (the
cd /usr/src/linuxmake mrpropercp arch/powerpc/configs/ps3_defconfig .configmake menuconfig
To configure LVM to work properly, select the following inside menuconfig to turn on LVM:
Now build the kernel and modules, then install the modules:
makemake modulesmake modules_install
10. Install the kernel into the /boot directory
Run as root:
cd /usr/src/linuxcp vmlinux /boot/vmlinux-2.6.23cp .config /boot/config-2.6.23cp System.map /boot/System.map-2.6.23mkinitrd /boot/initrd-2.6.23.img 2.6.23
11. In order to boot the new kernel, we need to add the new 2.6.23 kernel to yaboot
Here is a recommended /etc/yaboot.conf file:
# yaboot.conf generated by anaconda
12. Finally, reboot the system to load the new kernel
As the software reboot is not currently functional, you will need to hold the power button down for approximately 10 seconds to power the machine off, as was done in step 6. Touch the button again to power back on.
Kboot will load the first kernel in the /etc/yaboot.conf file (the new kernel) so you will not need to type anything.
If there is a problem with the new kernel, you can type
Helpful hints came from
|MORE INFObombs | BACK to BLOG | POWER ZONE|