Discuss the development of new homebrew software, tools and libraries.
Moderators: cheriff , TyRaNiD
CrazyT
Posts: 18 Joined: Sat Dec 23, 2006 6:47 pm
Post
by CrazyT » Tue Dec 30, 2008 1:03 am
Hi, I'm trying to develop a GUI for PSPLink 3.0 but by trying i found an error.
if i try the command "bpth" on any thread it crashes.
For example i tried this:
Code: Select all
host0:/> bpth "@SCE_VSH_GRAPHICS"
Exception - Bus error (data)
Thread ID - 0x04605275
Th Name - PspLink
Module ID - 0x03E9632D
Mod Name - PSPLINK
EPC - 0x8822278C
Cause - 0x1000001C
BadVAddr - 0x00000000
Status - 0x00088602
zr:0x00000000 at:0x88020000 v0:0x00000000 v1:0x00000000
a0:0x882EE858 a1:0x88049158 a2:0x00000088 a3:0x882EE7D0
t0:0x882EE858 t1:0x88092280 t2:0x00000000 t3:0x00000000
t4:0x00000000 t5:0x00000000 t6:0x00000000 t7:0x88092000
s0:0x0501A949 s1:0x00000001 s2:0x88224AA8 s3:0xDEADBEEF
s4:0xDEADBEEF s5:0xDEADBEEF s6:0xDEADBEEF s7:0xDEADBEEF
t8:0x00000000 t9:0x00000004 k0:0x00000000 k1:0x00000000
gp:0x88231140 sp:0x882EE7D0 fp:0x882EF8E0 ra:0x88222774
Thats the threadinfo that i get:
Code: Select all
host0:/> thctx "@SCE_VSH_GRAPHICS"
kstack 0x882F0D00 kstacksize 0x00000800
stack 0x09FEEE00 stacksize 0x00010000
context 0x00000000, vfpu 0x88092280
Context EPC 0x00000000, Real EPC 0x00000000
zr:0x00000000 at:0x00000000 v0:0x00000000 v1:0x00000000
a0:0x00000000 a1:0x00000000 a2:0x00000000 a3:0x00000000
t0:0x00000000 t1:0x00000000 t2:0x00000000 t3:0x00000000
t4:0x00000000 t5:0x00000000 t6:0x00000000 t7:0x00000000
s0:0x00000000 s1:0x00000000 s2:0x00000000 s3:0x00000000
s4:0x00000000 s5:0x00000000 s6:0x00000000 s7:0x00000000
t8:0x00000000 t9:0x00000000 k0:0x00000000 k1:0x00000000
gp:0x00000000 sp:0x00000000 fp:0x00000000 ra:0x00000000
Now my question is, if this is supposed to happen or not?
Anybody has experience with PSPLink?
Last edited by
CrazyT on Tue Dec 30, 2008 1:32 am, edited 1 time in total.
ne0h
Posts: 386 Joined: Thu Feb 21, 2008 2:15 am
Post
by ne0h » Tue Dec 30, 2008 1:26 am
link is down...
TyRaNiD
Posts: 907 Joined: Sun Jan 18, 2004 12:23 am
Post
by TyRaNiD » Wed Dec 31, 2008 3:00 am
Sony have probably changed the thread context on newer firmwares and psplink is no longer compatible, unless someone can be bothered to figure out the differences it probably will never be fixed now.
CrazyT
Posts: 18 Joined: Sat Dec 23, 2006 6:47 pm
Post
by CrazyT » Wed Dec 31, 2008 4:14 am
Looks like I compiled it for wrong FW-Version.
Modified Makefiles.psp as followed:
Code: Select all
all:
$(MAKE) -C libpsplink all PSP_FW_VERSION=500
$(MAKE) -C libpsplink_driver all PSP_FW_VERSION=500
$(MAKE) -C libusbhostfs all PSP_FW_VERSION=500
$(MAKE) -C libusbhostfs_driver all PSP_FW_VERSION=500
$(MAKE) -C psplink all PSP_FW_VERSION=500
$(MAKE) -C psplink_user all PSP_FW_VERSION=500
$(MAKE) -C usbhostfs all PSP_FW_VERSION=500
$(MAKE) -C usbgdb all PSP_FW_VERSION=500
$(MAKE) -C bootstrap all PSP_FW_VERSION=500
$(MAKE) -C bootstrap kxploit PSP_FW_VERSION=500
now seems to work:
Code: Select all
host0:/> thctx "@PspLink"
kstack 0x00000000 kstacksize 0x00000000
stack 0x882DF900 stacksize 0x00010000
context 0x8822FF00, vfpu 0x00000000
Context EPC 0x88035364, Real EPC 0x00000000
...
host0:/> bpth "@SCE_VSH_GRAPHICS"
host0:/> 0x08947EEC: 0x0A251FA2 '..%.' - j 0x08947E88
exresume
host0:/>
But thx, problem solved. :)