Difference between revisions of "PS2"

From LinuxMIPS
Jump to: navigation, search
 
(Running Linux on the Playstation 2)
 
(27 intermediate revisions by 9 users not shown)
Line 1: Line 1:
stub
+
{{stub}}
  
* Toshiba 300MHz [[R5900]] [[ISA#MIPS_IV|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
+
* Toshiba 300MHz [[R5900]] [[Instruction_Set_Architecture#MIPS_IV|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
 
* 128bit Emotion Engine: two 128-bit VLIW vector units: VU0, VU1; 10 DMA channels; MPEG decoder
* 32 Mb PC800 Direct Rambus (Direct RDRAM) memory
+
* 32MB PC800 Direct Rambus (Direct RDRAM) memory
 
* Sony Graphics Synthesizer™ graphic processor at 150MHz, 4Mb of 1024bit eDRAM
 
* Sony Graphics Synthesizer™ graphic processor at 150MHz, 4Mb of 1024bit eDRAM
* DVD ROM
+
* DVD ROM drive (not connected to an IDE bus)
* USB
+
* 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 and an infrared receiver (uses the same IR codes as older Sony DVD players), but is not able to store a harddisk
  
 +
== Running Linux on the Playstation 2 ==
  
== External Links ==
+
At the moment (May 2010) the newest Linux kernel version for the Playstation 2 is 2.4.17mvl21, which can be downloaded from the Sony website. It is a heavily patched 2.4.17 linux-mips kernel. Patches were done by Montavista.
  
[http://playstation2-linux.com/ Official PlayStation 2 Linux site] (See FAQ)
+
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).
  
[http://netbsd.org/Ports/playstation2/ NetBSD/playstation2 ]
+
== Bootloader ==
  
[http://www.pslug.org PlayStation Linux User Group] (Japanese)
+
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 [http://sourceforge.net/projects/kernelloader/ Kernelloader] loads the required RTE/TGE modules before starting the Linux kernel. For 2.6 kernels it could also be possible to append the required RTE/TGE modules directly to the kernel image instead. On Kernelloader's project page there are some patches available for Linux 2.4.17mvl21 improving Linux compatibility especially with the newer slim PS2 models.
 +
 
 +
== External links ==
 +
* http://playstation2-linux.com/ Official PlayStation 2 Linux site (See FAQ)
 +
* http://playstation2-linux.com/download/p2lsd/p2lkit-handbook.html Playstation 2 Linux Kit handbook
 +
* http://netbsd.org/Ports/playstation2/ NetBSD/playstation2
 +
* http://ps2dev.org/ Playstation2 homebrew development
 +
* http://www.sony.net/Products/Linux/Download/PlayStation_BB_Navigator.html Linux 2.4.17 kernel for the Playstation 2
 +
* [http://playstation2-linux.com/blackrhino/ BlackRhino GNU/Linux] is a Debian-based distributive
 +
* http://mitglied.lycos.de/ps2dev/tutorial/howtoinstalllinux.html How to install Linux without Sony's official Linux Kit
 +
* http://sourceforge.net/projects/kernelloader/ Kernelloader project page
 +
* Wikipedia page on [[Wikipedia:PlayStation_2|Playstation 2]]

Latest revision as of 22:36, 17 May 2010

This article is a stub. You can help by expanding it

  • 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 and an infrared receiver (uses the same IR codes as older Sony DVD players), but is not able to store a harddisk

Running Linux on the Playstation 2

At the moment (May 2010) the newest Linux kernel version for the Playstation 2 is 2.4.17mvl21, which can be downloaded from the Sony website. It is a heavily patched 2.4.17 linux-mips kernel. Patches were done by Montavista.

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 could also be possible to append the required RTE/TGE modules directly to the kernel image instead. On Kernelloader's project page there are some patches available for Linux 2.4.17mvl21 improving Linux compatibility especially with the newer slim PS2 models.

External links