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

DRAM and CPU clocks for Allwinner H616 in OrangePiZero2 #4

Open
FerGT50 opened this issue Apr 14, 2021 · 1 comment
Open

DRAM and CPU clocks for Allwinner H616 in OrangePiZero2 #4

FerGT50 opened this issue Apr 14, 2021 · 1 comment

Comments

@FerGT50
Copy link

FerGT50 commented Apr 14, 2021

Hello!
First of all thanks for your great work. As you know I already managed to fit your kernel (5.11.0rc1-stb616) within my Armbian nightly for OrangePiZero2, and now USB works. :)

Now I'd like to address another issue: the board is quite slow; noticeably slower than with Armbian nightly kernel (5.11.11-sunxi64).
With the legacy OrangePi kernel, the CPU runs at 1512000000 Hz and the DRAM at 720000000 Hz; moreover, microSD does 45 MB/s.
I think with your kernel, clocks are lower by about 30% (and microSD can't past 22-23 MB/s).

jernej hinted about modifying clocks in u-boot, but honestly I don't know which files I should edit within the source tree: do you have a suggestion?
Thank you very much

@hexdump0815
Copy link
Owner

i think you have now reached what is currently possible and for everything else patience is required until one of the capable developers continues to work on the remaining topics like dvfs, thermal management and better hdmi support. the h616 is not really well supported yet, so its maybe not the right platform to expect too much from right now.

you can use the orangepi bsp kernel meanwhile, but it is full of ugly hacks, is not being updated with security fixes etc., so not really a good idea. here are my experiments around that kernel and u-boot: https://github.com/hexdump0815/linux-allwinner-h616-kernel and https://github.com/hexdump0815/u-boot-misc/blob/master/readme.h616-legacy

best wishes and good luck - hexdump

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

2 participants