psplinkusb and the 3.52 m33 firmware

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Istari
Posts: 10
Joined: Fri Sep 30, 2005 2:34 am

psplinkusb and the 3.52 m33 firmware

Post by Istari »

I have tried to get psplink (from svn://svn.pspdev.org/psp/branches/psplinkusb) to work with the newest firmware from m33,
but it only works in 1.50 mode and it can't load prx files.

The OE bootstrap seems to hang before it can load psplink, and the 1.50 psplink just sits there if I try to load a prx.

Is there a trick to get it working, or is this because I am using a m33 firmware and not a dark-alex firmware?
weltall
Posts: 310
Joined: Fri Feb 20, 2004 1:56 am
Contact:

Post by weltall »

no it doesn't hang it just doesn't output anything.
the problem is with fdprintf functions of psplink.
a quick patch to make it half working is adding this

Code: Select all

#define enable_kprintf(args) 
#define SHELL_PRINT_FD(fd, fmt, ...) printf("\xff" fmt "\xfe", ## __VA_ARGS__)
#define SHELL_PRINT(fmt, ...) printf(fmt, ## __VA_ARGS__ )
#define SHELL_PRINT_CMD(cmd, fmt, ...) printf("\xff" "%c" fmt "\xfe", cmd, ## __VA_ARGS__)
[CODE]
on the top of the shell.c just before extern.
NOTE: it's a quite bugged patch. so don't expect nothing, you won't get the correct shell info like host0:/> but it will at least take commands and returns data.
other not working functions are modules functions they return an error
kururin
Posts: 36
Joined: Wed Jul 05, 2006 7:19 am

Post by kururin »

It seems is an incompatibility of psplink with 3.5X, as it happens too in 3.50 HEN.
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

It actually seems to be a bug in the firmware itself :)
Post Reply