This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM5728:thermal_zone5已消失

Guru**** 2387080 points
Other Parts Discussed in Thread: TMP102
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1493723/am5728-thermal_zone5-has-disappeared

器件型号:AM5728
主题:TMP102中讨论的其他器件

工具/软件:

您好、

我们将把一个应用从 Linux RT SDK 6迁移到9。

在旧 SDK 上...

root@am57xx-evm:~# uname -a
Linux am57xx-evm 4.19.94-rt39-ga242ccf3f1 #1 SMP PREEMPT RT Fri Feb 9 14:02:19 UTC 2024 armv7l GNU/Linux
root@am57xx-evm:~# cat /sys/class/thermal/thermal_zone*/type
cpu_thermal
gpu_thermal
core_thermal
dspeve_thermal
iva_thermal
board_thermal

在新 SDK 上...

root@am57xx-evm-ep00075:~# uname -a
Linux am57xx-evm-ep00075 6.1.119-rt45-ti-rt-g9e8992fb839c #1 SMP PREEMPT_RT Sat Dec  7 07:19:37 UTC 2024 armv7l GNU/Linux
root@am57xx-evm-ep00075:~# cat /sys/class/thermal/thermal_zone*/type
cpu_thermal
gpu_thermal
core_thermal
dspeve_thermal
iva_thermal

缺少的条目是热区5。  我们用它来驱动外壳风扇。

我怀疑这是某种内核配置,但我没有找到吸烟枪。  我在此端口中遇到的大多数问题是内核配置从4.19大大更改到6.1。

我查看了 DTS 文件、两个版本仍然有电路板散热区域(THERMAL_zone5)条目。

恢复散热区的后续步骤是什么?

谢谢、

Nathan

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    NVM、请查看 TRM、没有5个传感器。

    查看 am57xx-EVM 原理图、我看到添加了一个 i2c 传感器。

    这是缺少的内核配置... CONFIG_SENSOR_TMP102=y

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Nathan、

    感谢您提交解决问题的方法。

    此致、

    Josue