20210427瑞芯微RK3399在Android10下查看芯片温度
2021/4/30 16:52

开发板:天启(t-firefly)AIO-3399J

https://www.t-firefly.com/doc/download/31.html
SDK:版本号Android10.0

https://blog.csdn.net/mialo163/article/details/100921076
RK3399 嵌入式开发板thermal_zone 配置方法 (温度控制)
mialo163 2020-04-06 17:53:25  1373  收藏

图片

Z:\fanzong\rk3399_Android10.0\kernel\arch\arm64\boot\dts\rockchip\rk3399.dtsi
查看设备树:
    thermal_zones: thermal-zones {
        soc_thermal: soc-thermal {
            polling-delay-passive = <20>;
            polling-delay = <1000>;
            sustainable-power = <1000>; /* milliwatts */

thermal-sensors = <&tsadc 0>;

trips {
                threshold: trip-point-0 {
                    temperature = <70000>;
                    hysteresis = <2000>;
                    type = "passive";
                };
                target: trip-point-1 {
                    temperature = <85000>;
                    hysteresis = <2000>;
                    type = "passive";
                };
                soc_crit: soc-crit {
                    temperature = <115000>; /* millicelsius */
                    hysteresis = <2000>; /* millicelsius */
                    type = "critical";
                };
            };

threshold 节点表示温度超过 70 度开始限制频率,type 要设置成"passive";
target 节点表示限制系统的最高温度会 85 度左右,type 要设置成"passive";
soc_crit 节点表示温度超过 115 度,自动重启系统,type 要设置成"critical"。

图片

rootroot@rootroot-Inspiron-3880:~/fanzong/rk3399_Android10.0/kernel$ grep thermal-zones . -R
./Documentation/devicetree/bindings/display/repaper.txt:    thermal-zones {
./Documentation/devicetree/bindings/hwmon/pwm-fan.txt:    thermal-zones {
./Documentation/devicetree/bindings/thermal/brcm,ns-thermal.txt:thermal-zones {
./Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.txt:       thermal-zones {
./Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt:    thermal-zones {
./Documentation/devicetree/bindings/thermal/uniphier-thermal.txt:    thermal-zones {
./Documentation/devicetree/bindings/thermal/brcm,bcm2835-thermal.txt:thermal-zones {
./Documentation/devicetree/bindings/thermal/qcom-spmi-temp-alarm.txt:    thermal-zones {
./Documentation/devicetree/bindings/thermal/thermal-generic-adc.txt:thermal-zones {
./Documentation/devicetree/bindings/thermal/rcar-thermal.txt:thermal-zones {
./Documentation/devicetree/bindings/thermal/thermal.txt:* The thermal-zones node
./Documentation/devicetree/bindings/thermal/thermal.txt:The "thermal-zones" node is a container for all thermal zone nodes. It shall
./Documentation/devicetree/bindings/thermal/thermal.txt:"Thermal zone nodes". The "thermal-zones" node appears under "/".
./Documentation/devicetree/bindings/thermal/thermal.txt:thermal-zones {
./Documentation/devicetree/bindings/thermal/thermal.txt:thermal-zones {
./Documentation/devicetree/bindings/thermal/thermal.txt:thermal-zones {
./Documentation/devicetree/bindings/thermal/thermal.txt:thermal-zones {
./Documentation/devicetree/bindings/thermal/max77620_thermal.txt:thermal-zones {
./Documentation/devicetree/bindings/thermal/rockchip-thermal.txt:thermal-zones {
./Documentation/devicetree/bindings/thermal/zx2967-thermal.txt:Please note: slope coefficient defined in thermal-zones section need to be
./Documentation/devicetree/bindings/thermal/zx2967-thermal.txt:    thermal-zones {
./Documentation/devicetree/bindings/arm/arm,scpi.txt:thermal-zones {
./Documentation/devicetree/bindings/arm/marvell/ap806-system-controller.txt:- #thermal-sensor-cells: shall be <1> when thermal-zones subnodes refer
./Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt:- #thermal-sensor-cells: shall be <1> when thermal-zones subnodes refer
./Documentation/devicetree/bindings/arm/arm,scmi.txt:thermal-zones {
./Documentation/thermal/power_allocator.txt:    thermal-zones {
Binary file ./zboot.img matches
Binary file ./resource.img matches
Binary file ./kernel.img matches
Binary file ./vmlinux.o matches
./arch/powerpc/boot/dts/fsl/t1023si-post.dtsi:    thermal-zones {
./arch/powerpc/boot/dts/fsl/t1040si-post.dtsi:    thermal-zones {
./arch/arm64/boot/dts/nvidia/tegra210.dtsi:    thermal-zones {
./arch/arm64/boot/dts/nvidia/tegra132.dtsi:    thermal-zones {
./arch/arm64/boot/dts/nvidia/tegra186.dtsi:    thermal-zones {
./arch/arm64/boot/dts/rockchip/rk3368.dtsi:    thermal_zones: thermal-zones {
./arch/arm64/boot/dts/rockchip/px30.dtsi:    thermal_zones: thermal-zones {
./arch/arm64/boot/dts/rockchip/rk3328.dtsi:    thermal-zones {
./arch/arm64/boot/dts/rockchip/px30-robot-no-gpu.dtsi:    /delete-node/ thermal-zones;
./arch/arm64/boot/dts/rockchip/px30-robot-no-gpu.dtsi:    thermal_zones: thermal-zones {
Binary file ./arch/arm64/boot/dts/rockchip/rk3399-firefly-aio-lvds-HSX101H40C.dtb matches
./arch/arm64/boot/dts/rockchip/rk3399pro-npu.dtsi:    thermal_zones: thermal-zones {
./arch/arm64/boot/dts/rockchip/rk1808.dtsi:    thermal_zones: thermal-zones {
./arch/arm64/boot/dts/rockchip/.rk3399-firefly-aio-lvds-HSX101H40C.dtb.dts.tmp: thermal_zones: thermal-zones {
./arch/arm64/boot/dts/rockchip/rk3399.dtsi:    thermal_zones: thermal-zones {
./arch/arm64/boot/dts/rockchip/rk3308.dtsi:    thermal_zones: thermal-zones {
./arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi:    thermal-zones {
./arch/arm64/boot/dts/exynos/exynos5433-tmu.dtsi:thermal-zones {
./arch/arm64/boot/dts/exynos/exynos7.dtsi:        thermal-zones {
./arch/arm64/boot/dts/hisilicon/hi6220.dtsi:        thermal-zones {
./arch/arm64/boot/dts/hisilicon/hi3660.dtsi:        thermal-zones {
./arch/arm64/boot/dts/renesas/r8a77965.dtsi:    thermal-zones {
./arch/arm64/boot/dts/renesas/r8a7795.dtsi:    thermal-zones {
./arch/arm64/boot/dts/renesas/r8a77995.dtsi:    thermal-zones {
./arch/arm64/boot/dts/renesas/r8a7796.dtsi:    thermal-zones {
./arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi:    thermal-zones {
./arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi:    thermal-zones {
./arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi:    thermal-zones {
./arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi:    thermal-zones {
./arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi:    thermal-zones {
./arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts:    thermal-zones {
./arch/arm64/boot/dts/qcom/msm8916.dtsi:    thermal-zones {
./arch/arm64/boot/dts/qcom/msm8996.dtsi:    thermal-zones {
./arch/arm64/boot/dts/mediatek/mt7622.dtsi:    thermal-zones {
./arch/arm64/boot/dts/mediatek/mt8173.dtsi:    thermal-zones {
./arch/arm64/boot/dts/arm/juno-base.dtsi:    thermal-zones {
Binary file ./arch/arm64/boot/Image matches
./arch/arm/boot/dts/exynos5420.dtsi:    thermal-zones {
./arch/arm/boot/dts/r8a7743.dtsi:    thermal-zones {
./arch/arm/boot/dts/exynos4412-odroid-common.dtsi:    thermal-zones {
./arch/arm/boot/dts/exynos4412-itop-scp-core.dtsi:    thermal-zones {
./arch/arm/boot/dts/qcom-msm8974.dtsi:    thermal-zones {
./arch/arm/boot/dts/gemini-dlink-dns-313.dts:    thermal-zones {
./arch/arm/boot/dts/omap34xx.dtsi:    thermal_zones: thermal-zones {
./arch/arm/boot/dts/qcom-apq8084.dtsi:    thermal-zones {
./arch/arm/boot/dts/exynos5422-odroidhc1.dts:    thermal-zones {
./arch/arm/boot/dts/omap4460.dtsi:    thermal-zones {
./arch/arm/boot/dts/uniphier-pxs2.dtsi:    thermal-zones {
./arch/arm/boot/dts/exynos3250-monk.dts:    thermal-zones {
./arch/arm/boot/dts/exynos4210-trats.dts:    thermal-zones {
./arch/arm/boot/dts/tegra124-jetson-tk1.dts:    thermal-zones {
./arch/arm/boot/dts/exynos4412-odroidu3.dts:    thermal-zones {
./arch/arm/boot/dts/mt7623.dtsi:    thermal-zones {
./arch/arm/boot/dts/sun6i-a31.dtsi:    thermal-zones {
./arch/arm/boot/dts/r8a7790.dtsi:    thermal-zones {
./arch/arm/boot/dts/exynos3250-artik5.dtsi:    thermal-zones {
./arch/arm/boot/dts/omap36xx.dtsi:    thermal_zones: thermal-zones {
./arch/arm/boot/dts/mt2701.dtsi:    thermal-zones {
./arch/arm/boot/dts/exynos5410.dtsi:    thermal-zones {
./arch/arm/boot/dts/exynos4210.dtsi:    thermal-zones {
./arch/arm/boot/dts/r8a7791.dtsi:    thermal-zones {
./arch/arm/boot/dts/rk312x.dtsi:    thermal-zones {
./arch/arm/boot/dts/sun5i-a13.dtsi:    thermal-zones {
./arch/arm/boot/dts/r8a7793.dtsi:    thermal-zones {
./arch/arm/boot/dts/rv1108.dtsi:    thermal-zones {
./arch/arm/boot/dts/rk3288.dtsi:    thermal_zones: thermal-zones {
./arch/arm/boot/dts/exynos4412-midas.dtsi:    thermal-zones {
./arch/arm/boot/dts/sun7i-a20.dtsi:    thermal-zones {
./arch/arm/boot/dts/exynos4-cpu-thermal.dtsi:thermal-zones {
./arch/arm/boot/dts/dra7.dtsi:    thermal_zones: thermal-zones {
./arch/arm/boot/dts/rk3128x.dtsi:    thermal_zones: thermal-zones {
./arch/arm/boot/dts/omap443x.dtsi:    thermal-zones {
./arch/arm/boot/dts/bcm-nsp.dtsi:    thermal-zones {
./arch/arm/boot/dts/exynos5250.dtsi:    thermal-zones {
./arch/arm/boot/dts/omap5.dtsi:    thermal-zones {
./arch/arm/boot/dts/tegra124.dtsi:    thermal-zones {
./arch/arm/boot/dts/exynos3250-rinato.dts:    thermal-zones {
./arch/arm/boot/dts/tegra124-apalis.dtsi:    thermal-zones {
./arch/arm/boot/dts/qcom-apq8064.dtsi:    thermal-zones {
./arch/arm/boot/dts/rv1126.dtsi:    thermal_zones: thermal-zones {
./arch/arm/boot/dts/rk322x.dtsi:    thermal_zones: thermal-zones {
./arch/arm/boot/dts/bcm5301x.dtsi:    thermal-zones {
./arch/arm/boot/dts/sun8i-a33.dtsi:    thermal-zones {
./arch/arm/boot/dts/ls1021a.dtsi:        thermal-zones {
./arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi:    thermal-zones {
./arch/arm/boot/dts/tango4-smp8758.dtsi:    thermal-zones {
./arch/arm/boot/dts/bcm283x.dtsi:    thermal-zones {
./arch/arm/boot/dts/sun4i-a10.dtsi:    thermal-zones {
./arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/powerpc/fsl/t1023si-post.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/powerpc/fsl/t1040si-post.dtsi:    thermal-zones {
grep: ./scripts/dtc/include-prefixes/cris: No such file or directory
grep: ./scripts/dtc/include-prefixes/metag: No such file or directory
./scripts/dtc/include-prefixes/arm64/nvidia/tegra210.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/nvidia/tegra132.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/nvidia/tegra186.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/rockchip/rk3368.dtsi:    thermal_zones: thermal-zones {
./scripts/dtc/include-prefixes/arm64/rockchip/px30.dtsi:    thermal_zones: thermal-zones {
./scripts/dtc/include-prefixes/arm64/rockchip/rk3328.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/rockchip/px30-robot-no-gpu.dtsi:    /delete-node/ thermal-zones;
./scripts/dtc/include-prefixes/arm64/rockchip/px30-robot-no-gpu.dtsi:    thermal_zones: thermal-zones {
Binary file ./scripts/dtc/include-prefixes/arm64/rockchip/rk3399-firefly-aio-lvds-HSX101H40C.dtb matches
./scripts/dtc/include-prefixes/arm64/rockchip/rk3399pro-npu.dtsi:    thermal_zones: thermal-zones {
./scripts/dtc/include-prefixes/arm64/rockchip/rk1808.dtsi:    thermal_zones: thermal-zones {
./scripts/dtc/include-prefixes/arm64/rockchip/.rk3399-firefly-aio-lvds-HSX101H40C.dtb.dts.tmp: thermal_zones: thermal-zones {
./scripts/dtc/include-prefixes/arm64/rockchip/rk3399.dtsi:    thermal_zones: thermal-zones {
./scripts/dtc/include-prefixes/arm64/rockchip/rk3308.dtsi:    thermal_zones: thermal-zones {
./scripts/dtc/include-prefixes/arm64/socionext/uniphier-ld20.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/exynos/exynos5433-tmu.dtsi:thermal-zones {
./scripts/dtc/include-prefixes/arm64/exynos/exynos7.dtsi:        thermal-zones {
./scripts/dtc/include-prefixes/arm64/hisilicon/hi6220.dtsi:        thermal-zones {
./scripts/dtc/include-prefixes/arm64/hisilicon/hi3660.dtsi:        thermal-zones {
./scripts/dtc/include-prefixes/arm64/renesas/r8a77965.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/renesas/r8a7795.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/renesas/r8a77995.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/renesas/r8a7796.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/freescale/fsl-ls1046a.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/freescale/fsl-ls208xa.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/freescale/fsl-ls1043a.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/freescale/fsl-ls1088a.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/freescale/fsl-ls1012a.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/amlogic/meson-gxm-khadas-vim2.dts:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/qcom/msm8916.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/qcom/msm8996.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/mediatek/mt7622.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/mediatek/mt8173.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm64/arm/juno-base.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/exynos5420.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/r8a7743.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/exynos4412-odroid-common.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/exynos4412-itop-scp-core.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/qcom-msm8974.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/gemini-dlink-dns-313.dts:    thermal-zones {
./scripts/dtc/include-prefixes/arm/omap34xx.dtsi:    thermal_zones: thermal-zones {
./scripts/dtc/include-prefixes/arm/qcom-apq8084.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/exynos5422-odroidhc1.dts:    thermal-zones {
./scripts/dtc/include-prefixes/arm/omap4460.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/uniphier-pxs2.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/exynos3250-monk.dts:    thermal-zones {
./scripts/dtc/include-prefixes/arm/exynos4210-trats.dts:    thermal-zones {
./scripts/dtc/include-prefixes/arm/tegra124-jetson-tk1.dts:    thermal-zones {
./scripts/dtc/include-prefixes/arm/exynos4412-odroidu3.dts:    thermal-zones {
./scripts/dtc/include-prefixes/arm/mt7623.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/sun6i-a31.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/r8a7790.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/exynos3250-artik5.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/omap36xx.dtsi:    thermal_zones: thermal-zones {
./scripts/dtc/include-prefixes/arm/mt2701.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/exynos5410.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/exynos4210.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/r8a7791.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/rk312x.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/sun5i-a13.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/r8a7793.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/rv1108.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/rk3288.dtsi:    thermal_zones: thermal-zones {
./scripts/dtc/include-prefixes/arm/exynos4412-midas.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/sun7i-a20.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/exynos4-cpu-thermal.dtsi:thermal-zones {
./scripts/dtc/include-prefixes/arm/dra7.dtsi:    thermal_zones: thermal-zones {
./scripts/dtc/include-prefixes/arm/rk3128x.dtsi:    thermal_zones: thermal-zones {
./scripts/dtc/include-prefixes/arm/omap443x.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/bcm-nsp.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/exynos5250.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/omap5.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/tegra124.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/exynos3250-rinato.dts:    thermal-zones {
./scripts/dtc/include-prefixes/arm/tegra124-apalis.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/qcom-apq8064.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/rv1126.dtsi:    thermal_zones: thermal-zones {
./scripts/dtc/include-prefixes/arm/rk322x.dtsi:    thermal_zones: thermal-zones {
./scripts/dtc/include-prefixes/arm/bcm5301x.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/sun8i-a33.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/ls1021a.dtsi:        thermal-zones {
./scripts/dtc/include-prefixes/arm/exynos5422-odroidxu3-common.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/tango4-smp8758.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/bcm283x.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/sun4i-a10.dtsi:    thermal-zones {
./scripts/dtc/include-prefixes/arm/tegra124-apalis-v1.2.dtsi:    thermal-zones {
Binary file ./.tmp_vmlinux1 matches
Binary file ./boot.img matches
Binary file ./vmlinux matches
./drivers/thermal/qoriq_thermal.c:    np = of_find_node_by_name(NULL, "thermal-zones");
Binary file ./drivers/thermal/of-thermal.o matches
./drivers/thermal/of-thermal.c:    np = of_find_node_by_name(NULL, "thermal-zones");
./drivers/thermal/of-thermal.c:    np = of_find_node_by_name(NULL, "thermal-zones");
./drivers/thermal/of-thermal.c:    np = of_find_node_by_name(NULL, "thermal-zones");
Binary file ./.tmp_vmlinux2 matches
rootroot@rootroot-Inspiron-3880:~/fanzong/rk3399_Android10.0/kernel$

https://blog.csdn.net/weixin_38884324/article/details/80044191
獲取 RK3399 CPU 溫度

彥霖 2018-04-22 22:37:19  2951  收藏 6

linux 代碼 ( 你可以用 adb 工具來測試 ):

cat /sys/class/thermal/thermal_zone0/temp

輸出:53333,代表 53.333 度

console:/ $ cd /sys/class/thermal/
console:/sys/class/thermal $
console:/sys/class/thermal $ ll
total 0
lrwxrwxrwx 1 root root 0 2021-04-30 08:42 cooling_device0 -> ../../devices/virtual/thermal/cooling_device0
lrwxrwxrwx 1 root root 0 2021-04-30 08:42 cooling_device1 -> ../../devices/virtual/thermal/cooling_device1
lrwxrwxrwx 1 root root 0 2021-04-30 08:42 cooling_device2 -> ../../devices/virtual/thermal/cooling_device2
lrwxrwxrwx 1 root root 0 2021-04-30 07:08 thermal_zone0 -> ../../devices/virtual/thermal/thermal_zone0
lrwxrwxrwx 1 root root 0 2021-04-30 07:08 thermal_zone1 -> ../../devices/virtual/thermal/thermal_zone1
lrwxrwxrwx 1 root root 0 2021-04-30 07:08 thermal_zone2 -> ../../devices/virtual/thermal/thermal_zone2
console:/sys/class/thermal $
console:/sys/class/thermal $ cd the
thermal_zone0/  thermal_zone1/  thermal_zone2/
console:/sys/class/thermal $ cd thermal_zone0
console:/sys/class/thermal/thermal_zone0 $
console:/sys/class/thermal/thermal_zone0 $ ll
total 0
-r--r--r-- 1 root   root   4096 2021-04-30 08:42 available_policies
lrwxrwxrwx 1 root   root      0 2021-04-30 08:42 cdev0 -> ../cooling_device0
-r--r--r-- 1 root   root   4096 2021-04-30 08:42 cdev0_trip_point
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 cdev0_weight
lrwxrwxrwx 1 root   root      0 2021-04-30 08:42 cdev1 -> ../cooling_device1
-r--r--r-- 1 root   root   4096 2021-04-30 08:42 cdev1_trip_point
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 cdev1_weight
lrwxrwxrwx 1 root   root      0 2021-04-30 08:42 cdev2 -> ../cooling_device2
-r--r--r-- 1 root   root   4096 2021-04-30 08:42 cdev2_trip_point
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 cdev2_weight
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 integral_cutoff
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 k_d
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 k_i
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 k_po
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 k_pu
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 mode
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 offset
-rw-r--r-- 1 system system 4096 2021-04-30 07:08 policy
drwxr-xr-x 2 root   root      0 2021-04-30 07:08 power
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 slope
lrwxrwxrwx 1 root   root      0 2021-04-30 08:42 subsystem -> ../../../../class/thermal
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 sustainable_power
-r--r--r-- 1 root   root   4096 2021-04-30 07:21 temp
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 trip_point_0_hyst
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 trip_point_0_temp
-r--r--r-- 1 root   root   4096 2021-04-30 08:42 trip_point_0_type
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 trip_point_1_hyst
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 trip_point_1_temp
-r--r--r-- 1 root   root   4096 2021-04-30 08:42 trip_point_1_type
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 trip_point_2_hyst
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 trip_point_2_temp
-r--r--r-- 1 root   root   4096 2021-04-30 08:42 trip_point_2_type
-r--r--r-- 1 root   root   4096 2021-04-30 08:42 type
-rw-r--r-- 1 root   root   4096 2021-04-30 07:08 uevent
console:/sys/class/thermal/thermal_zone0 $
console:/sys/class/thermal/thermal_zone0 $ cat type
soc-thermal
console:/sys/class/thermal/thermal_zone0 $ cat temp
50555
console:/sys/class/thermal/thermal_zone0 $
console:/sys/class/thermal/thermal_zone0 $ cd ..
console:/sys/class/thermal $
console:/sys/class/thermal $
console:/sys/class/thermal $ ll
total 0
lrwxrwxrwx 1 root root 0 2021-04-30 08:42 cooling_device0 -> ../../devices/virtual/thermal/cooling_device0
lrwxrwxrwx 1 root root 0 2021-04-30 08:42 cooling_device1 -> ../../devices/virtual/thermal/cooling_device1
lrwxrwxrwx 1 root root 0 2021-04-30 08:42 cooling_device2 -> ../../devices/virtual/thermal/cooling_device2
lrwxrwxrwx 1 root root 0 2021-04-30 07:08 thermal_zone0 -> ../../devices/virtual/thermal/thermal_zone0
lrwxrwxrwx 1 root root 0 2021-04-30 07:08 thermal_zone1 -> ../../devices/virtual/thermal/thermal_zone1
lrwxrwxrwx 1 root root 0 2021-04-30 07:08 thermal_zone2 -> ../../devices/virtual/thermal/thermal_zone2
console:/sys/class/thermal $
console:/sys/class/thermal $
console:/sys/class/thermal $ cd the
thermal_zone0/  thermal_zone1/  thermal_zone2/
console:/sys/class/thermal $ cd thermal_zone1
console:/sys/class/thermal/thermal_zone1 $
console:/sys/class/thermal/thermal_zone1 $ ll
total 0
-r--r--r-- 1 root   root   4096 2021-04-30 08:42 available_policies
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 integral_cutoff
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 k_d
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 k_i
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 k_po
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 k_pu
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 mode
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 offset
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 passive
-rw-r--r-- 1 system system 4096 2021-04-30 07:08 policy
drwxr-xr-x 2 root   root      0 2021-04-30 07:08 power
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 slope
lrwxrwxrwx 1 root   root      0 2021-04-30 08:42 subsystem -> ../../../../class/thermal
-rw-r--r-- 1 root   root   4096 2021-04-30 08:42 sustainable_power
-r--r--r-- 1 root   root   4096 2021-04-30 08:42 temp
-r--r--r-- 1 root   root   4096 2021-04-30 08:42 type
-rw-r--r-- 1 root   root   4096 2021-04-30 07:08 uevent
console:/sys/class/thermal/thermal_zone1 $ cat type
gpu-thermal
console:/sys/class/thermal/thermal_zone1 $ cat temp
50000
console:/sys/class/thermal/thermal_zone1 $
console:/sys/class/thermal/thermal_zone1 $ cd ../th
thermal_zone0/  thermal_zone1/  thermal_zone2/
d ../thermal_zone2                                                            <
console:/sys/class/thermal/thermal_zone2 $
console:/sys/class/thermal/thermal_zone2 $
console:/sys/class/thermal/thermal_zone2 $ ll
total 0
-r--r--r-- 1 root   root   4096 2021-04-30 08:43 available_policies
drwxr-xr-x 3 root   root      0 2021-04-30 07:08 hwmon0
-rw-r--r-- 1 root   root   4096 2021-04-30 08:43 integral_cutoff
-rw-r--r-- 1 root   root   4096 2021-04-30 08:43 k_d
-rw-r--r-- 1 root   root   4096 2021-04-30 08:43 k_i
-rw-r--r-- 1 root   root   4096 2021-04-30 08:43 k_po
-rw-r--r-- 1 root   root   4096 2021-04-30 08:43 k_pu
-rw-r--r-- 1 root   root   4096 2021-04-30 08:43 offset
-rw-r--r-- 1 root   root   4096 2021-04-30 08:43 passive
-rw-r--r-- 1 system system 4096 2021-04-30 07:08 policy
drwxr-xr-x 2 root   root      0 2021-04-30 07:08 power
-rw-r--r-- 1 root   root   4096 2021-04-30 08:43 slope
lrwxrwxrwx 1 root   root      0 2021-04-30 08:43 subsystem -> ../../../../class/thermal
-rw-r--r-- 1 root   root   4096 2021-04-30 08:43 sustainable_power
-r--r--r-- 1 root   root   4096 2021-04-30 08:43 temp
-r--r--r-- 1 root   root   4096 2021-04-30 08:43 type
-rw-r--r-- 1 root   root   4096 2021-04-30 07:08 uevent
console:/sys/class/thermal/thermal_zone2 $ cat type
test_battery
console:/sys/class/thermal/thermal_zone2 $ cat temp
2600
console:/sys/class/thermal/thermal_zone2 $

图片

图片

Microsoft Windows [版本 10.0.18363.1500]
(c) 2019 Microsoft Corporation。保留所有权利。

C:\Users\DELL>adb shell
rk3399_firefly_aio_lvds:/ $ cat /sys/class/thermal/thermal_zone*/type
soc-thermal
gpu-thermal
test_battery
rk3399_firefly_aio_lvds:/ $
rk3399_firefly_aio_lvds:/ $ cat /sys/class/thermal/thermal_zone*/temp
50555
50000
2600
rk3399_firefly_aio_lvds:/ $

图片

20210427瑞芯微RK3399在Android10下查看芯片温度相关推荐

  1. rk3399性能_AIIA AI公布首轮评估结果:瑞芯微RK3399数据抢眼

    人工智能产业发展联盟(AIIA)正式发布"AIIA DNN benchmark V0.5"首轮评估结果.该评估在AIIA权威测试平台完成,基于端侧推断任务的深度神经网络处理器基准测 ...

  2. 瑞芯微RK3399助力AI场景应用

    瑞芯微RK3399在人工智能产业发展联盟(AIIA)的评估中数据亮眼.在图像分类.目标检测.超分辨率.分割网络四大典型应用场景中,其深度学习处理能力表现超强. 此外,在两大类评测指标上,指标包含速度( ...

  3. 瑞芯微RK3399芯片开发板香橙派4的HDMI音频播放功能测试(Linux系统)

    瑞芯微RK3399芯片开发板香橙派OrangePi 4(16G)用拥有4G内存16G存储,集成双频WiFi.蓝牙5.0.HDMI输出.千兆网口.USB接口等丰富的功能接口,支持双摄像头输入和两路视频输 ...

  4. 瑞芯微RK3399交叉编译MPP

    上一篇介绍了如何在ubuntu下搭建瑞芯微RK3399的检查编译环境,现在就要开始交叉编译MPP来进行对视频的硬编硬解. 这里RK3399用的aarch64架构芯片,上面跑的linux,如果编译and ...

  5. 瑞芯微RK3399嵌入式开发板Wifi 驱动 build in 方式

     RK3399的CPU采用big.LITTLE大小核架构,双Cortex-A72大核+四Cortex-A53小核结构,对整数.浮点.内存等作了大幅优化,在整体性能.功耗及核心面积三个方面都具革命性提升 ...

  6. 方案展示 | 基于瑞芯微RK3399的3D打印机解决方案

    在电影<机械公敌>中,拥有一条炫酷机械手臂的戴尔令观众念念不忘.随着科技的不断发展,科幻作品中天马行空的想象已成为触手可及的现实,因为,3D打印技术正在悄然改变这个世界. 3D打印是快速成 ...

  7. 瑞芯微RK3399设备树传递分析

    本文主要记录了在友善之臂使用的基于瑞芯微github上uboot的rkdevelop分支,以及瑞星微官方的stable-4.4-rk3399-linux分支中,uboot如何给linux内核所需要的k ...

  8. 瑞芯微RK3399六核-迅为3399开发板介绍

    迅为3399开发板基于瑞芯微的RK3399处理器设计,Rockchip RK3399是瑞芯微推出的一款低功耗.高性能的应用处理器芯片,该芯片基于Big.Little架构,即具有独立的NEON协同处理器 ...

  9. 瑞芯微RK3188开发板,RK3188平板芯片设计手册资料

    瑞芯微RK3188开发板使用手册: 一. 安装 RockUsb 驱动 Rockusb 驱动放在 RK3188\tools\RockusbDriver 文件夹中,当你第一次使用 RK3188 SDK 开 ...

最新文章

  1. 堪称为经典游戏设计帖整理20个点击回复超高的精品贴
  2. 搞科研不如当老师香?南科大助理教授“跳槽”深圳中学当老师
  3. 如何理解 Web API
  4. 用户操作拦截并作日志记录--自定义注解+AOP拦截
  5. 6 Springboot 整合Redis
  6. Revit API取得变量的内参名称
  7. hdu 5139(离线处理)
  8. Java 答疑:编译器和解释器有何区别?Java 语言属于编译型编程语言还是解释型编程语言?
  9. win 10 系统怎么显示隐藏文件
  10. liunx下安装tomcat7.0.82
  11. 【转载】Unity3D导入FBX模型的相关属性介绍
  12. 十八款好用的电脑视频剪辑软件
  13. spring-boot自动配置的原理及实现
  14. c语言查询学号(字符串),c语言短学期
  15. 2.4.3 Mybatis 高级查询, 复杂映射, 返回主键, 动态SQL if, set, foreach, 核心配置文件深入,plugins标签, 多表查询, 嵌套查询
  16. MySQL主从同步设置
  17. 微软亚洲研究院开发的对对联软件
  18. Taurus.MVC 2.2.3.4 :WebAPI 实现权限控制认证(及功能增强说明)
  19. 大规模敏捷实践指南(四):SAFe中的特殊迭代-Innovation and Planning (IP)迭代
  20. 物联网竞赛LoRa模块双击实现某些功能-新大陆

热门文章

  1. Tomcat的端口配置
  2. Java获取上周一周末和上月初月末
  3. 人到中年,越活越抠,越活越卑微
  4. Gerrit仓库备份方案
  5. iOS 苹果审核被下架的部分原因
  6. excel汇总怎么做?
  7. (六)图数据neo4j之cypher(一)
  8. 微信Mac版 v3.0.0正式版上线!mac电脑上也能在朋友圈点赞和互动!
  9. Java 应该怎么学
  10. Python正则表达式中的re.S,re.M,re.I的作用