Home / Linux 2.6 / Linux 2.6 Test Files Version 6
Name Modified Size InfoDownloads / Week
Parent folder
readme_linux_2.6_test_v6.txt 2011-07-24 3.1 kB
vmlinux2.6_v6.gz 2011-07-24 2.1 MB
Totals: 2 Items   2.1 MB 0
Example files for testing Linux 2.6 on PS2
##########################################

vmlinux2.6_v6.gz is a Linux kernel.

This is a proove of concept.

Change history:
Version 6
 - Added workarounds for CPU bugs
 - Flush data cache when loading executable code (Fix random errors).
Version 5
 - Fixed alignment of data in kernel (MIPS_CPU_SCACHE).
 - Use timer in CPU. Support for high resolution timers.
 - Use internal CPU timer as system time.
 - Many workarounds for R5900 CPU bugs (short loops, missing sync.l and sync.p).
 - Disable use of 64 bit register in kernel (for memcpy and memset).
 - Fixed handling of IRQ 7 (timer interrupt).
 - Added support for writing to RTC.
 - Added support for internal hard disc.
 - Added support for PS2 game pad.
 - Added code for CDVD (not working, not enabled).
Version 4
 - Support for time offsets smaller than 10ms.
 - Fixed handling of floating point registers in exception handler.
 - Fixed intruction cache invalidation.
 - Added support for reading of RTC.
 - Fixed alignment of GS packets (graphic is now working).
 - Fixed debug output on SBIOS console (ps2client).
 - Added network drivers for fat PS2 and slim PSTwo.
 - Added infrastructure for SIF locking and CDVD calls.
Version 3
 - Add USB support for slim PSTwo
Version 2
 - Add USB support for fat PS2

Kernelloader 2.4 is required. I have tested this
with the PS2 models:
- SCPH-50004/VGA
This is working with the default configuration
of kernelloader.
This may run unstable. It has support for
- graphic
- network (slim and fat PS2)
- USB.
- USB storage devices and USB keyboards are working.
- PS2 game pad
- internal hard disc in fat PS2
- RTC
- NFS root
- EXT3

Advanced Linux developers should be able
to use it.
You need files from a Linux distribution for mipsel.
Only ABI 32 will work. ABI n32 or 64 can fail because
of unsupported 64 bit multiplication instructions and
there is no support in the 32 bit kernel.

You can run it with the initrd from:
http://http.us.debian.org/debian/dists/lenny/main/installer-mipsel/current/images/malta/netboot/initrd.gz

You can use it with Debian 5.0:
http://sourceforge.net/projects/kernelloader/files/Debian%205.0/debian-lenny-mipsel-v1.tgz

You need to extract it to the root of a
USB memory stick (EXT3), hard disc (EXT3) or NFS share.

Example for NFS root:
Kernel parameter:
root=/dev/nfs nfsroot=192.168.0.1:/ps2root,tcp ip=dhcp
File /etc/exports on NFS server:
/ps2root 192.168.0.0/255.255.255.0(rw,sync,no_root_squash)

Linux applications may run unstable.
- NFS root leads to a memory leak.
- If problems occur, you can stop it with:
  - CTRL + c
  - ALT + SysRQ + r
    ALT + SysRQ + e
    ALT + SysRQ + i
    ALT + SysRQ + s
    ALT + SysRQ + u
    ALT + SysRQ + b
  - SysRQ is the print screen key.
- Random errors seems to be fixed.

- initrd is faster than hard disc.
- hard disc is faster than NFS root.
- NFS root is faster than USB storage device.

It is recommended to run it from internal hard disc and enable swap disc.

The files are build on a Ubuntu 10.10 from CVS
with tag LINUX_2_6_V6.
Source: readme_linux_2.6_test_v6.txt, updated 2011-07-24