Taiga Developer Site

Japanese
topmenu webgame software download developer  
 

Top > Developer

PS2 Linux

eCos/RedBoot for PS2

最低限必要なもの

Linux (for PlayStation 2) Release 1.0以外に以下のものが最低必要です。
  • PS2本体
  • メモリカード
  • Sync on Green対応モニタ

Linux (for PlayStation 2) Release 1.0の内容

image1 image2
  • USBマウス
  • USBキーボード
  • DVD-ROM(2枚)
  • ディスプレイケーブル
  • ハードディスク
  • LANアダプタ

インストール

インストールタイプは3種類が選択できます。
  • Install WindowMaker Workstation
  • Install Server System
  • Install Custom System
Install Custom Systemで全てのパッケージを選択してインストールしてしまうのがおすすめです。Install WindowMaker WorkstationではKDEやGNOME等はインストールされないので注意してください(pingも入りません)。Install Custom Systemで全てのパッケージを選択した場合はHD1.6G程度、インストールは40分程で完了します。
パーティーション
HDは40Gということになっていますが、実際は38Gくらいで認識されます。PS2のメインメモリは32Mとかなり小さいので、スワップ領域は必ず作成する必要があります。ただし、使用しているカーネルのバージョンが2.2.1なのでスワップ領域を128M以上確保してもカーネルが使いきれないかもしれません。

システム内容

パッケージの管理にRPMを採用するなど中身はRedHat系のシステム構成となっています。Kondara MNU/Linuxがベースのようです。ただしメモリが小さいため、動作はちょっと重たいです。
アプリケーションはLinuxで作ったものであれば、ほとんどがリコンパイルで使えるはずです。当サイトで公開しているミニゲームもためしにコンパイルしてみました。特に修正する必要もなく、PS2Linux上で動作する実行ファイルを作成することができました。

さらにあったら便利なもの

PS2 Linuxの他にLANで接続されたPCが一台あると何かと便利です。メモリカードが2次記憶装置としてマウントできるようですが、バックアップなどデータのやり取りにはちょっと厳しいデバイスといえます。ftp,smbaなどLinuxで動作するサーバはほとんどものが収録されています。そんなわけでftp・telnet・sambaサーバが動くようにしてPCと連携がしやすいようにして使用しています。

dmsg/proc

dmsg

use boot information at 0x81fff000(old style)
boot option string at 0x81fff100: root=/dev/hda1 crtmode=vesa0,60
Loading R5900 MMU routines.
CPU revision is: 00002e20
Primary instruction cache 16kb, linesize 64 bytes
Primary data cache 8kb, linesize 64 bytes
Branch Prediction : on
Double Issue : on
Linux version 2.2.1 (root@anps2rel1) (gcc version 2.95.2 19991024 (release)) #1
Wed Nov 14 18:28:00 JST 2001
no initrd found
Console: colour dummy device 80x25
Calibrating delay loop... 392.40 BogoMIPS
Estimated CPU clock: 294.240 MHz
Memory: 30828k/32760k available (1192k kernel code, 672k data)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PlayStation 2 SIF BIOS: 0250
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
Linux IP multicast router 0.06 plus PIM-SM
Starting kswapd v 1.5
PlayStation 2 device support: GIF, VIF, GS, VU, IPU, SPR
Graphics Synthesizer revision: 00005515
Console: switching to colour PlayStation 2 Graphics Synthesizer 80x30
pty: 256 Unix98 ptys configured
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver usb_mouse
usb.c: registered new driver keyboard
usb-ohci.c: USB OHCI at membase 0x1f801600, IRQ 42
usb-ohci.c: GrowLocalMem 64K bytes
usb.c: new USB bus registered, assigned bus number 1
usb.c: USB new device connect, assigned device number 1
hub.c: USB hub found
hub.c: 2 ports detected
RAM disk driver initialized: 1 RAM disks of 10240K size
loop: registered device at major 7
PlayStation 2 IDE DMA driver
hda: Maxtor 4D040H2, ATA DISK drive
ide0 at 0xb4000040-0xb4000047,0xb400005c on irq 41
hda: Maxtor 4D040H2, 38146MB w/2048kB Cache, CHS=4863/255/63, (U)DMA
scsi : 0 hosts.
scsi : detected total.
Partition check:
hda: hda1 hda2 hda3
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 44k freed
usb.c: USB new device connect, assigned device number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: USB new device connect, assigned device number 3
input0: USB HIDBP mouse
usb.c: USB new device connect, assigned device number 4
keybdev.c: Adding keyboard: input1
input1: USB HIDBP keyboard
PlayStation 2 Real Time Clock driver
PlayStation 2 Sound driver with 32bit DMA support
Adding Swap: 184740k swap-space (priority -1)
eth0: MAC address 00:04:1f:01:31:a0
PlayStation 2 SMAP(Ethernet) device driver is loaded.
eth0: Auto-negotiation complete. 100Mbps Full duplex mode.
mousedev.c: Adding mouse: input0
mousedev: PS/2 mouse device on misc32
js: Version 1.2.13

/proc/cpuinfo

cpu : MIPS
cpu model : R5900 V2.0
system type : EE PS2
BogoMIPS : 392.40
byteorder : little endian
unaligned accesses : 23
wait instruction : no
microsecond timers : no
extra interrupt vector : yes
hardware watchpoint : no
VCED exceptions : not available
VCEI exceptions : not available

/proc/devices

Character devices:
1 mem
2 pty
3 ttyp
4 tty0
5 ptmx
7 vcs
10 misc
14 sound
15 js
128 ptm
136 pts
180 usb
240 ps2dev
242 tst
244 ps2pad

Block devices:
1 ramdisk
3 ide0
7 loop

/proc/interrupts

9: 599022 Ch-0 timer/counter
16: 0 + VIF0 DMA
17: 37587 + VIF1 DMA
18: 3809991 + GIF DMA
19: 0 + fromIPU DMA
20: 0 + toIPU DMA
21: 553 + SIF0 DMA
24: 0 + fromSPR DMA
25: 0 + toSPR DMA
33: 12529 + GS FINISH
41: 19101 + ide0, + PlayStation 2 Ethernet
42: 3066 usb-ohci

/proc/ioports

b4000040-b4000047 : ide0
b400005c-b400005c : ide0

/proc/meminfo

total: used: free: shared: buffers: cached:
Mem: 31612928 30957568 655360 26419200 671744 11784192
Swap: 189169664 17821696 171347968
MemTotal: 30872 kB
MemFree: 640 kB
MemShared: 25800 kB
Buffers: 656 kB
Cached: 11508 kB
SwapTotal: 184736 kB
SwapFree: 167332 kB

/proc/modules

ps2pad 11248 14 (autoclean)
joystick 9232 0 (autoclean) [ps2pad]
mousedev 3888 1 (autoclean)
smap 24480 1 (autoclean)
tst_dev 2848 2 (autoclean)
ps2sd 39152 0
sound 78960 0 [ps2sd]
soundcore 3552 7 [ps2sd sound]
ps2debuglog 2240 0 [ps2sd]
ps2rtc 1888 0