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

FBTFT RPI overlays

Alexander Lehmann edited this page Jan 27, 2016 · 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.

Refs:

Overlays

If you have made an overlay and want to share it, add a link here. GitHub Gist can be used to store the overlay.

Clone this wiki locally