forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

compiling PS2SDK for linux

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
mkandula



Joined: 09 May 2008
Posts: 8

PostPosted: Fri May 09, 2008 11:14 pm    Post subject: compiling PS2SDK for linux Reply with quote

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
Back to top
View user's profile Send private message
Lukasz



Joined: 19 Jan 2004
Posts: 248
Location: Denmark

PostPosted: Fri May 09, 2008 11:31 pm    Post subject: Reply with quote

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-programming/cygwin-tutorial/
_________________
Lukasz.dk


Last edited by Lukasz on Sat May 10, 2008 1:33 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
mkandula



Joined: 09 May 2008
Posts: 8

PostPosted: Sat May 10, 2008 12:34 am    Post subject: Reply with quote

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 !
Back to top
View user's profile Send private message
Lukasz



Joined: 19 Jan 2004
Posts: 248
Location: Denmark

PostPosted: Sat May 10, 2008 1:51 am    Post subject: Reply with quote

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/
_________________
Lukasz.dk
Back to top
View user's profile Send private message Visit poster's website
mkandula



Joined: 09 May 2008
Posts: 8

PostPosted: Sat May 10, 2008 3:21 am    Post subject: Reply with quote

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...!!
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sat May 10, 2008 5:17 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message AIM Address
mkandula



Joined: 09 May 2008
Posts: 8

PostPosted: Sat May 10, 2008 4:03 pm    Post subject: Reply with quote

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) ?


Last edited by mkandula on Sat May 10, 2008 4:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
Lukasz



Joined: 19 Jan 2004
Posts: 248
Location: Denmark

PostPosted: Sat May 10, 2008 4:12 pm    Post subject: Reply with quote

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 :-)
_________________
Lukasz.dk
Back to top
View user's profile Send private message Visit poster's website
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sat May 10, 2008 4:13 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message AIM Address
mkandula



Joined: 09 May 2008
Posts: 8

PostPosted: Thu May 15, 2008 4:45 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
mkandula



Joined: 09 May 2008
Posts: 8

PostPosted: Thu May 15, 2008 5:29 pm    Post subject: Reply with quote

ok..got it...had to move ps2eth into the ps2dev directory and also install ps2-packer...
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu May 15, 2008 5:53 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group