frno7 / linux

Linux 2.2, 2.6, 3.x, 4.x and 5.x kernels for the PlayStation 2.
Other
86 stars 5 forks source link
kernel linux playstation2 ps2 r5900

compilation workflow

PlayStation 2 Linux kernel

This Linux kernel branch implements the o32 ABI for the Sony PlayStation 2.

# uname -mrs
Linux 5.4.221+ mips
# cat /proc/cpuinfo
system type     : Sony PlayStation 2
machine         : SCPH-37000 L
processor       : 0
cpu model       : R5900 V3.1
BogoMIPS        : 291.58
wait instruction    : no
microsecond timers  : yes
tlb_entries     : 48
extra interrupt vector  : yes
hardware watchpoint : no
isa         : mips1 mips3
ASEs implemented    : toshiba-mmi
shadow register sets    : 1
kscratch registers  : 0
package         : 0
core            : 0
VCED exceptions     : not available
VCEI exceptions     : not available

Frequently asked questions

The wiki has frequently asked questions about PlayStation 2 Linux.

Building and installing

This kernel can be started directly from a USB flash drive, using for example uLaunchELF for the PlayStation 2. A special kernel loader is unnecessary.

The wiki has a guide on building and installing PlayStation 2 Linux.

PlayStation 2 Linux distributions

There is a Gentoo live USB for the PlayStation 2.

PlayStation 2 Linux emulation

R5900 QEMU can be used to emulate programs compiled for PlayStation 2 Linux.

General README

Review the general README for further information on the Linux kernel.