fan continously runs on kernel 5.8 but I need to use 5. kernel for PCIe sata card
#5
(10-20-2020, 10:38 AM)sigmaris Wrote: You can apply the overlay a few different ways - you can use the fdtoverlay tool from the device-tree-compiler package to take the base .dtb and the compiled overlay and write the result to a compiled flat device tree:

Code:
fdtoverlay -i base.dtb -o base_with_overlay.dtb overlay.dtbo


... then use the base_with_overlay.dtb to boot.

Or you can get U-boot to load and apply it in-memory during boot - it sounds like Armbian supports this for Allwinner but maybe not for Rockchip? I have not been using Armbian so I don't know the details of how this works. I use a custom U-Boot script to apply the overlays using the fdt apply command.

Whether or not this is better than running the fan constantly depends on what you want - I have an open case with the fan mounted on the CPU heatsink, so it makes sense to control it according to the CPU temperature reading. It is normally off unless I'm compiling something using all 6 cores. For your use-case, it sounds like you have the NAS case and so maybe have the fan mounted on the case, not the CPU heatsink, and the fan is cooling not only the board but some HDDs, so maybe it is better to run the fan all the time to cool the whole case - depends what you think really.


Hearing you explain it I think your right, with a sealed case, the tall heatsink, the 80mm case fan and trying to cool the SSD's as well I should probably have it running all the time just at a lower speed rather than flat out. I think ill just add
Code:
echo 128 > /sys/devices/platform/pwm-fan/hwmon/hwmon0/pwm1


 to the /etc/rc.local file and have it control the fan speed manually at boot.

I'll run some some tests to see what is the best value to use the fan at for my setup .

I appreciate you taking the time to explain how to apply overlays to the device tree I will definitely be doing more research into this, now that I understand it a little better,
its a very interesting topic that I've seen mentioned a few times but never really understood it or gave it much thought .

thanks again for your help and advice . Smile


Messages In This Thread
RE: fan continously runs on kernel 5.8 but I need to use 5. kernel for PCIe sata card - by GreyLinux - 10-20-2020, 10:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mainline U-Boot with SPI, NVMe and SATA boot support sigmaris 108 119,279 09-25-2023, 12:46 AM
Last Post: ChriChri
  PCIE interface power on too late Slark Xiao 0 1,009 11-29-2022, 11:56 PM
Last Post: Slark Xiao
  Sata HD stopped booting db579 2 2,164 03-11-2022, 03:34 PM
Last Post: db579
  PCIe gen1 timeout - how to debug tosi 3 4,563 03-10-2022, 05:06 PM
Last Post: db579
  Anyone try an NVIDIA GPU in the PCIe slot? Paraplegic Racehorse 0 1,737 04-15-2021, 11:46 AM
Last Post: Paraplegic Racehorse
  Never ever mix up CPU board connector with 8-pin PCIE connector LMM 0 1,764 02-11-2021, 10:18 AM
Last Post: LMM
  PCIe Armbian and Ayufan for nvme ssd LMM 1 2,671 02-03-2021, 04:38 PM
Last Post: LMM
Bug Constant freezes or kernel panics data_kraken 7 7,127 12-23-2020, 11:17 AM
Last Post: LMM
  Rockpro64 with PCI FC Card - Not booting (Sometimes) MSteam 1 2,925 10-25-2020, 07:42 PM
Last Post: MSteam
  RockPro64 SSD Expansion Board/SATA Shield as0zial 5 7,605 10-18-2020, 08:05 PM
Last Post: revoman

Forum Jump:


Users browsing this thread: 1 Guest(s)