No dvfs (no cpufreq information) on Banana Pi M2 Zero

Recommended Posts


Build on new kernel (5.1), Ubuntu 18.04.

No cpufreq information (0 MHz in htop etc.) also means there's no working frequency scaling. Which for Allwinner H2+ (Banana Pi M2 Zero) means quick hard-hang due to overheating whenever I compile anything non trivial, unless I point a USB Fan on the CPU (which already got a heatsink).


Is there any chance of getting cpufreq and dvfs to work?

Link to post
Share on other sites
Donate and support the project!

21 minutes ago, Tomash said:

any chance of getting cpufreq and dvfs to work?

Yes. It will be sorted out once, but this kernel is still in development which means ... do some research why its not working and fix it. Its regression either in kernel config, some patches are mixed up or not compatible ... who knows. If you want to just use the board, stick to NEXT kernel (4.19.y)

Link to post
Share on other sites

Spot on, disabling this patch (by touch-ing an empty file in userpatches) fixed the issue, I've got cpufreq information and the frequency does change. stress results in dropping the frequency to 800Mhz when the temperature reaches 80 C, perfect.

At least with NEXT, I'll build and test with DEV kernel soon.


Should my entire PR be just a removal of this patch file altogether?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.