SakeTami
GammaOS
GammaOS

patreon


🚀 Developer Update: Increasing Clock Rates for Performance Gains on the XU MINI M

Hey everyone!

I’ve been working hard on a project that’s all about pushing hardware performance to the next level for the XU Mini M. It's a nice little distraction for me just before I go on holiday, I have a soft spot for mini handhelds. ❤️

I’m focusing on increasing the clock rates on the Rockchip RK3562 based system . For those who aren’t familiar with this, clock rates essentially control how fast your device's processor works. By increasing these rates, we can unlock better performance—but it’s not without its challenges.

The device shipped with a firmware and kernel based on the Anbernic 351v, which means that clocks speeds were limited to what that device uses. In addition to this, we have no kernel sources, so we can't simply build our own kernel to fix these speed issues.

🎯 What I’m Trying to Achieve

My goal is to increase the clock rates on the device by modifying the kernel code directly. More specifically, I’m targeting the rockchip_adjust_power_scale & rockchip_pll_clk_scale_to_rate functions.

These function calculates the clock rate for the system’s Phase-Locked Loop (PLL), which is responsible for stabilizing and scaling the clock frequency. If we can successfully adjust the value returned by this function, we can effectively overclock the system, leading to performance improvements in CPU-heavy tasks.

I started with a simple idea: increase the returned clock rate by modifying the device tree to add extra frequencies to the cpu0-opp-table. However, I quickly realized that this would require some low-level modification of the system's kernel, the modification of the dtb file was not enough.

🛠️ What I’ve Done So Far

After:

⚠️ What Hasn’t Worked

🔍 Next Steps

💡 Conclusion

While this project has been challenging, I’m excited by the progress so far. Overclocking is a delicate process, and every small gain brings us closer to unlocking the full potential of our hardware. I’ll keep you updated on my progress, and I hope to have a more refined solution soon.

My work so far has been shared with the community, and you'll see this in the PlumOS custom firmware: https://github.com/game-de-it/plumOS

Thank you for your support, and stay tuned for more updates!


More Creators