MNT Reform: Open Source Portable Computer https://mntre.com/reform
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.6KB

  1. Thermal
  2. =======
  3. The main source of heat inside Reform is the i.MX6 SoC and its memory chips. Most of the heat goes into the blue passive heatsink that is glued to it. A fan which is mounted to the bottom plate then blows air over the heatsink into the direction of the ports, where it can escape through gaps in the case.
  4. The fan is needed to push hot air out of the case, preventing overheating of the system. Normally, its full power is only needed when the system is under heavy load, for example when the GPU (3D graphics processor) is very active or all 4 cores are busy compiling code. The fan should turn on to full power when the SoC temperature is over 65 degrees celcius.
  5. One of the three fan cables (orange) connects to the PWM1 pin of the i.MX6. The fan's speed can be controlled via pulse width modulation. This is usually the job of the reformd script, which monitors the core temperature and sets the fan to full power when the temperature is over 65 degrees Celcius.
  6. To check the temperature of the system, you can use the command:
  7. .. code-block:: none
  8. cat /sys/class/thermal/thermal_zone0/temp
  9. The following is an example of commands that reformd uses to change the fan speed (in this instance, to set it to 75%):
  10. .. code-block:: none
  11. # make the first PWM device available
  12. echo 0 > /sys/class/pwm/pwmchip1/export
  13. # define what a full period is
  14. echo 10000 > /sys/class/pwm/pwmchip1/pwm0/period
  15. # set how much of this period should be in the "ON" state (75%)
  16. echo 7500 > /sys/class/pwm/pwmchip1/pwm0/duty_cycle
  17. # enable the PWM output
  18. echo 1 > /sys/class/pwm/pwmchip1/pwm0/enable