Changes between Version 7 and Version 8 of malibu/gw3089gblade


Ignore:
Timestamp:
04/14/2023 08:56:17 PM (14 months ago)
Author:
Ryan Erbstoesser
Comment:

add more thermal

Legend:

Unmodified
Added
Removed
Modified
  • malibu/gw3089gblade

    v7 v8  
    4949== LED
    5050
    51 A front panel LED is supported
     51A front panel LED is supported.
    5252
    53 == Cooling Fan
     53When power is applied, the LED will be a solid green.
    5454
    55 The fan runs at specific setpoints.
    56 Note also the processor will throttle down if the fan isn't able to achieve proper cooling.
     55The LED will present a green heartbeat pattern is shown once the board is booted into Linux.
     56
     57To disable the heartbeat LED:
     58{{{
     59root@jammy-malibu:~# echo none > /sys/class/leds/green\:heartbeat/trigger #disable default green heartbeat
     60root@jammy-malibu:~# echo 255 > /sys/class/leds/red\:status/brightness #set LED to solid RED
     61}}}
     62
     63To see more Linux LED examples, see here: [wiki:linux/led]
     64
     65== Thermal & Cooling Fan
     66
     67The fan runs at specific set points.
     68The trip points are set at 50C, 60C and 80C (as shown in the device tree [https://github.com/Gateworks/linux-malibu/blob/v6.1-malibu/arch/arm64/boot/dts/marvell/cn9130-malibu-gw8901.dts#L413 here])
     69
     70Note also the processor will throttle down if the fan isn't able to achieve proper cooling with the fan.
     71
     72The GW8901 uses standard Linux cooling-maps, thermal-zones and the pwm-fan driver.
     73
     74There are several temperature sensors on the board, identified as 'thermal_zones'.
     75These are shown in Linux under /sys/class/thermal:
     76{{{
     77root@jammy-malibu:~# ls -la /sys/class/thermal/
     78total 0
     79drwxr-xr-x  2 root root 0 Jun 27 18:28 .
     80drwxr-xr-x 62 root root 0 Jun 27 18:28 ..
     81lrwxrwxrwx  1 root root 0 Jun 27 18:28 cooling_device0 -> ../../devices/virtual/thermal/cooling_device0
     82lrwxrwxrwx  1 root root 0 Jun 27 18:28 cooling_device1 -> ../../devices/virtual/thermal/cooling_device1
     83lrwxrwxrwx  1 root root 0 Jun 27 18:31 cooling_device2 -> ../../devices/virtual/thermal/cooling_device2
     84lrwxrwxrwx  1 root root 0 Jun 27 18:28 thermal_zone0 -> ../../devices/virtual/thermal/thermal_zone0
     85lrwxrwxrwx  1 root root 0 Jun 27 18:28 thermal_zone1 -> ../../devices/virtual/thermal/thermal_zone1
     86lrwxrwxrwx  1 root root 0 Jun 27 18:28 thermal_zone2 -> ../../devices/virtual/thermal/thermal_zone2
     87lrwxrwxrwx  1 root root 0 Jun 27 18:28 thermal_zone3 -> ../../devices/virtual/thermal/thermal_zone3
     88lrwxrwxrwx  1 root root 0 Jun 27 18:28 thermal_zone4 -> ../../devices/virtual/thermal/thermal_zone4
     89lrwxrwxrwx  1 root root 0 Jun 27 18:28 thermal_zone5 -> ../../devices/virtual/thermal/thermal_zone5
     90
     91}}}
     92
     93An example temperature for thermal_zone0 would be 60738, or 60738/1000=60.738 degrees Celsius:
     94{{{
     95root@jammy-malibu:~# cat /sys/class/thermal/thermal_zone0/temp
     9660738
     97}}}
     98
     99The zones are labeled below. The AP stands for application processor, or the main CPU, with a sensor for each core of the quad core CPU. The CP0 stands for 'co-processor'.
     100{{{
     101root@jammy-malibu:~# cat /sys/class/thermal/thermal_zone*/type
     102ap-thermal-ic
     103ap-thermal-cpu0
     104ap-thermal-cpu1
     105ap-thermal-cpu2
     106ap-thermal-cpu3
     107cp0-thermal-ic
     108
     109}}}
     110
     111
    57112
    58113== 1U Rack Front Plate