Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

FBTFT RPI overlays

notro edited this page Feb 14, 2015 · 28 revisions

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:

Clone this wiki locally