ps4jb icon indicating copy to clipboard operation
ps4jb copied to clipboard

Linux Log with your Linux Loader

Open ps4gentoo opened this issue 4 years ago • 2 comments

PS4 Pro (CUH 7015B) FW 6,72 with 4.14 psxita kernel https://pastebin.com/wDzrW2gS

ps4gentoo avatar Jan 29 '21 11:01 ps4gentoo

why is this not in your main.c ? is not needed? greez

int (*set_nclk_mem_spd)(int val) = (void *)(kernel_base + 0x30C270);
    int (*set_pstate)(int val) = (void *)(kernel_base + 0x4CC8A0);
    int (*set_gpu_freq)(int cu, unsigned int freq) = (void *)(kernel_base + 0x4D2530);
    int (*update_vddnp)(unsigned int cu) = (void *)(kernel_base + 0x4D2AA0);
    int (*set_cu_power_gate)(unsigned int cu) = (void *)(kernel_base + 0x4D2C40);
    
    cred->cr_uid = 0;
    cred->cr_ruid = 0;
    cred->cr_rgid = 0;
    cred->cr_groups[0] = 0;

    cred->cr_prison = *got_prison0;
    fd->fd_rdir = fd->fd_jdir = *got_rootvnode;
    
    //CLK, CU, ..
    set_pstate(3);
    set_nclk_mem_spd(8);
    
    set_gpu_freq(0, 800); // ACLK
    set_gpu_freq(1, 674); //
    set_gpu_freq(2, 610);
    set_gpu_freq(3, 800);
    set_gpu_freq(4, 800);
    set_gpu_freq(5, 720);
    set_gpu_freq(6, 720);
    
    update_vddnp(0x12);
    set_cu_power_gate(0x12);

ps4gentoo avatar Feb 08 '21 03:02 ps4gentoo

but nice work the Loader is very stable and thx for fixing the function for EDID, now i get the edid from my moniitor

ps4gentoo avatar Feb 08 '21 07:02 ps4gentoo