-
Notifications
You must be signed in to change notification settings - Fork 496
FBTFT RPI overlays
How to make your own Device Tree overlay for the Raspberry Pi
Get dtc compiler with overlay support:
wget -c https://raw.githubusercontent.com/RobertCNelson/tools/master/pkgs/dtc.sh
chmod +x dtc.sh
./dtc.sh
Compile dtb and put it directly into it's destination:
sudo dtc -@ -I dts -O dtb -o /boot/overlays/foo-overlay.dtb foo-overlay.dts
Load the overlay by adding this to /boot/config.txt:
dtoverlay=foo
Then reboot to load the overlay.
Do you want the overlay I have made?
FBTFT has become such a success that I have way to much work with it. I'm now trying to back out of much of the work related to the end use of FBTFT. I do this in hope that I can spend some time on doing more development on the FBTFT core, which has hardly seen any real work execpt for the addition of DT support.
I see the need for a way to share these overlays, to prevent everyone from doing the same work over and over again. But I currently don't have a solution for this which doesn't include me in the loop.
Discuss here: https://github.com/notro/fbtft/issues/245
Refs:
- Example FBTFT overlays
- This is from my earlier work on DT, and can be used as a source for info on displays that don't have an overlay yet: https://github.com/notro/fbtft/blob/master/dts/rpi.dts
- Device Trees, Overlays and Parameters
- /boot/overlays/README