summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-01-21 06:27:01 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-01-21 06:32:10 +0100
commit7ef5a89bf50cfe0cba7fa96605e8291d670a8df1 (patch)
tree7984661cc04b92b391ce726f5cc7bba5d0154241
parent5e469b9a652354c642bef48d341c555ff6ab70c1 (diff)
bcm28xx-bootloader: set fan speed to 25%
-rw-r--r--package/bcm28xx-bootloader/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/bcm28xx-bootloader/Makefile b/package/bcm28xx-bootloader/Makefile
index 983d63b75..e88889a1e 100644
--- a/package/bcm28xx-bootloader/Makefile
+++ b/package/bcm28xx-bootloader/Makefile
@@ -126,6 +126,18 @@ ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI3_64)$(ADK_TARGET_SYSTEM_RASPBERRY_PI4_64)
printf "enable_uart=1\n" >> \
$(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
endif
+ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI5),y)
+ printf "dtparam=fan_temp0=0\n" >> \
+ $(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
+ printf "dtparam=fan_temp0_speed=64\n" >> \
+ $(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
+ printf "dtparam=fan_temp1_speed=64\n" >> \
+ $(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
+ printf "dtparam=fan_temp2_speed=64\n" >> \
+ $(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
+ printf "dtparam=fan_temp3_speed=64\n" >> \
+ $(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
+endif
ifneq ($(ADK_RUNTIME_MPEG2_KEY),)
printf "decode_MPG2=$(ADK_RUNTIME_MPEG2_KEY)\n" >> \
$(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt