Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Log with your Linux Loader #76

Open
ps4gentoo opened this issue Jan 29, 2021 · 2 comments
Open

Linux Log with your Linux Loader #76

ps4gentoo opened this issue Jan 29, 2021 · 2 comments

Comments

@ps4gentoo
Copy link

ps4gentoo commented Jan 29, 2021

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

@ps4gentoo
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant