Linux Bootloader

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
Mega Man
Posts: 260
Joined: Sat Jun 18, 2005 3:14 am
Contact:

Linux Bootloader

Post by Mega Man »

I developed a small bootloader for linux. You can boot linux until the init process is started. The graphic driver is working, but there is no communication possible with the iop. So everything based on iop is not working (network, hard disc). I used TGE from cvs, which will reject all calls.

You can download it at:
http://people.freenet.de/ps2dev/kernelloader.tgz

You can only boot patched kernels, because there are some strange page fault exceptions generated. Which can be ignored, I don't know where the problem can be.
Sometimes there are also alignment exceptions produced (when I use -O2 for gcc).
There is also strange behaviour when I try to load the initrd. The main memory seems to be overwritten.
I think the dma or the iop is responsible for that. Did somebody know how I can deactivate iop for testing purpose. Did somebody know how Sony RTE handles the iop. Is the original iop operating system used or is it replaced?
Mega Man
Posts: 260
Joined: Sat Jun 18, 2005 3:14 am
Contact:

Post by Mega Man »

You can get linux kernel 2.4.17 for ps2 here (headers + source):
http://www.sony.net/Products/Linux/Down ... gator.html

The linux toolchain (x86) for cross compiling is here:
https://playstation2-linux.com/files/ps ... oss.tar.gz
https://playstation2-linux.com/files/ps ... oss.tar.gz
venox
Posts: 1
Joined: Fri Jan 06, 2006 12:55 pm

Post by venox »

Great work!!
But I can't compile it right now...
Please, keep up this great work! Maybe someday we can create Linux Live CDs for Playstation 2 or stop using the RTE! ;)
Post Reply