GithubHelp home page GithubHelp logo

ps2link's Introduction

ps2link

CI

PS2Link (C) 2003 Tord Lindstrom ([email protected])
        (C) 2003,2004 adresd ([email protected])
        (C) 2003,2004,2005 Khaled ([email protected])
        (C) 2019,2020,2021 fjtrujy ([email protected])

Please read the file LICENSE regarding PS2Link licensing.

PS2Link is a 'bootloader' which, used together with an Ethernet driver and a TCP/IP stack, enables you to download and execute software on your PS2.

It is designed to run from memory card, cdrom or host drives.

It loads all IRX's at startup and IPCONFIG.DAT for the network settings. The IRX's and the IPCONFIG.DAT should be in the directory which PS2LINK is loaded from.

Required modules

PS2Link requires the following IRX modules:

PS2LINK.IRX               from: ps2link
PS2DEV9.IRX                     ps2sdk
PS2IP-NM.IRX                    ps2sdk
NETMAN.IRX                      ps2sdk
SMAP.IRX                        ps2sdk
IOPTRAP.IRX                     ps2sdk
POWEROFF.IRX                    ps2sdk
UDPTTY.IRX                      ps2sdk

Compilation

Building ps2link just requires project PS2SDK.

For building against ps2sdk make sure PS2SDK is set to your ps2sdk release dir.

make clean all

Credit for the icon logo goes to Revolt from ps2dev.

NOTES + WARNINGS: IPCONFIG.DAT FILENAME SHOULD BE UPPERCASE.

IPCONFIG.DAT uses the following format: PS2IPADDRESS NETMASK GATEWAYIP seperated by a single space.

If you have any questions or bugreports about ps2link go to forums.ps2dev.org.

ps2link's People

Contributors

akuhak avatar bignaux avatar citronalco avatar fjtrujy avatar israpps avatar mlafeldt avatar rickgaiser avatar sp193 avatar uyjulian avatar xythobuz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ps2link's Issues

reset issue with packed elf

tested elf : https://github.com/bignaux/helloworld

unpacked elf : reset works, cmdline is empty.
ps2client execee host:helloworld-UNC.elf
log :

[helloworld]    version: 403bd93
[helloworld]    cmdline: 
1..5
not ok 1 - running from ps2link
#   Failed test 'running from ps2link'
at helloworld.c line 55.
#          got: '(null)'
#     expected: 'host:helloworld.elf'

packed elf : reset doesn't work, cmdline is fine
ps2client execee host:helloworld.elf

[helloworld]    version: 403bd93
[helloworld]    cmdline: host:helloworld.elf
1..5
ok 1 - running from ps2link
open name rom0:ROMVER flag 1 data 41378
open fd = 2
[helloworld]    Hello, World fr00000m helloworld v.403bd93 !

a bit duplicate of ps2dev/ps2client#4 but want to have it there.

ps2link crashes with EE exception after starting up

I recently built the latest from master of the toolchain, ps2eth and ps2link and found out that an EE exception happens during or after initialization of ps2link.

Exception details: TLB load/inst fetch exception, cause 10008008 BadAddr 3A0D2BE8, status 70030C13, EPC 88188.

Under the guidance of https://github.com/fjtrujy I tried to troubleshoot it and to find out the breaking change but not successful.

We found that the ps2link built as artifact of CI 17 (https://github.com/ps2dev/ps2link/actions/runs/477067363) still works but the one from CI 18 (https://github.com/fjtrujy/ps2link/actions/runs/653975338) crashes.

I reverted locally the change that was done in between (ps2dev/ps2sdk#164) but that didn't made any difference. Also, I tried to revert locally the upgrade newlib to 4.1.0 (https://github.com/ps2dev/ps2toolchain-ee/blob/main/scripts/003-newlib.sh#L7) but 4.0.0 gave the same exception again (I tried all the possibilities of combining the two changes).

ps2link CI 18

ps2link CI 18crash

EE exception occurs no matter what executable I use

I had v1.2 pre-built and it worked fine. I decided to build ps2link myself, and for every executable I try to upload, I get CPU exceptions (seems to vary from executable to executable).

The "cause" is 70008010.

  1. I run PS2LINK.ELF from mc1
  2. I've tried executables that worked with v1.2
  3. I've built vanilla (no Makefile options changed)
  4. I've built with the following:
diff --git a/Makefile b/Makefile
index 4be0a4e..b22bd93 100644
--- a/Makefile
+++ b/Makefile
@@ -1,23 +1,23 @@
 # Compilation variables
 
 # Set this to 1 to enable debug mode
-DEBUG = 0
+DEBUG = 1
 
 # Set this to 1 to build a highloading version, 0 for normal low version
 LOADHIGH = 0
 
 # Set this to 1 to build ps2link with all the needed IRX builtins
-BUILTIN_IRXS = 1
+BUILTIN_IRXS = 0
 
 # Set this to 1 to enable caching of config files
-CACHED_CFG = 1
+CACHED_CFG = 0
 
 # Set this to 1 to enable zero-copy on fileio writes.
 ZEROCOPY = 0
 
 # Set this to 1 to power off the ps2 when the reset button is tapped
 # otherwise it will try and reset ps2link
-PWOFFONRESET = 1
+PWOFFONRESET = 0
 
 # Set this to 1 to hook the kernel CreateThread/DeleteThread calls.
 # Note that this will cause problems when loading PS2LINK.ELF from PS2LINK...

Any suggestions? Anything I could try?

ps2link port number(s) and type (UDP/TCP)

Hi, what port number does ps2link listen on and what type of traffic is it (UDP/TCP)?
I need to create some port translations but cannot find the port information anywhere.
Thanks :)

ps2link not responding at all

ps2link is not responding to ps2client at all

I have the ip set to 192.168.0.11 in the IPCONFIG

on my linux system I have the ipv4 address set to the ip above, default subnetmask and default gateway (same goes for inside IPCONFIG)

ps2link seems to return that it succeeded (ps2client exists the program gracefully.)

here are screenshots of stuff:

https://eatcaribou65.u.catgirlsare.sexy/AB72Gq5w.png
https://eatcaribou65.u.catgirlsare.sexy/2uxKWaAV.png

IPCONFIG

https://eatcaribou65.u.catgirlsare.sexy/Q-oUqr49.png

https://eatcaribou65.u.catgirlsare.sexy/sWsKR0xJ.png

the distro of debian i am using is Linux Mint Cinnamon

Edit:

I've also tried recompiling & reinstalling ps2sdk as well, nothing fixed it still.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.