Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
After some love basic operations implemented
loadelf: fname host:ps2nfs.elf secname all
Input ELF format filename = host:ps2nfs.elf
0 00100000 000916f8 ..........
1 00194640 00000004 .
Loaded, host:ps2nfs.elf
start address 0x1000d8
gp address 00000000
open name rom0:ROMVER flag 1 data 41378
open fd = 2
open name rom0:ROMVER flag 1 data 41378
open fd = 2
loadmodule: fname host:ps2ip.irx args 0 arg
PS2IP: RegisterLibraryEntries returned: -1
loadmodule: id 31, ret 1
loadmodule: fname host:ps2ips.irx args 0 arg
PS2IPS: Module Loaded.
PS2IPS: RPC Thread Started
loadmodule: id 32, ret 0
loadmodule: fname host:alloc.irx args 0 arg
loadmodule: id 33, ret 0
ps2ip_init return 0
loadmodule: fname host:nfsman.irx args 78 arg nfs://192.168.1.3/System/Volumes/Data/usr/local/orbisdev/git/ps4sh/bin/hostapp
[IOP][DEBUG]: Nfs driver for PlayStation 2 IOP version 0x100
[IOP][DEBUG]: Copyright (C) 2003,2020 Antonio Jose Ramos Marquez (aka bigboss) @psxdev on twitter
[IOP][DEBUG]: libnfs Copyright (C) Ronnie Sahlberg
[IOP][DEBUG]: Review README & LICENSE files for further details
[IOP][DEBUG]: [NFSMAN] _start nfsurl nfs://192.168.1.3/System/Volumes/Data/usr/local/orbisdev/git/ps4sh/bin/hostapp
[IOP][DEBUG]: [NFSMAN] ps2NfsInitDev initializing device drv arg nfs://192.168.1.3/System/Volumes/Data/usr/local/orbisdev/git/ps4sh/bin/hostapp
[IOP][DEBUG]: [NFSMAN] ps2NfsInitDev nfsurl nfs://192.168.1.3/System/Volumes/Data/usr/local/orbisdev/git/ps4sh/bin/hostapp
[IOP][DEBUG]: [NFSMAN] ps2NfsInit
[IOP][DEBUG]: [NFSMAN] ps2NfsCreateConf
[IOP][DEBUG]: [NFSMAN] ps2NfsCreateConf aqui
[IOP][DEBUG]: [NFSMAN] ps2NfsCreateConf -1
[IOP][DEBUG]: [NFSMAN] ps2NfsCreateConf -1
[IOP][DEBUG]: [NFSMAN] ps2NfsCreateConf -1
[IOP][DEBUG]: [NFSMAN] ps2NfsCreateConf -1
[IOP][DEBUG]: [NFSMAN] ps2NfsCreateConf -1
[IOP][DEBUG]: [NFSMAN] ps2NfsCreateConf -1
[IOP][DEBUG]: [NFSMAN] ps2NfsCreateConf -1
[IOP][DEBUG]: [NFSMAN] ps2NfsCreateConf -1
[IOP][DEBUG]: [NFSMAN] ps2NfsCreateConf -1
[IOP][DEBUG]: [NFSMAN] ps2NfsCreateConf -1
[IOP][DEBUG]: [NFSMAN] ps2NfsInit calling nfs_init_context
[IOP][DEBUG]: [NFSMAN] ps2NfsInit nfs_init_context return valid nfs object
[IOP][DEBUG]: [NFSMAN] ps2NfsInit calling nfs_parse_url_dir with nfs://192.168.1.3/System/Volumes/Data/usr/local/orbisdev/git/ps4sh/bin/hostapp
[IOP][DEBUG]: [NFSMAN] ps2NfsInit nfs_parse_url_dir return valid urls object
[IOP][DEBUG]: [NFSMAN] ps2NfsInit calling nfs_mount with 192.168.1.3 and /System/Volumes/Data/usr/local/orbisdev/git/ps4sh/bin/hostapp
[IOP][DEBUG]: [LIBNFS] rpc_set_sockaddr server=192.168.1.3
[IOP][DEBUG]: [LIBNFS] rpc_set_sockaddr server=192.168.1.3
[IOP][DEBUG]: [LIBNFS] rpc_set_sockaddr server=192.168.1.3
[IOP][DEBUG]: [LIBNFS] rpc_set_sockaddr server=192.168.1.3
[IOP][DEBUG]: [NFSMAN] ps2NfsInit nfs_mount return fine
[IOP][DEBUG]: [NFSMAN] ps2NfsInit NFSMAN initialized readChunkSize=65536 writeChunkSize=65536
[IOP][DEBUG]: [NFSMAN] ps2NfsInitDev io_AddDrv return 0
[IOP][DEBUG]: [NFSMAN] _start NFSMAN Module initialzed
loadmodule: id 34, ret 0
open name nfs:test.txt flag 1 data 41378
[IOP][DEBUG]: [NFSMAN] ps2NfsOpen opening file test.txt 8
[IOP][DEBUG]: [NFSMAN] ps2NfsFixPath path fix for test.txt
[IOP][DEBUG]: [NFSMAN] ps2NfsFixPath path fixed for test.txt to test.txt
[IOP][DEBUG]: [NFSMAN] ps2NfsCheckFreeDescriptor -1
[IOP][DEBUG]: [NFSMAN] ps2NfsOpen test.txt opened fd=0 size 241
open fd = 2
[SAMPLE]open return 2
open name nfs:test1.txt flag 203 data 41378
[IOP][DEBUG]: [NFSMAN] ps2NfsOpen opening file test1.txt 9
[IOP][DEBUG]: [NFSMAN] ps2NfsFixPath path fix for test1.txt
[IOP][DEBUG]: [NFSMAN] ps2NfsFixPath path fixed for test1.txt to test1.txt
[IOP][DEBUG]: [NFSMAN] ps2NfsCheckFreeDescriptor 0
[IOP][DEBUG]: [NFSMAN] ps2NfsCheckFreeDescriptor -1
[IOP][DEBUG]: [NFSMAN] ps2NfsOpen test1.txt opened fd=1 size 0
open fd = 3
[IOP][DEBUG]: [NFSMAN] ps2NfsLseek fd=0 offset=0 whence=2
[IOP][DEBUG]: [NFSMAN] ps2NfsLseek slot=0 fd=0 return=241
[SAMPLE] file size 241 bytes
[IOP][DEBUG]: [NFSMAN] ps2NfsLseek fd=0 offset=0 whence=0
[IOP][DEBUG]: [NFSMAN] ps2NfsLseek slot=0 fd=0 return=0
[IOP][DEBUG]: [NFSMAN] ps2NfsRead fd=0 size=240
[IOP][DEBUG]: [NFSMAN] ps2NfsRead slot=0 fd=0 bytereads=240
[IOP][DEBUG]: [NFSMAN] ps2NfsRead fd=0 size=1
[IOP][DEBUG]: [NFSMAN] ps2NfsRead slot=0 fd=0 bytereads=1
[SAMPLE] read 241 bytes
[SAMPLE] content read:
this is a test for PlayStation 2 nfsman
this is a test for PlayStation 2 nfsman
this is a test for PlayStation 2 nfsman
this is a test for PlayStation 2 nfsman
this is a test for PlayStation 2 nfsman
this is a test for PlayStation 2 nfsman
[IOP][DEBUG]: [NFSMAN] ps2NfsClose closing fd 0
[IOP][DEBUG]: [NFSMAN] ps2NfsClose slot=0 fd=0 test.txt closed
[IOP][DEBUG]: [NFSMAN] ps2NfsClose closing fd 1
[IOP][DEBUG]: [NFSMAN] ps2NfsClose slot=1 fd=1 test1.txt closed
dopen name nfs:test
[IOP][DEBUG]: [NFSMAN] ps2NfsDopen path=test
[IOP][DEBUG]: [NFSMAN] ps2NfsFixPath path fix for test
[IOP][DEBUG]: [NFSMAN] ps2NfsFixPath path fixed for test to test
[IOP][DEBUG]: [NFSMAN] ps2NfsCheckFreeDescriptor -1
[IOP][DEBUG]: [NFSMAN] ps2NfsDopen directory test open slot=0 dfd=0
dopen fd = 2
[IOP][DEBUG]: [NFSMAN] ps2NfsDread
[IOP][DEBUG]: [NFSMAN] ps2NfsDread 1598802311 tres.txt 30/08/0020 04:45 PM 0
[IOP][DEBUG]: [NFSMAN] ps2NfsDread
[IOP][DEBUG]: [NFSMAN] ps2NfsDread 1598802295 uno.txt 30/08/0020 04:44 PM 0
[IOP][DEBUG]: [NFSMAN] ps2NfsDread
[IOP][DEBUG]: [NFSMAN] ps2NfsDread 1598802299 dos.txt 30/08/0020 04:44 PM 0
[IOP][DEBUG]: [NFSMAN] ps2NfsDread
[IOP][DEBUG]: [NFSMAN] ps2NfsDread 1598815084 .. 30/08/0020 08:18 PM 992
[IOP][DEBUG]: [NFSMAN] ps2NfsDread
[IOP][DEBUG]: [NFSMAN] ps2NfsDread 1598802311 . 30/08/0020 04:45 PM 160
[IOP][DEBUG]: [NFSMAN] ps2NfsDread
[IOP][DEBUG]: [NFSMAN] ps2NfsDclose slot=0 dfd=0 test closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment