[Kernelloader-cvs] linux readme.txt,1.14,1.15
Run Linux on the Playstation 2
Brought to you by:
kloader
From: Mega M. <kl...@us...> - 2014-07-30 22:06:30
|
Update of /cvsroot/kernelloader/linux In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv26122 Modified Files: readme.txt Log Message: Update readme. Index: readme.txt =================================================================== RCS file: /cvsroot/kernelloader/linux/readme.txt,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** readme.txt 1 Jan 2013 23:07:16 -0000 1.14 --- readme.txt 30 Jul 2014 22:06:27 -0000 1.15 *************** *** 1,19 **** Purpose ####### ! This directory contains the GCC 4.3 ! toolchain and the Linux 2.6 kernel for the Sony Playstation 2. ! The files are still in development phase. ! Status - Unfinished ! ################### The 32-Bit kernel can start a full Debian 5.0 ! mipsel. Most stuff is working. CDVD is not ! working. ! The 64-Bit kernel is not usable because ! of 64/32-Bit TLB problems. The 32 bit kernel can execute ABI n32 ELF files, but some structures in syscalls are different. ! Not everything will work. With ABI o32 ELF files there is no problem. --- 1,16 ---- Purpose ####### ! This directory contains the GCC 4.9.0 ! toolchain and tools for building the Linux 2.6 kernel for the Sony Playstation 2. ! The files are pretty stable, but still in development phase. ! Status - System is usable ! ######################### The 32-Bit kernel can start a full Debian 5.0 ! mipsel and can also start Buildroot. Most stuff is working. The 32 bit kernel can execute ABI n32 ELF files, but some structures in syscalls are different. ! Most stuff is working, maybe something will not work. With ABI o32 ELF files there is no problem. *************** *** 32,39 **** linux/toolchain-ps2-root/ ! To enable it, use the following command ! . ./simple-toolchain/build/PS2.sh ! ! Note: There is a space between the 2 dots. The file PS2.sh was created by build-all.sh. --- 29,34 ---- linux/toolchain-ps2-root/ ! To enable it, use the following command in the shell (bash): ! source ./simple-toolchain/build/PS2-mips64r5900el-linux-gnu.sh The file PS2.sh was created by build-all.sh. *************** *** 41,50 **** The toolchain can build the Linux kernel and programs for PS2 Linux. The toolchain uses ! uClibc. Static linking is recommended. The toolchain requires a Linux to be installed on the host computer. A Debian like system is recommended (e.g. Kubuntu). - The files in ubuntu-toolchain are obsolete and - should not be used. The files in simple-toolchain are currently developed. --- 36,43 ---- The toolchain can build the Linux kernel and programs for PS2 Linux. The toolchain uses ! uClibc. The toolchain requires a Linux to be installed on the host computer. A Debian like system is recommended (e.g. Kubuntu). The files in simple-toolchain are currently developed. *************** *** 53,62 **** ######################### This is a Linux kernel for the PS2. To build the kernel, you need to have the toolchain installed and execute the following steps: ! cd linux-2.6.35.4-mipsel-ps2 cp ../kernelconfig-linux-2.6.35.4-mipsel-ps2.txt .config make oldconfig make vmlinux --- 46,62 ---- ######################### + The linux kernel is stored in a git repository, you can get it with the commands: + + git clone https://github.com/jur/linux.git + cd linux + git checkout ps2-master + This is a Linux kernel for the PS2. To build the kernel, you need to have the toolchain installed and execute the following steps: ! cd linux cp ../kernelconfig-linux-2.6.35.4-mipsel-ps2.txt .config + source ../simple-toolchain/build/PS2-mips64r5900el-linux-gnu.sh make oldconfig make vmlinux *************** *** 64,68 **** The resulting file vmlinux need to be stripped with the command: ! mipsel-linux-gnu-strip vmlinux Then it can be compressed: --- 64,69 ---- The resulting file vmlinux need to be stripped with the command: ! source ../simple-toolchain/build/PS2-mips64r5900el-linux-gnu.sh ! ${CROSS_COMPILE}strip vmlinux Then it can be compressed: *************** *** 78,82 **** This also supports the initrd. You need to compile it from CVS. ! To debug it you need to start kernelloader 2.7 with ps2link and stay connected for debugging, because the early kernel --- 79,96 ---- This also supports the initrd. You need to compile it from CVS. ! ! Buildroot ! ######### ! ! Buildroot is an environment that can build a Linux distribution. ! It is pretty easy to use. ! ! See buildroot/readme.txt for more details. ! ! Debugging Output via Network ! ############################ ! To get debug messages from the Linux kernel when the ! graphic is not usable or should not be used, you need ! to start kernelloader 2.7 with ps2link and stay connected for debugging, because the early kernel *************** *** 105,122 **** host:sharedmem.irx - Linux 2.6 Patch - ############### - Run the following command if you want - to generate a patch file which include - all changes which I made: - cvs -z3 rdiff -u -r start -r HEAD linux/linux-2.6.35.4-mipsel-ps2 >linux-2.6.35.4-mipsel-ps2.patch - - 64-bit kernel - ############# - - Don't use the 64 bit kernel. Use the 32 bit - kernel instead. The 32 bit kernel supports - executing 64 bit programs with MIPS ABI n32. - Console ####### --- 119,122 ---- |