I dont see any log file into /mtd_ram or in any other place.geo650 wrote:Oops, I was thinking there is only SDL problem. Those patched files were the ones statically linked with SDL library.nostromo1983 wrote:Hi geo650, so i've tried running your package with the pached .so files.
I copied the package into /mtd_contents/mods/PVRplus/
...
Seems like the module is not injected into exeDSP?
...
Well, please check /mtd_ram partition for any files and quote here. For example:
P.S. Do it after calling PVR+.Code: Select all
ls -la /mtd_ram cat /mtd_ram/PVRplus_debug.log # if exist
Actually i dont know how to be certain that injectso has injected the lib into the process, because i dont see the module listed into /proc/45/maps nor i see any readable result into injectso output except:
Code: Select all
# nice -n 19 ./injectso $(pidof exeDSP) /mtd_contents/mods/PVRplus/loader.so Game_Main /mtd_contents/mods/PVRplus/
Module injector V1.2 for ARM based CPUs.
(copyleft) SmartSmurf 2010 (smartsmurf@shared-files.de)
Info: Import dlopen set at 0x004aa27c
Info: Import dlsym set at 0x004a9898
Info: Import dlclose set at 0x004a9370
Info: current register set:
R0 =0xFFFFFFFC R1 =0x00000000 R2 =0x00000001 R3 =0x00000000
R4 =0x00000001 R5 =0x02542DC0 R6 =0x01FF2E48 R7 =0x000000F0
R8 =0x00000000 R9 =0x00000000 R10=0xBED94A78 R11=0x00000000
R12=0x00000001 SP =0xBED94A68 LR =0x4005DA44 PC =0x4005B008
CPSR=0x80000010
Info: new SP for inject code 0xBED94668
Done.
# ls -la /mtd_ram/*
ls: /mtd_ram/*: No such file or directory
loader.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), stripped
osd_ttf.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), stripped
pvrplus.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), stripped