| View previous topic :: View next topic |
| Author |
Message |
arnie
Joined: 11 Apr 2009 Posts: 16
|
Posted: Sat Apr 11, 2009 6:40 pm Post subject: Flash2 Write Access |
|
|
I have been trying to write to flash2: but I have not succeeded.
I am sure the write file function works because it writes to the memory stick properly.
Module is in USER mode loading a KERNEL mode module for the flashing and reassigning of flash2.
The IO functions for write file are also wrapped in Setk1 and user level 8.
I can read from flash2 but not write.
Please forgive me for this kind of post, I am in quite a hurry.
Please help. :(
-Arnie
P.S. I am in no way trying to hack PSN, it's for another thing. :) |
|
| Back to top |
|
 |
Coldbird

Joined: 08 Feb 2007 Posts: 155
|
Posted: Mon Apr 13, 2009 10:14 pm Post subject: |
|
|
I don't even know if that's possible but it sounds kinda weird to me loading a Kernel Module from inside a User Module.
Are you using the kubridge to do so? _________________ Been gone for some time. Now I'm back. Someone mind getting me up-2-date? |
|
| Back to top |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Tue Apr 14, 2009 4:18 am Post subject: |
|
|
Any kernel/user module can load any other kernel/user module. Except for some special cases with some Sony modules which can be loaded only from kernel mode, or from user mode using a syscall to a wrapper such as kuKernelLoadModule. Generally any homebrew module you write can be loaded from anywhere.
Try making your kernel function export syscalls such as kuSceIoOpen which call setk1 and setuserlevel 8 and sceIoOpen
Then call the syscalls kuSceIoOpen from your user module instead of calling sceIoOpen. |
|
| Back to top |
|
 |
arnie
Joined: 11 Apr 2009 Posts: 16
|
Posted: Tue Apr 14, 2009 11:53 pm Post subject: |
|
|
Don't worry, I just used iop.prx.
Thanks Torch.
-arnie |
|
| Back to top |
|
 |
|