Jump to content

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


Recommended Posts

Armbianmonitor:

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 comment
Share on other sites

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 comment
Share on other sites

Try build kernel without this patch. (remove patch/kernel/sunxi-next/board-bpi-m2-zero-enable-dvfs.patch and recompile)

 

If this helps, send a PR for both, NEXT and DEV. The problem is probably the same.

Link to comment
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 comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines