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 

[Solved] PSPLINK execute Elf error on Linux

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



Joined: 20 Apr 2008
Posts: 8

PostPosted: Mon Apr 21, 2008 5:07 pm    Post subject: [Solved] PSPLINK execute Elf error on Linux Reply with quote

Hi all,

I am running Ubuntu 7.10 and have checked out and built both psptoolchain and psplibraries from the subversion repo.

Everything is working fine with one exception, whenever I try to execute (not debug, just execute) an elf file on my pc or an EBOOT on my psp itself I get the following error:

Code:
Failed to Load/Start module 'FOO' Error: 0x80020148


where FOO is the path to the eboot or elf file I'm trying to execute.

I was following the 'Example of Use' in the psplink manual when I came across this problem. Interestingly, after configuring the pspsdk gu/sprite sample to compile as a PRX psplink executes the prx without an issue, but still bombs on the elf.

My psp is a phat and is running 3.90 M33-3 if that is pertinent information.

Any help in this matter would be great and if any further information is needed I'll be happy to provide it.

Thank you!


Last edited by orphean on Tue Apr 22, 2008 7:52 am; edited 1 time in total
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Mon Apr 21, 2008 5:40 pm    Post subject: Re: PSPLINK execute Elf error on Linux Reply with quote

orphean wrote:
Hi all,

I am running Ubuntu 7.10 and have checked out and built both psptoolchain and psplibraries from the subversion repo.

Everything is working fine with one exception, whenever I try to execute (not debug, just execute) an elf file on my pc or an EBOOT on my psp itself I get the following error:

Code:
Failed to Load/Start module 'FOO' Error: 0x80020148


where FOO is the path to the eboot or elf file I'm trying to execute.

I was following the 'Example of Use' in the psplink manual when I came across this problem. Interestingly, after configuring the pspsdk gu/sprite sample to compile as a PRX psplink executes the prx without an issue, but still bombs on the elf.

My psp is a phat and is running 3.90 M33-3 if that is pertinent information.

Any help in this matter would be great and if any further information is needed I'll be happy to provide it.

Thank you!


You are running the game in the wrong kernel put it in GAME150, if you havent installed 1.50 kernel, i suggest you install that..

Although there are a lot of new things that the slim can do but the fat cant. Why not just compile for slim and use psplinkusb.

Wally
Back to top
View user's profile Send private message AIM Address
orphean



Joined: 20 Apr 2008
Posts: 8

PostPosted: Mon Apr 21, 2008 6:36 pm    Post subject: Reply with quote

This is a problem I am having while running psplink Wally. I'm using the psplinkusb provided by psptoolchain.

It's not a matter of me copying the file to the incorrect place. This error happens when I try to execute an elf inside pspsh (./sprite.elf for example)

I'm going through the 'Example of Use' in the psplink manual and cannot do it because of this error when I try to execute the elf file :)
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Tue Apr 22, 2008 2:54 am    Post subject: Reply with quote

If you are using the OE version of psplinkusb then you can only run prx files which tbh is the best option for 3.9X anyway even though the custom firmwares have some amount of support for plain elf.

Add BUILD_PRX=1 to your makefile.
Back to top
View user's profile Send private message
orphean



Joined: 20 Apr 2008
Posts: 8

PostPosted: Tue Apr 22, 2008 7:52 am    Post subject: Reply with quote

Good to know Tyranid. I'll just build prx's for psplink :)

Thanks for the response.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP 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