| View previous topic :: View next topic |
| Author |
Message |
jojojoris
Joined: 30 Mar 2008 Posts: 261
|
Posted: Thu Apr 22, 2010 6:47 am Post subject: Clean ram and load firmware from ms |
|
|
Hi,
It seems i can't find any clear documentation about this:
Why can't we just run a small ASM application from a exploit which clears all the ram (user and kernel space) and then imitates the behaviour of the IPL and load a firmware from the MS like timemachine?
I tought the psp uses Cooperative multitasking so when it is running a asm application which doesn't call any PSPSDK functions it would just keep running the ASM and the firmware doesn't interfere.
Do i misunderstand some facts because the consept seems so easy but it has not been made yet. _________________
| Code: | int main(){
SetupCallbacks();
makeNiceGame();
sceKernelExitGame();
} |
|
|
| Back to top |
|
 |
coyotebean
Joined: 05 Dec 2009 Posts: 26
|
Posted: Thu Apr 22, 2010 2:29 pm Post subject: |
|
|
You cannot do anything with a user mode exploit. You have no access to kernel space, kernel functions and hardware I/O _________________ GBASP x1, GBM x2, NDSL x2, PSP 100X x3, PSP 200X x5, PSP 300X x3, PSP Go x2, Wii x1 |
|
| Back to top |
|
 |
jojojoris
Joined: 30 Mar 2008 Posts: 261
|
Posted: Thu Apr 22, 2010 5:58 pm Post subject: |
|
|
Yes i know.
I'm used to be a programmer for psp apps.
But why shoeldn't you have that access? How does that access meganism work? What is the difference between usermode ASM and kernelmode ASM? You are just running plain ASM without the inteference of the firmware. So you should be able to do everything you want. _________________
| Code: | int main(){
SetupCallbacks();
makeNiceGame();
sceKernelExitGame();
} |
|
|
| Back to top |
|
 |
m0skit0
Joined: 02 Jun 2009 Posts: 226
|
Posted: Thu Apr 22, 2010 7:17 pm Post subject: |
|
|
Did you read a MIPS reference before starting talk? I guess you don't. I strongly suggest you doing so.
The protection is hardware based, there's nothing you can do by software to fool it. The CPU distinguishes between 2 big types of memory: user (low 2 GB) and kernel (high 2 GB). If for example a user mode code tries to load a word from kernel space, the CPU will just raise an exception about invalid address. Also RAM interface in PSP is programmable to allow/deny read/write permissions to RAM by pages. _________________
| The Incredible Bill Gates wrote: | | The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers. |
|
|
| Back to top |
|
 |
jojojoris
Joined: 30 Mar 2008 Posts: 261
|
Posted: Fri Apr 23, 2010 8:03 am Post subject: |
|
|
So if i get it right... this could only be done from kernel space. _________________
| Code: | int main(){
SetupCallbacks();
makeNiceGame();
sceKernelExitGame();
} |
|
|
| Back to top |
|
 |
arnie
Joined: 11 Apr 2009 Posts: 16
|
Posted: Mon Apr 26, 2010 8:53 am Post subject: |
|
|
Yes. Also, some firmware modules loaded can't be unloaded, and the only firmware you can load it the one you have on flash. If you want to load from ms, that's another story. MS Fat Flash driver. D:
-Arnie |
|
| Back to top |
|
 |
Jim

Joined: 02 Jul 2005 Posts: 487 Location: Sydney
|
Posted: Mon Apr 26, 2010 10:47 pm Post subject: |
|
|
You'd have to make sure you'd disabled all hardware interrupts too.
Jim _________________ http://www.dbfinteractive.com |
|
| Back to top |
|
 |
|