Running OpenPS2Loader on TOOL

Discussion in 'Sony Programming and Development' started by root670, Mar 25, 2016.

  1. root670

    root670 Robust Member

    Joined:
    Apr 4, 2010
    Messages:
    205
    Likes Received:
    17
    What is the correct way to load OpenPS2Loader on a TOOL? I set "DTL_T10000" to 1 in the makefile before compiling and loaded it with dsedb like this:
    Code:
    dsedb
    reset 0 0
    pload opl.elf
    run
    
    It then freezes at a breakpoint. I'm using the dsnet utilities from the v3.0.3 SDK on a Debian 8 32-bit VM and updated the tool with "dsnet-1.23.1-1.i386.rpm" on top of one of the HDD images posted here using the web interface. I can run most Sony SDK samples without issues, so the communication between the TOOL and my computer seems to be OK, but OPL is still having trouble.

    Has anyone had luck getting it to run?
     
  2. root670

    root670 Robust Member

    Joined:
    Apr 4, 2010
    Messages:
    205
    Likes Received:
    17
    I was able to get OPL to load with the TOOL in workstation mode :)
     
  3. sp193

    sp193 Site Soldier

    Joined:
    Mar 29, 2012
    Messages:
    2,232
    Likes Received:
    1,073
    You need to enable Test mode and disable all EE-kernel checks:
    ebootp 0x000f0000
    ibootp 0x100
    Hence your reset command should be: reset 0x000f0000 0x100

    Otherwise, you wouldn't even need to enable the DTL_T10000 option within the Makefile.

    The reason why I didn't use WS mode (which simply provides an old ROM image) in development, is because its EE kernel is not the same kernel as the one from the SCPH-10000. However, it still has old ExecPS2 and GetOsdConfig syscalls, which causes the EE kernel patch to be applied over a region within kernel memory that isn't free. That will break the EE kernel, which may cause the TOOL to crash when ExecPS2() is invoked.
     

Share This Page