Jump to content

Radxa 25W PoE Hat


joekhoobyar

Recommended Posts

At least for legacy kernels, it possible to use Radxa's overlay for the 25W PoE hat.

 

This should allow you to use the PWM fan on the PoE hat.

 

#!/bin/bash

# Install linux headers
apt-get install -y linux-headers-legacy-rk35xx

# Download and compile the device tree overlay
h=/usr/src/linux-headers-$(uname -r)
wget https://raw.githubusercontent.com/radxa/overlays/f2679399887b678dec62cb50cb44c767a2bcb293/arch/arm64/boot/dts/rockchip/overlays/rock-5b-radxa-25w-poe.dts
cpp -nostdinc -I $h/include -I $h/arch  -undef -x assembler-with-cpp rock-5b-radxa-25w-poe.dts |
	dtc -I dts -O dtb -o rock-5b-radxa-25w-poe.dtbo

# Install device tree overlay

mkdir -p /boot/overlay-user
mv rock-5b-radxa-25w-poe.dtbo /boot/overlay-user
echo 'user_overlays=rock-5b-radxa-25w-poe' >>/boot/armbianEnv.txt

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines