Page 1 of 1
compiling PS2SDK for linux
Posted: Fri May 09, 2008 11:14 pm
by mkandula
Hi,
I am getting the following error while compiling the PS2SDK. Can someone let me know if I need to have some tools in addition ?
Where is this iop-as ?
make[2]: Entering directory `/usr/local/ps2sdk/iop/kernel'
iop-as -mcpu=r3000 -EL -G0 src/cdvdman.s -o obj/cdvdman.o
make[2]: iop-as: Command not found
make[2]: *** [obj/cdvdman.o] Error 127
make[2]: Leaving directory `/usr/local/ps2sdk/iop/kernel'
make[1]: *** [all-kernel] Error 2
make[1]: Leaving directory `/usr/local/ps2sdk/iop'
make: *** [all-iop] Error 2
Posted: Fri May 09, 2008 11:31 pm
by Lukasz
I assume you havn't built the PS2 toolchains (iop-as is part of them), you can follow the "Building the toolchains" part of my tutorial. Reading the rest will most likely also be helpful :)
http://lukasz.dk/playstation-2-programm ... -tutorial/
Posted: Sat May 10, 2008 12:34 am
by mkandula
cool...got everything to compile... thanks lukasz.
any tutorial pages for launching a sample elf file on PS2 ?
I am keeping my fingers crossed that my un-modded slim PS2 (from US) will work for this !
Posted: Sat May 10, 2008 1:51 am
by Lukasz
As far as I know there is no way to launch an ELF on a slim PS2 out-of-the-box without investing in either in some hardware or software which makes it possible.
I recommend a Memory Plus 64 MB card, which can boot ELF's of the memory card or an USB pendrive. This is in my opinion by far the easist way to get started with PS2DEV.
http://lukasz.dk/2008/04/22/datel-memory-plus-64-mb/
Posted: Sat May 10, 2008 3:21 am
by mkandula
So with my existing set up, what hardware do I need ? Instead of getting a 64 MB card, I can rather go get the old PS2, right ?
Will the standard PS2 (bulky one) enough ? Or does it need a hard disk + mod chip etc ?
Or can you suggest what modifications (hard + soft) i need for my slim ps2 ?
I am in India...my options are limited...hence I need to know whatever thats possible...!!
Posted: Sat May 10, 2008 5:17 am
by J.F.
The "standard" for the older PS2 is the Independence Day Exploit. You'll find threads on it here along with exploit made easy package on the ps2 loaders page:
http://ps2dev.org/ps2/Loaders
In essense, what the exploit does is patch a file on the memory card so that when you insert a particular PSX disc in the PS2, it runs a program off the memory card. I have mine set for running uLaunchELF. It needs no extra hardware - just a PSX disc and a memory card with the proper files on it.
Posted: Sat May 10, 2008 4:03 pm
by mkandula
hmm...I am sorry if I am asking this again....I kinda confused what fits where :)
"PlayStation2 eXploit Made Easy uses M R Brown's exploit to load PS2Menu which can then also be used to load PS2Link "
using PS2Link, I transfer the elf to the memory card ? And thus my elf is limited by the size of memory card I use..
is that right ?
does this allow an external hard disk to be used along ? If so, Probably, the elf can run from the memory card and can access external hard disk using USB interface (theoretically speaking) ?
Posted: Sat May 10, 2008 4:12 pm
by Lukasz
You run PS2Link as the ELF of the memory card. PS2Link acts as a server over the network, you use a client on your PC to transfer ELF's into PS2 memory and execute them using PS2Link. You can reset PS2Link at any time (if you don't reset IOP), which means that you do not need to restart your PS2 or transfer a new ELF to the memory card every time you make a change. You just upload it over the network.
Just remember that in order to make the exploit work, you need some way of transfering data to your PS2 memory card, which will require some 3rd party tool besides the memory card, which together with the memory card will probably be more expensive than the Memory Plus and have less memory :-)
Posted: Sat May 10, 2008 4:13 pm
by J.F.
Read through some of the threads on it first, then ask questions. It'll make more sense once you have more info. As I said, I have it run uLaunchELF, which then allows me to run other PS2 homebrew from the harddrive, a USB memstick, a CD/DVD, or across the net. You can think of ULE as a simple file manager. It allows you to copy/run/delete/etc files from different storage media on the PS2. It's very handy to have ULE as the target of the exploit.
Posted: Thu May 15, 2008 4:45 pm
by mkandula
while compiling PS2link, i am getting the following error
ee-gcc: ps2smap_irx.o: No such file or directory
make[1]: *** [ps2link.elf] Error 1
make[1]: Leaving directory `/usr/local/ps2link/ee'
make: *** [ee] Error 2
I have ps2sdk, ps2toolchain, ps2eth all compiled nicely. Could you let me know what I am missing.
Posted: Thu May 15, 2008 5:29 pm
by mkandula
ok..got it...had to move ps2eth into the ps2dev directory and also install ps2-packer...
Posted: Thu May 15, 2008 5:53 pm
by J.F.
mkandula wrote:ok..got it...had to move ps2eth into the ps2dev directory and also install ps2-packer...
Yeah, the ps2 stuff isn't nearly as nice to install as the psp stuff. It's mostly figure it out through trial and error. You have to figure out which libs depend on what to get the correct compile order, and some don't install either forcing you to install them by hand.