Difference between revisions of "PS2"

From LinuxMIPS
Jump to: navigation, search
(Running Linux on the Playstation 2)
Line 11: Line 11:
  
 
At the moment, the newest Linux kernel version for the Playstation 2 is 2.4.17, which can be downloaded from the Sony website. The reason why newer kernel versions aren't available is because the Playstation 2 toolchain is too old to build newer kernels (GCC 2.95.2 and Binutils 2.9). Some people at PS2Dev have ported GCC 3.2.2 and Binutils 2.14 to the Playstation 2, but isn't developed to run Linux (only static ELF's).
 
At the moment, the newest Linux kernel version for the Playstation 2 is 2.4.17, which can be downloaded from the Sony website. The reason why newer kernel versions aren't available is because the Playstation 2 toolchain is too old to build newer kernels (GCC 2.95.2 and Binutils 2.9). Some people at PS2Dev have ported GCC 3.2.2 and Binutils 2.14 to the Playstation 2, but isn't developed to run Linux (only static ELF's).
 
CHECK: One should be able to compile linux kernel using cross compiler running on a PC so it doesn't depend on gcc and binutils to be running on PS2. Independent of this even if GCC3.22 and Binutils 2.14 is already running on PS2, if I am not wrong the basic stuff should be sufficient to get the linux kernel to compile, so is there any specific issue which is stopping people from compiling the kernel using it.
 
  
 
== Bootloader ==
 
== Bootloader ==

Revision as of 18:04, 3 May 2010

  • Toshiba 300MHz R5900 MIPS IV core, FPU, 16 KB 2-way set-associative I-CACHE and an 8 KB 2-way set-associative D-CACHE, along with a 16 KB data scratchpad RAM; set of 128-bit multimedia extensions
  • 128bit Emotion Engine: two 128-bit VLIW vector units: VU0, VU1; 10 DMA channels; MPEG decoder
  • 32MB PC800 Direct Rambus (Direct RDRAM) memory
  • Sony Graphics Synthesizer™ graphic processor at 150MHz, 4Mb of 1024bit eDRAM
  • DVD ROM drive (not connected to an IDE bus)
  • 2 USB 1.0 Ports connected to an OHCI controller
  • 1 i.Link ( IEEE 1394 Firewire ) port (it is not possible to access the Firewire port from Linux)
  • New slim model has built-in ethernet, but is not able to store a harddisk (thus unable to boot Linux without netbooting)

Running Linux on the Playstation 2

At the moment, the newest Linux kernel version for the Playstation 2 is 2.4.17, which can be downloaded from the Sony website. The reason why newer kernel versions aren't available is because the Playstation 2 toolchain is too old to build newer kernels (GCC 2.95.2 and Binutils 2.9). Some people at PS2Dev have ported GCC 3.2.2 and Binutils 2.14 to the Playstation 2, but isn't developed to run Linux (only static ELF's).

Bootloader

On the PS2 Linux does not run on the bare hardware but on an abstraction layer called RTE (Run Time Environment). The RTE was partly reimplemented as open source. The open source variant is called TGE (The Great Experiment).

The open source bootloader Kernelloader loads the required RTE/TGE modules before starting the Linux kernel. For 2.6 kernels it may also be possible to append the required RTE/TGE modules directly to the kernel image.

External links