Raspberry Pi + TFT IPS Displays + Raspberry Pi OS

For the Raspberry Pi 4 B there are now a wide range of TFT displays available. This was made possible by the "Linux Framebuffer driver for small TFT display modules" by notro. In the past this driver had to be installed in the kernel itself, but today it is integrated in the kernel or the display manufacturers offer a ready Raspian IMAGE for the microSDHC memory card.

Manual install operating system images (.img)

A good guide can be found on the Raspberry Pi website: Installing Operating System Images

In short: Download + Unzip + Check with "df -h or fdisk -l" which DEVICE name the Micro SD card has and write it:

dd if=2022-04-04-raspios-bullseye-arm64-lite.img of=/dev/sdX
1.9 GiB [========================================================>] 100%

Mount von der Speicherkarte die Partition bootfs

touch ssh

echo "pi:$(echo 'raspberry' | openssl passwd -6 -stdin)" > userconf

Setting up Raspberry Pi

Optional:

pi@raspberrypi ~ $ sudo dpkg-reconfigure locales
[*] en_US.UTF-8 UTF-8
<Ok>
en_US.UTF-8
<Ok>

pi@raspberrypi ~ $ sudo dpkg-reconfigure tzdata
America
<Ok>
New York
<Ok>
Current default time zone: 'America/New_York'
...

sudo reboot

1. Select the overlay

add to the end

pi@raspberrypi ~ $ sudo nano /boot/config.txt

# NeoSec TinyLCD 3.5"
dtoverlay=tinylcd35,rotate=270,speed=48000000,touch

# Adafruit PiTFT 3.5"
dtoverlay=pitft35-resistive,rotate=270,speed=42000000

# Watterott RPi-Display 2.8"
dtoverlay=rpi-display,rotate=270,speed=32000000,touch
pi@raspberrypi ~ $ git clone https://github.com/waveshare/LCD-show.git
pi@raspberrypi ~ $ cd LCD-show/
pi@raspberrypi:~/LCD-show $ sudo cp ./waveshare4c-overlay.dtb /boot/overlays/waveshare4c.dtbo
pi@raspberrypi:~/LCD-show $ sudo cp ./waveshare4c-overlay.dtb /boot/overlays/

pi@raspberrypi ~ $ sudo nano /boot/config.txt

#Waveshare 4.0 [4inch_RPi_LCD_(C)]
dtoverlay=waveshare4c:rotate=90

2a. change the default console font

Go through the following menu choices:
Encoding to use on the console: <UTF-8>
Character set to support: <Guess optimal character set>
Font for the console: Terminus (default is VGA)
Font size: 6x12 (framebuffer only)

pi@raspberrypi ~ $ sudo dpkg-reconfigure console-setup

2b. Allow the console to be shown on the display from boot-up

add the following TO THE END OF THE LINE

pi@raspberrypi ~ $ sudo nano /boot/cmdline.txt

fbcon=map:10

3. Jessi: Prevents blank screen timeout (console)

pi@raspberrypi ~ $ sudo nano /etc/kbd/config

BLANK_TIME=0

3a. Jessi Bug - blank screen on console

add the following TO THE END OF THE LINE

pi@raspberrypi ~ $ sudo nano /boot/cmdline.txt

consoleblank=0

4. Reboot the Raspberry Pi

When the Pi reboots the screen will go from white to black - the display has been successfully initialised and boot-up text will appear on the display.

pi@raspberrypi ~ $ sudo reboot

Comments:

Allowed HTML-Tags: <strong>, <a href="">, <em>
Info: Comment will be shown shortly after processing.
  • icon_user

    20.10.2016 16:20 - Paul Sutherland

    Thank you! Didn't even need the image file with your solution. Works on Raspberry Pi 3.