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

Troubleshooting • PoE HAT not working when using buildroot image

$
0
0
I'm currently powering my Pi4 using official Raspberry Pi PoE HAT. The OS image I'm using is built from buildroot-2024.02. Pi is able to boot properly however the PoE HAT fan is not spinning at all regardless of how long the Pi is running. Current config.txt is as below:

Code:

# Please note that this is only a sample, we recommend you to change it to fit# your needs.# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE.# See http://buildroot.org/manual.html#rootfs-custom# and http://elinux.org/RPiconfig for a description of config.txt syntaxstart_file=start4.elffixup_file=fixup4.datkernel=Image# To use an external initramfs file#initramfs rootfs.cpio.gz# Disable overscan assuming the display supports displaying the full resolution# If the text shown on the screen disappears off the edge, comment this outdisable_overscan=1# How much memory in MB to assign to the GPU on Pi models having# 256, 512 or 1024 MB total memorygpu_mem_256=100gpu_mem_512=100gpu_mem_1024=100# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial consoledtoverlay=miniuart-bt# enable autoprobing of Bluetooth driver without need of hciattach/btattachdtparam=krnbt=on# enable 64bits supportarm_64bit=1# PoE Fan HAT temperature control. Working for default Raspberry Pi image# Fan still not spinning regardless of using rpi-poe or rpi-poe-plus dtoverlaydtoverlay=rpi-poe#dtoverlay=rpi-poe-plusdtparam=poe_fan_temp0=50000dtparam=poe_fan_temp1=60000dtparam=poe_fan_temp2=70000dtparam=poe_fan_temp3=80000
When I run "lsmod" on buildroot OS, it doesn't show poe module being loaded as expected. In the normal Raspberry Pi OS, it will show result below:

Code:

pi@raspberry:/ $ lsmod | grep poepwm_raspberrypi_poe    16384  1rpi_poe_power          16384  0
I've double check the buildroot image and confirm the poe modules is indeed exists and able to load using modprobe command. My question is how do I make the buildroot OS automatically load the poe modules during boot based on config.txt? Or did I miss anything in the buildroot config? Currently I'm using the default config using "raspberrypi4-64-defconfig" to build the image.

Appreciate if anyone can point me to the correct direction.

Statistics: Posted by rasp14 — Fri May 03, 2024 8:22 am



Viewing all articles
Browse latest Browse all 5048

Trending Articles