PSP LINK and Slim
PSP LINK and Slim
Hi! I have a problem - I've bought psp slim mainly for writing multiplayer games(I already have phat psp),but now it turned out that psplink does not work on slim.That's very sad ;/ I can't imagine copying eboots after every compilation. Could Tyranid or anyone else port it to 3.x kernels please?
a) It has worked on 3.X for a long time now, psplink doesn't, psplinkusb does. b) Sony semi broke it in 3.5X which i've fixed. c) works fine on slim although still sub-optimal on 3.71 due to me not changing the nids yet :)
Oh and worth pointing out don't download some warez version of psplink (I haven't released a binary version in a good long while, certainly before I split into psplinkusb). The toolchain script will not build a copy of psplinkusb for you.
Oh and worth pointing out don't download some warez version of psplink (I haven't released a binary version in a good long while, certainly before I split into psplinkusb). The toolchain script will not build a copy of psplinkusb for you.
I'm trying to build it,but when I type "make" inside psplinkusb folder I get:
Please help
Code: Select all
gambiting@gambiting-desktop:~/psplinknew/psplinkusb$ make
make -f Makefile.psp all
make[1]: Entering directory `/home/gambiting/psplinknew/psplinkusb'
make -C libpsplink all
make[2]: Entering directory `/home/gambiting/psplinknew/psplinkusb/libpsplink'
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0000 psplink.S -c -o psplink_0000.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0001 psplink.S -c -o psplink_0001.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0002 psplink.S -c -o psplink_0002.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0003 psplink.S -c -o psplink_0003.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0004 psplink.S -c -o psplink_0004.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0005 psplink.S -c -o psplink_0005.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0006 psplink.S -c -o psplink_0006.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0007 psplink.S -c -o psplink_0007.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0008 psplink.S -c -o psplink_0008.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0009 psplink.S -c -o psplink_0009.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0010 psplink.S -c -o psplink_0010.o
psp-ar q libpsplink.a psplink_0000.o psplink_0001.o psplink_0002.o psplink_0003.o psplink_0004.o psplink_0005.o psplink_0006.o psplink_0007.o psplink_0008.o psplink_0009.o psplink_0010.o
psp-ar: creating libpsplink.a
psp-ranlib libpsplink.a
make[2]: Leaving directory `/home/gambiting/psplinknew/psplinkusb/libpsplink'
make -C libpsplink_driver all
make[2]: Entering directory `/home/gambiting/psplinknew/psplinkusb/libpsplink_driver'
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0000 psplink_driver.S -c -o psplink_driver_0000.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0001 psplink_driver.S -c -o psplink_driver_0001.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0002 psplink_driver.S -c -o psplink_driver_0002.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0003 psplink_driver.S -c -o psplink_driver_0003.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0004 psplink_driver.S -c -o psplink_driver_0004.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0005 psplink_driver.S -c -o psplink_driver_0005.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0006 psplink_driver.S -c -o psplink_driver_0006.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0007 psplink_driver.S -c -o psplink_driver_0007.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0008 psplink_driver.S -c -o psplink_driver_0008.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0009 psplink_driver.S -c -o psplink_driver_0009.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0010 psplink_driver.S -c -o psplink_driver_0010.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0011 psplink_driver.S -c -o psplink_driver_0011.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0012 psplink_driver.S -c -o psplink_driver_0012.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0013 psplink_driver.S -c -o psplink_driver_0013.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0014 psplink_driver.S -c -o psplink_driver_0014.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0015 psplink_driver.S -c -o psplink_driver_0015.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0016 psplink_driver.S -c -o psplink_driver_0016.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0017 psplink_driver.S -c -o psplink_driver_0017.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0018 psplink_driver.S -c -o psplink_driver_0018.o
psp-ar q libpsplink_driver.a psplink_driver_0000.o psplink_driver_0001.o psplink_driver_0002.o psplink_driver_0003.o psplink_driver_0004.o psplink_driver_0005.o psplink_driver_0006.o psplink_driver_0007.o psplink_driver_0008.o psplink_driver_0009.o psplink_driver_0010.o psplink_driver_0011.o psplink_driver_0012.o psplink_driver_0013.o psplink_driver_0014.o psplink_driver_0015.o psplink_driver_0016.o psplink_driver_0017.o psplink_driver_0018.o
psp-ar: creating libpsplink_driver.a
psp-ranlib libpsplink_driver.a
make[2]: Leaving directory `/home/gambiting/psplinknew/psplinkusb/libpsplink_driver'
make -C libusbhostfs all
make[2]: Entering directory `/home/gambiting/psplinknew/psplinkusb/libusbhostfs'
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0000 USBHostFS.S -c -o USBHostFS_0000.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0001 USBHostFS.S -c -o USBHostFS_0001.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0002 USBHostFS.S -c -o USBHostFS_0002.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0003 USBHostFS.S -c -o USBHostFS_0003.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0004 USBHostFS.S -c -o USBHostFS_0004.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0005 USBHostFS.S -c -o USBHostFS_0005.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0006 USBHostFS.S -c -o USBHostFS_0006.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0007 USBHostFS.S -c -o USBHostFS_0007.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0008 USBHostFS.S -c -o USBHostFS_0008.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0009 USBHostFS.S -c -o USBHostFS_0009.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0010 USBHostFS.S -c -o USBHostFS_0010.o
psp-ar q libusbhostfs.a USBHostFS_0000.o USBHostFS_0001.o USBHostFS_0002.o USBHostFS_0003.o USBHostFS_0004.o USBHostFS_0005.o USBHostFS_0006.o USBHostFS_0007.o USBHostFS_0008.o USBHostFS_0009.o USBHostFS_0010.o
psp-ar: creating libusbhostfs.a
psp-ranlib libusbhostfs.a
make[2]: Leaving directory `/home/gambiting/psplinknew/psplinkusb/libusbhostfs'
make -C libusbhostfs_driver all
make[2]: Entering directory `/home/gambiting/psplinknew/psplinkusb/libusbhostfs_driver'
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0000 USBHostFS_driver.S -c -o USBHostFS_driver_0000.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0001 USBHostFS_driver.S -c -o USBHostFS_driver_0001.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0002 USBHostFS_driver.S -c -o USBHostFS_driver_0002.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0003 USBHostFS_driver.S -c -o USBHostFS_driver_0003.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0004 USBHostFS_driver.S -c -o USBHostFS_driver_0004.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0005 USBHostFS_driver.S -c -o USBHostFS_driver_0005.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0006 USBHostFS_driver.S -c -o USBHostFS_driver_0006.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0007 USBHostFS_driver.S -c -o USBHostFS_driver_0007.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0008 USBHostFS_driver.S -c -o USBHostFS_driver_0008.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0009 USBHostFS_driver.S -c -o USBHostFS_driver_0009.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0010 USBHostFS_driver.S -c -o USBHostFS_driver_0010.o
psp-ar q libusbhostfs_driver.a USBHostFS_driver_0000.o USBHostFS_driver_0001.o USBHostFS_driver_0002.o USBHostFS_driver_0003.o USBHostFS_driver_0004.o USBHostFS_driver_0005.o USBHostFS_driver_0006.o USBHostFS_driver_0007.o USBHostFS_driver_0008.o USBHostFS_driver_0009.o USBHostFS_driver_0010.o
psp-ar: creating libusbhostfs_driver.a
psp-ranlib libusbhostfs_driver.a
make[2]: Leaving directory `/home/gambiting/psplinknew/psplinkusb/libusbhostfs_driver'
make -C psplink all
make[2]: Entering directory `/home/gambiting/psplinknew/psplinkusb/psplink'
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150 -c -o main.o main.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150 -c -o shell.o shell.c
shell.c: In function ‘scrshot_cmd’:
shell.c:3134: warning: passing argument 5 of ‘sceDisplay_driver_5B5AEFAD’ makes pointer from integer without a cast
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150 -c -o config.o config.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150 -c -o bitmap.o bitmap.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150 -c -o tty.o tty.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150 -c -o decodeaddr.o decodeaddr.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150 -c -o memoryUID.o memoryUID.c
psp-gcc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -c -o kmode.o kmode.S
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150 -c -o exception.o exception.c
psp-gcc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -c -o exception_asm.o exception_asm.S
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150 -c -o psplinkcnf.o psplinkcnf.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150 -c -o util.o util.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150 -c -o debug.o debug.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150 -c -o libs.o libs.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150 -c -o apihook.o apihook.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150 -c -o thctx.o thctx.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150 -c -o stdio.o stdio.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150 -c -o usbshell.o usbshell.c
usbshell.c:17:24: error: pspsysclib.h: No such file or directory
usbshell.c: In function ‘shprintf’:
usbshell.c:159: warning: implicit declaration of function ‘prnt’
usbshell.c:159: error: ‘prnt_callback’ undeclared (first use in this function)
usbshell.c:159: error: (Each undeclared identifier is reported only once
usbshell.c:159: error: for each function it appears in.)
usbshell.c:159: error: expected ‘)’ before ‘cb’
make[2]: *** [usbshell.o] Error 1
make[2]: Leaving directory `/home/gambiting/psplinknew/psplinkusb/psplink'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/gambiting/psplinknew/psplinkusb'
make: *** [all] Error 2
No sorry,I was too fast,there is a problem....psplink loads,it says "connected to device" on my pc,and pspsh works normally,but I can't start any eboot! Even my game(shoot4fun) which works without problems on 3.x kernels won't load.There is just that error:
Code: Select all
host0:/psp/shoot4fun/> ./EBOOT.PBP
Failed to Load/Start module 'host0:/psp/shoot4fun/EBOOT.PBP' Error: 0x80020148
The same effectJ.F. wrote:You don't run EBOOTs in psplink - you run the elf file.
Code: Select all
host0:/psp/shoot4fun/> ./Shoot4Fun.elf
Failed to Load/Start module 'host0:/psp/shoot4fun/Shoot4Fun.elf' Error: 0x80020148
Code: Select all
PSP_HEAP_SIZE_KB(entersizehere);
User mode apps have only 64kb availiable,right?
So I enter:
and add
to the makefile,but when I run it it's still the same:
Am I doing something wrong??
psp-addr2line gives:
So I enter:
Code: Select all
PSP_HEAP_SIZE_KB(64);
Code: Select all
BUILD_PRX=1
Code: Select all
host0:/psp/shoot4fun/> ./Shoot4Fun.prx
Load/Start host0:/psp/shoot4un/Shoot4Fun.prx UID: 0x04251867 Name: shoot4fun
host0:/psp/shoot4fun/> libpng error: Out of Memory!
Exception - Bus error (data)
Thread ID - 0x04249373
Th Name - user_main
Module ID - 0x04251867
Mod Name - shoot4fun
EPC - 0x08809EE8
Cause - 0x1000001C
BadVAddr - 0x40A00436
Status - 0x60088613
zr:0x00000000 at:0x2008FF00 v0:0x00000000 v1:0x00000000
a0:0x00000000 a1:0x00000000 a2:0x88211A07 a3:0x88013A00
t0:0x000000C8 t1:0x000000C8 t2:0x000004D8 t3:0x88212600
t4:0x09FBF990 t5:0x00000E00 t6:0x0881F428 t7:0x20088600
s0:0x00000020 s1:0x09FBFE34 s2:0x00000001 s3:0x09FBFEE0
s4:0x00000020 s5:0x00000013 s6:0xDEADBEEF s7:0xDEADBEEF
t8:0x000002CF t9:0x88300000 k0:0x09FBFF00 k1:0x00000000
gp:0x0885EC90 sp:0x09FBF9F0 fp:0x09FBFEA0 ra:0x08809EE4
0x08809EE8: 0xAC400000 '..@.' - sw $zr, 0($v0)
psp-addr2line gives:
Code: Select all
gambiting@gambiting-desktop:~/psp/shoot4fun$ psp-addr2line -fe Shoot4Fun.prx 0x08809EE8
??
??:0
Last edited by gambiting on Mon Oct 01, 2007 5:38 am, edited 1 time in total.
-
- Posts: 328
- Joined: Sun Jun 03, 2007 10:05 pm