Update QCA Source

This commit is contained in:
VIKING 2025-07-12 22:30:45 +08:00
parent e7eedef007
commit aa3c5395a5
2 changed files with 18 additions and 11 deletions

View File

@ -18,12 +18,12 @@ include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/target.mk
define Package/autocore
TITLE:=auto core loadbalance script.
DEPENDS:=@(aarch64||arm||i386||i686||x86_64) \
+TARGET_bcm27xx:bcm27xx-utils \
+TARGET_bcm53xx:nvram \
+TARGET_x86:ethtool \
+TARGET_x86:lm-sensors
TITLE:=auto core loadbalance script.
DEPENDS:=@(aarch64||arm||i386||i686||x86_64) \
+TARGET_bcm27xx:bcm27xx-utils \
+TARGET_bcm53xx:nvram \
+TARGET_x86:ethtool \
+TARGET_x86:lm-sensors
endef
define Build/Compile
@ -38,9 +38,7 @@ endif
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) ./files/cpuinfo $(1)/sbin/
ifneq ($(filter ipq% mediatek% qualcommax%, $(TARGETID)),)
$(INSTALL_BIN) ./files/tempinfo $(1)/sbin/
endif
$(INSTALL_DIR) $(1)/usr/share/rpcd/acl.d
$(CP) ./files/luci-mod-status-autocore.json $(1)/usr/share/rpcd/acl.d/

View File

@ -93,9 +93,7 @@
fan: pwm-fan {
compatible = "pwm-fan";
pwms = <&pwm 1 40000 0>;
interrupt-parent = <&tlmm>;
interrupts = <31 IRQ_TYPE_EDGE_RISING>;
pwms = <&pwm 0 40000 0>;
cooling-levels = <64 128 192 255>;
#cooling-cells = <2>;
};
@ -120,6 +118,12 @@
hysteresis = <2000>;
type = "active";
};
cpu_trip_idle: active-idle {
temperature = <25000>;
hysteresis = <2000>;
type = "active";
};
};
cooling-maps {
@ -137,6 +141,11 @@
cooling-device = <&fan 1 1>;
trip = <&cpu_trip_low>;
};
cpu-active-idle {
cooling-device = <&fan 0 0>;
trip = <&cpu_trip_idle>;
};
};
};
};