Jump to content

[Armbian build PR] - Enable CPU frequency configuration for Orange Pi Zero 3


Recommended Posts

Posted

Description

The Orange Pi Zero 3 board was recently added as a WIP configuration, and through testing it was determined that the CPU frequency configuration was not working for this board, but was working correctly for the Orange Pi Zero 2. Further investigation determined that the h618 CPU (which differs from the Zero 2 h616) was not in the allow list in the CPU frequency kernel driver.

This PR updates both the current and edge sunxi kernel configurations with a patch that enables the h618 device in the configuration whitelist. The goal of this patch was to make the smallest change possible change to the driver code to enable the capability for the Zero 3. In the code, the h618, once enabled/allowed, references the existing h616 configuration.

Jira reference number [N/A]

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

Tests were successfully executed with two board/image configurations: Orange Pi Zero 3 4GB RAM, Current kernel (6.6) Debian Bookworm Orange Pi Zero 3 4GB RAM, Edge kernel (6.7) Debian Bookworm

  • [ ] cpufreq-info can be executed without any additional configuration or installation in Debian Bookworm
  • [ ] cpufreq-info command generates expected output showing CPU performance and scaling information
  • [ ] cpufreq-info displays scaling up when system under load (bz2 tarball used for load generation)
  • [ ] cpufreq-info displays scaling down when system is idle

Checklist:

  • [ ] My code follows the style guidelines of this project
  • [ ] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines