[rpi3] [aarch64] [kernel] Fix thermal modules abscence

Problems with packages? Post here, using [tags] of the package name.

[rpi3] [aarch64] [kernel] Fix thermal modules abscence

Postby pqatsi » Mon Jan 08, 2018 4:12 pm

Hello!

I'm running a RPi3 aarch64 and as cited in https://github.com/raspberrypi/linux/issues/2136#issuecomment-318800268 - the needed thermal modules aren't built in current release and the module is available in upstream kernel.

Environment:

Code: Select all
[root@haslam ~]# uname -a
Linux haslam.astolfonet.leonardoamaral.com.br 4.14.12-1-ARCH #1 SMP Fri Jan 5 17:28:52 MST 2018 aarch64 GNU/Linux
[root@haslam ~]# zgrep -i BCM2835 /proc/config.gz | grep -i thermal ; echo $?
1
[root@haslam ~]# dtc -I fs /proc/device-tree | egrep '(model|thermal)'
<stdout>: Warning (unit_address_vs_reg): Node /soc has a reg or ranges property, but no unit name
<stdout>: Warning (unit_address_vs_reg): Node /soc/local_intc has a reg or ranges property, but no unit name
<stdout>: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
<stdout>: Warning (simple_bus_reg): Node /soc/gpu missing or empty reg/ranges property
<stdout>: Warning (simple_bus_reg): Node /soc/power missing or empty reg/ranges property
<stdout>: Warning (simple_bus_reg): Node /soc/firmware missing or empty reg/ranges property
<stdout>: Warning (simple_bus_reg): Node /soc/local_intc simple-bus unit address format error, expected "40000000"
<stdout>: Warning (simple_bus_reg): Node /soc/aux@0x7e215000 simple-bus unit address format error, expected "7e215000"
<stdout>: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e980000:phys[0])
   compatible = "raspberrypi,3-model-b", "brcm,bcm2837";
   model = "Raspberry Pi 3 Model B";
      thermal@7e212000 {
         compatible = "brcm,bcm2837-thermal";
         #thermal-sensor-cells = <0x0>;
   thermal-zones {
      cpu-thermal {
         thermal-sensors = <0x2>;


Its possible to patch the Kconfig?
pqatsi
 
Posts: 1
Joined: Mon Jan 08, 2018 4:04 pm

Return to Packages

Who is online

Users browsing this forum: No registered users and 3 guests