| View previous topic :: View next topic |
| Author |
Message |
gambiting
Joined: 17 Aug 2006 Posts: 154
|
Posted: Sat Sep 29, 2007 7:05 am Post subject: 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? |
|
| Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Sat Sep 29, 2007 8:12 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
gambiting
Joined: 17 Aug 2006 Posts: 154
|
Posted: Sat Sep 29, 2007 5:14 pm Post subject: |
|
|
| Ok,thanks for the reply.I have psplinkusb sources from svn,but there are only psplink,and psplinu_user folders - which one I have to compile to get a working version?? |
|
| Back to top |
|
 |
gambiting
Joined: 17 Aug 2006 Posts: 154
|
Posted: Sat Sep 29, 2007 6:10 pm Post subject: |
|
|
| I mean - I have PSP Link v.3.0 and it loads on psp,usbhostfs on pc shows "Device connected" but there is nothing when I start pspsh,and that's most important thing here.Please help? |
|
| Back to top |
|
 |
weltall
Joined: 20 Feb 2004 Posts: 310
|
Posted: Sat Sep 29, 2007 8:58 pm Post subject: |
|
|
| when built you will find a releaseoe folder: that's what you need, even if you want to use it as a plugin you will use prx from that folder |
|
| Back to top |
|
 |
gambiting
Joined: 17 Aug 2006 Posts: 154
|
Posted: Sun Sep 30, 2007 3:14 am Post subject: |
|
|
I'm trying to build it,but when I type "make" inside psplinkusb folder I get:
| Code: | 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
| Please help |
|
| Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Sun Sep 30, 2007 3:52 am Post subject: |
|
|
| update your pspsdk to the latest version. |
|
| Back to top |
|
 |
gambiting
Joined: 17 Aug 2006 Posts: 154
|
Posted: Sun Sep 30, 2007 7:28 pm Post subject: |
|
|
| Ok it works now :D:D:D Thanks very much for all help :D And a sidenote: you need to disable SlimUsbCharge.prx plugin,or it won't work. |
|
| Back to top |
|
 |
gambiting
Joined: 17 Aug 2006 Posts: 154
|
Posted: Sun Sep 30, 2007 7:57 pm Post subject: |
|
|
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: | host0:/psp/shoot4fun/> ./EBOOT.PBP
Failed to Load/Start module 'host0:/psp/shoot4fun/EBOOT.PBP' Error: 0x80020148 |
|
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Sun Sep 30, 2007 8:39 pm Post subject: |
|
|
| You don't run EBOOTs in psplink - you run the elf file. |
|
| Back to top |
|
 |
gambiting
Joined: 17 Aug 2006 Posts: 154
|
Posted: Sun Sep 30, 2007 8:49 pm Post subject: |
|
|
| J.F. wrote: | | You don't run EBOOTs in psplink - you run the elf file. | The same effect
| Code: | host0:/psp/shoot4fun/> ./Shoot4Fun.elf
Failed to Load/Start module 'host0:/psp/shoot4fun/Shoot4Fun.elf' Error: 0x80020148 | [/quote] |
|
| Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Sun Sep 30, 2007 10:02 pm Post subject: |
|
|
| You dont even run the elf file :) The smart money these days is making prxes instead of elfs anyway. The CFWs have some hackery to get ELFs running from the VSH but it doesn't allow you to easily do it while the system is running. |
|
| Back to top |
|
 |
gambiting
Joined: 17 Aug 2006 Posts: 154
|
Posted: Sun Sep 30, 2007 10:19 pm Post subject: |
|
|
| So what am I supposed to do? I've made a prx,by adding BUILD_PRX=1 to makefile,but when I try to run it it ends with "out of memory" error. |
|
| Back to top |
|
 |
Viper8896
Joined: 26 Jan 2006 Posts: 110
|
Posted: Sun Sep 30, 2007 10:24 pm Post subject: |
|
|
| Code: | | PSP_HEAP_SIZE_KB(entersizehere); |
|
|
| Back to top |
|
 |
gambiting
Joined: 17 Aug 2006 Posts: 154
|
Posted: Sun Sep 30, 2007 11:00 pm Post subject: |
|
|
User mode apps have only 64kb availiable,right?
So I enter:
| Code: | | PSP_HEAP_SIZE_KB(64); |
and add
to the makefile,but when I run it it's still the same:
| Code: | 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)
| Am I doing something wrong??
psp-addr2line gives:
| Code: | 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 |
|
| Back to top |
|
 |
weltall
Joined: 20 Feb 2004 Posts: 310
|
Posted: Mon Oct 01, 2007 12:15 am Post subject: |
|
|
| no they can have more, 64kb is too little with libpng don't you think so? put at least 20mb |
|
| Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Mon Oct 01, 2007 1:23 am Post subject: |
|
|
| PRX files default to 64KB as a convention but they don't have to be. Just increase the size, I _might_ get around to implementing a method of getting the automatic full allocation even in prxes at some point, if I can be bothered :P |
|
| Back to top |
|
 |
KickinAezz
Joined: 03 Jun 2007 Posts: 328
|
Posted: Tue Oct 02, 2007 9:22 am Post subject: |
|
|
| TyRaNiD wrote: | | PRX files default to 64KB as a convention but they don't have to be. Just increase the size, I _might_ get around to implementing a method of getting the automatic full allocation even in prxes at some point, if I can be bothered :P | Please be :) |
|
| Back to top |
|
 |
bulb
Joined: 19 Jan 2006 Posts: 50
|
Posted: Tue Oct 02, 2007 3:21 pm Post subject: |
|
|
| Check SVN before you post. :) It's obvious he was bothered enough... |
|
| Back to top |
|
 |
|