A tool for setting up TFT displays on a Raspberry Pi. This program is heavily based on Adafruit's PiTFT Helper.
This setup tool is used in Sticky Finger's Kali Pi.
Products: The following products are fully supported:
- 4D Systems 4DPi-24-HAT
- 4D Systems 4DPi-32
- 4D Systems 4DPi-35
- PiTFT - Assembled 320x240 2.8" TFT+Touchscreen for Raspberry Pi
- PiTFT - Assembled 480x320 3.5" TFT+Touchscreen for Raspberry Pi
- Adafruit PiTFT 2.2" HAT Mini Kit - 320x240 2.2" TFT - No Touch
- Elecrow 3.5"
- JBTek 3.5"
- KeDei 3.5"
- Kuman 3.5"
- Osoyoo 3.5"
- Raspberry Pi 7" Touch Display - Rotate display 180 so power cable is at the top
- Sainsmart 3.5"
- Waveshare 3.2"
- Waveshare 3.5"
- Waveshare 5"
The following products may need some manual calibration:
- Elecfreaks 2.2"
- Hotmcu HY28B 2.8"
- JBTek
- Sainsmart 3.2"
- Waveshare 4"
First, make sure /boot is mounted:
sudo mount | grep /boot
If /boot is not mounted, mount it now:
sudo mount /dev/mmcblk0p1 /boot
Install Sticky Finger's Kali-Pi Kernel:
cd ~
wget -O re4son_kali-pi-tft_kernel_current.tar.xz https://whitedome.com.au/re4son/downloads/11299/
tar -xJf re4son_kali-pi-tft_kernel_current.tar.xz
cd re4son_kali-pi-tft_kernel_4*
sudo ./install.sh
Reboot.
This setup tool can be found in the root directory folder of the kernel package. To update it to the latest version, just run:
./re4son-pi-tft-setup -u
re4son-pi-tft-helper
must be run with root privileges, and takes a parameter
specifying the type of TFT to configure. Invoke it like so:
sudo re4son-pi-tft-setup -t 35r -d /root
For a full list of available options, check the help:
re4son-pi-tft-setup -h
To reset all settings, just run:
re4son-pi-tft-setup -r
or
re4son-pi-tft-setup -r -d /root