© 2008 Sony Computer Entertainment Inc.
© 2006,2007,2008 Sony Corporation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".
DISCLAIMER
THIS DOCUMENT IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.
TRADEMARK NOTICE
"PLAYSTATION" and "PS3" are registered trademarks of Sony Computer
Entertainment Inc. "Cell Broadband Engine" is a trademark of
Sony Computer Entertainment Inc. Linux® is the registered
trademark of Linus Torvalds in the U.S. and other countries.
Other company, product and service names
may be registered trademarks, trademarks or service marks of others.
To install Linux on a PS3, you have to execute following steps.
Format
Memory Stick
Format SD Memory Card
Format CompactFlash
Format Hard Disk
To allocate a Linux partition on the Hard Disk, select "Format Hard Disk".
Do you want to format the hard disk?
Yes No
Select a partition setting for the hard disk.
Use
All for the PS3 System
Custom
To
allocate a Linux partition on the Hard Disk, select "Custom".
After selecting "Custom", following messages are displayed.
Select a partition setting for the hard disk.
Use
All for the PS3 System
Allot 10GB to the Other OS
Allot 10GB to the PS3 System
To allocate a Linux partition on the Hard Disk, select one of following items.
Allot
10GB to the Other OS
Allot 10GB to the PS3 System
If your hard disk size is 20GB, you have to select 'Allot 10GB to the Other OS'.
Select the hard disk format method.
Quick
Format
Full Format
If
you format, all data will be deleted.
This data cannot be restored.
Are you sure you want to continue?
Yes No
Format
Complete.
Press the X button to restart the system.
After pressing the X button, restart the system software and you can see GameOS menu.
To start kboot, you have to change the default system to boot.
PS3
Other OS
Do
you want to quit the PS3 system and start the other system
now?
Yes
No
After selecting 'Yes', kboot is automatically started.
Some Linux distributions start supporting PS3 already. Please download your favorite distribution as follows.
This section describes the usage of kboot.
Kboot is a Linux boot loader based on kexec. You can load and exec another Linux kernel on the Linux kernel.
Kboot supports the following functions:
You can boot Linux by kboot, which does the following:
Reads in some device driver modules and performs initialization. During the initialization process it waits for a response from each device for 15 seconds. A device that does not respond within this period is ignored.
The udev mechanism creates device files.
First, kboot sends DHCP request to the network. If a DHCP timeout occurs, network is set as follows:
ipv4_addr="192.168.0.10"
ipv4_netmask="255.255.255.0"
ipv4_default=""
ipv4_nameserver=""
dns_domain=""
If the filename parameter is specified from the DHCP server, kboot initializes NFS boot as follows:
E.g. dhcpd.conf
host ps3-1 {
hardware
ethernet 00:13:A9:XX:YY:ZZ;
fixed-address 192.168.0.20;
option root-path "192.168.0.30:/tftpboot/linux";
next-server 192.168.0.30;
filename "/linux/boot/vmlinux-nfs";
}
NFS boot configuration is written in /etc/kboot.conf.
default=nfsboot
timeout=10
root=/dev/nfs
nfsboot='tftp://$next-server$filename ip=on
nfsroot=$nfshost:$path
root=/dev/nfs '
The
kboot boot loader searches for file systems to be mounted on '/'
by using following algorithm.
- device search priority
built-in BD drive, USB mass storage, built-in HDD
- check if the media has more than one partitions, if no, try to
examine boot configuration file on the media.
- Otherwise, it checks if the partition is marked as
"active" or not in ascending order. In the case of "active',
try to examine boot
configuration file on the partition.
- check if format of the media(or partition) meet one of following;
ext2, ext3, FAT16/32 or ISO9660
(Caution) kboot mount ext3 file system
by using "-t ext2" option
- try to mount the selected media(or partition) on '/' and check a boot
configuration file name either
/etc/kboot.conf or /ETC/KBOOT.CNF or
/etc/yaboot.conf. If
the boot configuration file exists, kboot finish
searching.
If the boot configuration file does not exist, kboot umount the
selected media(or partition) and check the nextt media(or partition).
After mounting the file system, etc/kboot.conf(or /ETC/KBOOT.CNF), etc/fstab, etc/hosts on the mounted file systems are copied to the /etc/kboot.conf, /etc/fstab, and /etc/hosts on the kboot RAM disk.
See the next section, "How to Use kboot", for details.
kboot:
After
starting, kboot displays its prompt on the system console.
If a timeout is set, a key producing input (e.g., [Space], a
letter, [Del], etc., but not [Shift], [Alt], and such) must be
pressed in time to keep kboot from automatically proceeding with
the default.
A kernel is booted by specifying its name, followed by any
arguments that should be passed on the boot command line.
The kernel name can have the following forms:
kboot recognizes the following "internal" commands:
Any other command is handed to the shell for execution. In particular, a shell with command-line editing and file name completion can be be obtained by simply typing "sh".
When the kboot starts, it looks for a file kboot.conf, which contains variable assignments. The syntax is the same as in shell scripts. (In fact, kboot.conf is a shell script.) The following variables have a special meaning:
Any other variables define a command line, which is expanded when the variable name (which we then call a "label") is entered as a command at the kboot prompt.
Example:
b26131="/boot/vmlinux root=/dev/ps3da7"
With this defined, "b26131 init=/bin/sh" will be expanded as follows:
/boot/vmlinux root=/dev/sda7 init=/bin/sh
You can specify a following special boot parameter on the PS3.
<video
mode ID>
0: auto mode , default value
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
full screen mode: <video mode ID> + 128
dither ON mode : <video mode ID> + 2048
kboot.conf sample is as follows.
default=linux
timeout=10
root="LABEL=/"
linux="/boot/vmlinux-2.6.23
initrd=/boot/initrd.img-2.6.23 video=ps3fb:mode:3"
1.7 | May 28 2008 | Update to Fedora 9 |
1.6 | Feb 1 2008 | Update PS3 System software version for PS3 Linux |
1.5 | Oct 26 2007 | Update PS3 System software version for PS3 Linux |
1.4 | Aug 17 2007 | Change built-in HDD device name. Update kboot kernel version |
1.3 | Apr 25 2007 | Support PS3 System Software 1.60. Update to Fedora Core 6 |
1.1 | Dec 8 2006 | Added "Revision History" and "About This Document" |
1.0 | Nov 11 2006 | Initial Revision |