From 629996c05f1cd2fd67ee1705da0098e1c35ae0f0 Mon Sep 17 00:00:00 2001 From: well0nez Date: Mon, 19 Sep 2022 09:44:18 +0200 Subject: [PATCH] adding cpufrequtils Adding to cpufrequtils to image, now were able to control the cpu over cpufrequtils . root@orangepii96:~# cpufreq-info cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009 Report errors and bugs to cpufreq@vger.kernel.org, please. analyzing CPU 0: driver: rda CPUs which run at the same hardware frequency: 0 CPUs which need to have their frequency coordinated by software: 0 maximum transition latency: 300 us. hardware limits: 329 MHz - 1.19 GHz available frequency steps: 329 MHz, 395 MHz, 494 MHz, 988 MHz available cpufreq governors: ondemand, interactive, performance current policy: frequency should be within 329 MHz and 988 MHz. The governor "performance" may decide which speed to use within this range. current CPU frequency is 988 MHz (asserted by call to hardware). cpufreq stats: 329 MHz:3.69%, 395 MHz:0.08%, 494 MHz:0.04%, 988 MHz:96.20% (53) --- OrangePiRDA/scripts/lib/distributions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OrangePiRDA/scripts/lib/distributions.sh b/OrangePiRDA/scripts/lib/distributions.sh index 0559514..e0fdd53 100755 --- a/OrangePiRDA/scripts/lib/distributions.sh +++ b/OrangePiRDA/scripts/lib/distributions.sh @@ -467,7 +467,7 @@ apt-get -y update #rm -f "/etc/locale.gen" #dpkg-reconfigure --frontend noninteractive locales -apt-get -y install sudo imagemagick libv4l-dev cmake bluez bluez-tools apt-transport-https man subversion python3-pip python3-setuptools gpg net-tools g++ libjpeg-dev usbutils curl dosfstools curl xz-utils iw rfkill ifupdown wpasupplicant openssh-server rsync u-boot-tools vim parted network-manager git autoconf gcc libtool ntp libsysfs-dev pkg-config libdrm-dev xutils-dev alsa-utils acl crda +apt-get -y install sudo imagemagick libv4l-dev cmake bluez bluez-tools apt-transport-https man subversion python3-pip python3-setuptools gpg net-tools g++ libjpeg-dev usbutils curl dosfstools curl xz-utils iw rfkill ifupdown wpasupplicant openssh-server rsync u-boot-tools vim parted network-manager git autoconf gcc libtool ntp libsysfs-dev pkg-config libdrm-dev xutils-dev alsa-utils acl crda cpufrequtils apt-get -y install $EXTRADEBS pip3 install spidev