From b9b022c4eebc2b159a78d8a65279fa192df1e5d2 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Fri, 24 Nov 2023 18:29:25 +0800 Subject: [PATCH] luci-app-cpufreq: add rk35xx support --- applications/luci-app-cpufreq/Makefile | 2 +- applications/luci-app-cpufreq/root/etc/uci-defaults/10-cpufreq | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/luci-app-cpufreq/Makefile b/applications/luci-app-cpufreq/Makefile index 0983d18c..667abdf3 100644 --- a/applications/luci-app-cpufreq/Makefile +++ b/applications/luci-app-cpufreq/Makefile @@ -8,7 +8,7 @@ LUCI_TITLE:=LuCI for CPU Freq Setting LUCI_DEPENDS:=@(arm||aarch64) PKG_NAME:=luci-app-cpufreq -PKG_VERSION:=5 +PKG_VERSION:=6 PKG_RELEASE:=$(COMMITCOUNT) include ../../luci.mk diff --git a/applications/luci-app-cpufreq/root/etc/uci-defaults/10-cpufreq b/applications/luci-app-cpufreq/root/etc/uci-defaults/10-cpufreq index 87c75cb3..a39e4534 100755 --- a/applications/luci-app-cpufreq/root/etc/uci-defaults/10-cpufreq +++ b/applications/luci-app-cpufreq/root/etc/uci-defaults/10-cpufreq @@ -45,7 +45,7 @@ case "$DISTRIB_TARGET" in "meson/meson8b") uci_write_config 0 schedutil 816000 $CPU_MAX_FREQ ;; - "rockchip/armv8") + "rockchip*") uci_write_config 0 schedutil 600000 $CPU_MAX_FREQ echo "$CPU_POLICYS" | grep -q "4" && \ uci_write_config 4 schedutil 600000 $CPU4_MAX_FREQ