Search found 893 matches

by TyRaNiD
Sat Oct 18, 2008 1:20 pm
Forum: PSP Development
Topic: PSPLink with Stackless Python
Replies: 4
Views: 1681

Sigh, really it isn't psplink crashing. I would assume python is just fucking with the wifi. You really shouldn't use the old psplink wifi stuff anyway, it was always a hack job to allow people to use _something_ if they were too cheap to build a serial cable.
by TyRaNiD
Sat Oct 18, 2008 4:56 am
Forum: PSP Development
Topic: fixup exports error...
Replies: 18
Views: 4978

J.F. trust me on this, there is _always_ a way of getting it to work. I just guess you didn't understand the ramifications of how the linker does its job. Of course it is a limitation on the import system (I take responsibility) and its mechanism to handle stripped down imports, but it is better to ...
by TyRaNiD
Wed Oct 15, 2008 2:33 pm
Forum: PSP Development
Topic: fixup exports error...
Replies: 18
Views: 4978

Well it shouldn't be possible for that error not to go away as you can always ensure that the SDK libs are linked last :)
by TyRaNiD
Mon Oct 13, 2008 11:27 am
Forum: PSP Development
Topic: Boehm Garbage Collector any success stories of porting?
Replies: 7
Views: 2510

Well then just implement your own malloc wrapper, the way malloc is defined means you can just replace it with what ever you want, it is only an issue if the library uses its own internal malloc which you can't override.
by TyRaNiD
Sun Oct 12, 2008 10:25 pm
Forum: PSP Development
Topic: Boehm Garbage Collector any success stories of porting?
Replies: 7
Views: 2510

Unfortunately if I recall sceAllocPartitionMemory allocates fixed sized chunks of memory, so if you has alot of small allocations it would quickly nuke all of memory, which is why you need some sort of heap management. Malloc is standardised, if you don't like it you don't have to use it, or any of ...
by TyRaNiD
Sat Oct 11, 2008 6:30 pm
Forum: PSP Development
Topic: HELP: sceKernelCreateThread: error 80020190
Replies: 9
Views: 4440

Dump the UID table when you threads are failing with out of memory errors and you can see what has been allocated in the SysMem block (they should all have half sensible names if you are lucky :P), of course it could also be FPL/VPLs and all manner of other things eating memory space.
by TyRaNiD
Sun Oct 05, 2008 8:53 am
Forum: PSP Development
Topic: Loading a Kernl Mod. in Buffer from Kernel Module FAILS??!
Replies: 9
Views: 5111

"Exception - Address load/inst fetch" wasn't clear enough for you, for fucks sake. The error says it is a load exception, i.e. you gave a garbage address to something. The faulting instruction is a load word from $a0 and $a0 is set to 0x7FE and obvious garbage address. No doubt you could h...
by TyRaNiD
Mon Sep 22, 2008 5:54 am
Forum: PSP Development
Topic: pthreads
Replies: 24
Views: 12097

I would assume that the header does not extern C the function definitions so when compiled g++ is trying to find the mangled form which doesn't exist.
by TyRaNiD
Thu Sep 18, 2008 3:11 pm
Forum: PSP Development
Topic: Problem with psp-gdb
Replies: 2
Views: 2045

Hmm a bug surfaces :) The problem is GDB implements a range restriction on what addresses it is willing to read to prevent GDB itself from crashing. Unfortunately now people have forced psplink to run with the large memory model on slims your stack frame is above the old 32MB limit and GDB refuses t...
by TyRaNiD
Mon Sep 15, 2008 2:10 am
Forum: PSP Development
Topic: psptoolchain gcc 4.3.1 & gdb 6.8 available
Replies: 16
Views: 6304

You didn't honestly add PSP_HEAP_SIZE_KB(-64); to the main.c of psplinkusb did you? You are lucky psplink doesn't use the heap at all otherwise that would have fucked everything up :)
by TyRaNiD
Fri Sep 12, 2008 4:43 am
Forum: PSP Development
Topic: 3.52 systimer.prx and prxtool
Replies: 5
Views: 1734

yah, if you do prxtool -f systimer.prx then the addresses of the functions is in the [], the alloc function is at address 0.
by TyRaNiD
Thu Sep 11, 2008 6:10 am
Forum: PSP Development
Topic: 3.52 systimer.prx and prxtool
Replies: 5
Views: 1734

prxtool wont display everything as disasm and hex. It only disassembles (unless you force it) the .text sections. Seems that prx has the module info/imports rammed into the .text section which is what causes the data to be disassembled. As for missing sceSTimerAlloc, that is probably a bug in the an...
by TyRaNiD
Wed Sep 10, 2008 3:54 am
Forum: PSP Development
Topic: PSPLink & GDB work fine, how do I figure out what went w
Replies: 3
Views: 1678

Of course if you are using GDB then you shouldn't see these errros on the main window, unless you are crashing somebody else's module/prx. GDB will only handle exceptions in the code which it loaded.
by TyRaNiD
Sat Sep 06, 2008 11:44 pm
Forum: PSP Development
Topic: Trying to simply load a file in a buffer
Replies: 13
Views: 3303

