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 

How can I load an EBOOT as a module from flash?

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



Joined: 24 Jul 2007
Posts: 37

PostPosted: Sat Mar 29, 2008 10:07 am    Post subject: How can I load an EBOOT as a module from flash? Reply with quote

I'm trying to load an EBOOT from flash, so my only method of doing so (in the 3.XX kernel) is to load it as a module, except whenever I do so I get 0x80020148 error, because as far as I'm aware you can only load a prx as a module, and not an EBOOT. So, I guess my question is, can you load an EBOOT as a module any other way, or is there any way of stripping down the EBOOT to some form of readable module?

Also, whenever I try and compile using anything from the modulemgr library, I get this error:
Error, could not fixup imports, stubs out of order.
Ensure the SDK libraries are linked in last to correct this error
make: *** [project4.elf] Error 1

How do I fix it?

Thanks.
-Aura
_________________
Live. Love. Be. Believe.

Free downgrading/unbricking service list!
Back to top
View user's profile Send private message
PSPApple



Joined: 28 Mar 2008
Posts: 6

PostPosted: Sat Mar 29, 2008 5:05 pm    Post subject: Reply with quote

look at this api,but I am not sure

int sceKernelLoadExec ( const char * file,
struct SceKernelLoadExecParam * param
)
_________________
using 3.71m33-4

psp1000
Back to top
View user's profile Send private message
Aura



Joined: 24 Jul 2007
Posts: 37

PostPosted: Sat Mar 29, 2008 8:34 pm    Post subject: Reply with quote

That function doesn't work in 3.XX kernel, it was replaced by sceKernelLoadExecMs2, which cannot boot anything from flash. Plus its loadexec'ing, and I need it to load as a module. But thanks for the help all the same ;)

-Aura
_________________
Live. Love. Be. Believe.

Free downgrading/unbricking service list!
Back to top
View user's profile Send private message
Aura



Joined: 24 Jul 2007
Posts: 37

PostPosted: Wed Apr 02, 2008 8:03 am    Post subject: Reply with quote

Bump.

Sorry, but this one really does have be baffled (both actually).

-Aura
_________________
Live. Love. Be. Believe.

Free downgrading/unbricking service list!
Back to top
View user's profile Send private message
Archaemic



Joined: 18 Mar 2007
Posts: 38

PostPosted: Wed Apr 02, 2008 8:34 am    Post subject: Reply with quote

Read the DATA.PSP into a buffer and then use sceKernelLoadModuleBuffer.

I'd imagine. Haven't actually tried it.
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