Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4960

Device Tree • pwm-gpio-fan overlay fails on 32-bit kernel (CM4)

$
0
0
For some test I need to run a 32-bit kernel on a CM4 DUT

I have enabled the 'pwm-gpio-fan' overlay with a custom fan-curve which works as expected on the 64-bit kernel.

Code:

# PWM GPIO fan via SW PWM dtoverlay=pwm-gpio-fan,fan_gpio=18# change the cooling mapdtparam=fan_temp0=36000,fan_temp0_hyst=2000,fan_temp0_speed=90dtparam=fan_temp1=40000,fan_temp1_hyst=3000,fan_temp1_speed=150dtparam=fan_temp2=52000,fan_temp2_hyst=4000,fan_temp2_speed=200dtparam=fan_temp3=58000,fan_temp3_hyst=5000,fan_temp3_speed=255
Adding

Code:

# run 32-bit kernelarm_64bit=0
to config.txt for running a 32-bit kernel results in below error in kernel log

Code:

pi@peppylite:~/linux $ uname -aLinux peppylite 6.12.17-v7l+ #1861 SMP Wed Mar  5 16:01:33 GMT 2025 armv7l GNU/Linux

Code:

[    3.632772] pwm-fan pwm-fan: Configured period too big[    3.632784] pwm-fan pwm-fan: probe with driver pwm-fan failed with error -22
has anybody else tested the overlay on 32-bit? How to solve this (as I need to have the fan running for the next tasks)?

Statistics: Posted by aBUGSworstnightmare — Mon Mar 10, 2025 4:28 pm — Replies 0 — Views 40



Viewing all articles
Browse latest Browse all 4960

Trending Articles