Aligning read buffer to 64bytes can be beneficial, especially when reading/writing to usbhost (cause I know how I implemented that).
by TyRaNiD
Sat Sep 06, 2008 3:09 am
Forum: PSP Development
Topic: The ominipotent PRX..
Replies: 8
Views: 2461

WEll yes you _can_ have a module which exists in all modes, but you cannot have one which doesn't reinitialize :)
by TyRaNiD
Fri Sep 05, 2008 3:12 pm
Forum: PSP Development
Topic: The ominipotent PRX..
Replies: 8
Views: 2461

no
by TyRaNiD
Mon Sep 01, 2008 3:38 pm
Forum: PSP Development
Topic: Cracking the PSP OFW without pandora
Replies: 91
Views: 33972

Perhaps you keep forgetting, you don't need the HMAC key, at least for the IPL that can be brute forced in a few days for a single encrypted block which is all you need :) All you need to do is find the method of data encryption/decryption and job done. It is worth remembering that the encryption it...
by TyRaNiD
Fri Aug 29, 2008 6:26 am
Forum: PSP Development
Topic: Cracking the PSP OFW without pandora
Replies: 91
Views: 33972

For the IPL at least the key is in the clear, it is at the start of the block. It was noted that by adjusted the first 32 bytes certain parts of the output decrypted differently. Of course we don't a) know what algorithm they chose, or at least if we can guess (say AES) then they probably have some ...
by TyRaNiD
Wed Aug 27, 2008 2:30 am
Forum: PSP Development
Topic: [QUESTION] What is the max heap size of a user prx?
Replies: 27
Views: 12113

Of course you might not actually want to use large memory support depends on what you are trying to target ;)
by TyRaNiD
Sun Aug 24, 2008 9:15 am
Forum: PSP Development
Topic: Cracking the PSP OFW without pandora
Replies: 91
Views: 33972

Ahuh, expensive hardware. About the only way of probably getting the pre-ipl would we to decap the chip containing the pre-ipl and read it out using a microscope :)
by TyRaNiD
Fri Aug 22, 2008 8:25 am
Forum: PSP Development
Topic: module pipes
Replies: 7
Views: 3243

The current path is taken from the first argument passed to the module in sceKernelStartModule, I assume you are not passing anything to it :)
by TyRaNiD
Thu Aug 21, 2008 3:29 am
Forum: PSP Development
Topic: PSPLINK fully automated.
Replies: 6
Views: 2398

If 'reset' is locking up it is generally the fault of the application and not psplink per-se, there are some situations where the kernel just will not reboot and the app keeps handing on. Make sure you don't have any tight loops with no wait states in them (like waiting on vblank or an event).
by TyRaNiD
Thu Aug 21, 2008 3:26 am
Forum: PSP Development
Topic: Cracking the PSP OFW without pandora
Replies: 91
Views: 33972

Cunning bastards :P
by TyRaNiD
Mon Aug 18, 2008 1:38 am
Forum: PSP Development
Topic: module pipes
Replies: 7
Views: 3243

There is a pipe primitive in the thread libraries you could use, however the issue comes down to having to pass those UIDs around, unfortunately each module/eboot does not get its own file descriptor table like on unix so you couldn't just use stdin/stdout/stderr. Of course if you are willing to wri...
by TyRaNiD
Sun Aug 17, 2008 10:20 pm
Forum: PSP Development
Topic: Cracking the PSP OFW without pandora
Replies: 91
Views: 33972

The registry exploit has been fixed (it got fixed in the next revision of the firmware), Sony also added code to make it more difficult to do the attack on the memory protection registers as well while they were at it. I can't remember what kernel exploits are known and fixed or not known, also poss...
by TyRaNiD
Sun Aug 17, 2008 10:00 pm
Forum: PSP Development
Topic: Cracking the PSP OFW without pandora
Replies: 91
Views: 33972

Sigh!!! I might as well lock this thread, it is like 2005 all over again, with the pointless speculation. Lets get some points clear... * Encryption/Sign Check is done in hardware, you would have a job changing the keys. * The signing check relies more on a HMAC algorithm it seems then real signing ...
by TyRaNiD
Sun Aug 17, 2008 7:29 am
Forum: PSP Development
Topic: Cracking the PSP OFW without pandora
Replies: 91
Views: 33972

For a start, psppacker (DA's hack of the ~PSP stuff) is dependant on the the CFW stuff. Breaking the crypto is none-trivial, it could take millions of years, pandora only works because they fucked up, badly...
by TyRaNiD
Sun Aug 17, 2008 7:27 am
Forum: PSP Development
Topic: PSPLink 3.0 & usbhostfs on WinXP problem
Replies: 4
Views: 2235

You cannot use telnet with psplinkusb, it doesn't work. End of story
by TyRaNiD
Sun Aug 17, 2008 3:27 am
Forum: PSP Development
Topic: Cracking the PSP OFW without pandora
Replies: 91
Views: 33972

Well because it is a closed architecture (and it needs to be to support their business model) it is imperative to prevent against just adding a modchip :)
by TyRaNiD
Sat Aug 16, 2008 9:32 pm
Forum: PSP Development
Topic: Cracking the PSP OFW without pandora
Replies: 91
Views: 33972

If I was doing it I would have fuses in the CPU die which could blow to take out the jtag, do your hardware test then at final test time you take them out, certainly i have heard rumours of the test pins being identified but them not actually doing anything.