| View previous topic :: View next topic |
| Author |
Message |
Aura

Joined: 24 Jul 2007 Posts: 37
|
Posted: Sat Mar 29, 2008 10:07 am Post subject: How can I load an EBOOT as a module from flash? |
|
|
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 |
|
 |
PSPApple
Joined: 28 Mar 2008 Posts: 6
|
Posted: Sat Mar 29, 2008 5:05 pm Post subject: |
|
|
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 |
|
 |
Aura

Joined: 24 Jul 2007 Posts: 37
|
Posted: Sat Mar 29, 2008 8:34 pm Post subject: |
|
|
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 |
|
 |
Aura

Joined: 24 Jul 2007 Posts: 37
|
Posted: Wed Apr 02, 2008 8:03 am Post subject: |
|
|
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 |
|
 |
Archaemic
Joined: 18 Mar 2007 Posts: 38
|
Posted: Wed Apr 02, 2008 8:34 am Post subject: |
|
|
Read the DATA.PSP into a buffer and then use sceKernelLoadModuleBuffer.
I'd imagine. Haven't actually tried it. |
|
| Back to top |
|
 |
|