• sales

    +86-0755-88291180

Raspberry Pi 1.54inch LCD-Retropie-Display configuration tutorial (device tree)

Official image version
retropie-buster-4.7-xxxx.img

Board versionRaspberry Ri Zero/Zero 2/3B/4B/CM4

Firstly , you need update your retropie os . Make sure all software updated ok, No errors.
If have any errors, You need try again or check your internet.
Some errors will make display not work
sudo apt-get update
sudo apt-get upgrade -y

Download lcd154.dtbo to your pi
sudo cp lcd154.dtbo /boot/overlays/

sudo nano /boot/config.txt
Add the following code

dtparam=spi=on

dtoverlay=lcd154:rotate=270

hdmi_force_hotplug=1

max_usb_current=1

hdmi_group=2

hdmi_mode=1

hdmi_mode=87

hdmi_cvt 480 480 60 6 0 0 0

hdmi_drive=2

display_rotate=0
dtoverlay=dwc2,dr_mode=host
avoid_warnings=1


Download rpi-fbcp.zip to your pi
unzip rpi-fbcp.zip

cd rpi-fbcp/build/

sudo install fbcp /usr/local/bin/fbcp

 

sudo nano /etc/rc.local
Add the following code
sleep 7

fbcp &
like the following picture


To reboot with using this command sudo reboot

Then the LCD will display ok

TAG: ESP32 ST7789 configuration ESP32-C3-Ornament-Trinket-LVGL-Astronaut-Clock-Watch-MINI-TV-1.69inch-Round-LCD-TouchScreen-ST7789-240x280 Raspberry Pi 7 inch DSI MIPI LCD TouchScreen Display 7inch 720x1280 For Luckfox Lyra RK3506/ESP32-P4/Luckfox Omni3576 Raspberry Pi RP2040 Keyboard PI5 Case Spotpear Program MP2.5GD Raspberry Pi 5 PCIe to Dual 2.5G Double Ethernet HAT Pi5 RTL8125 Raspberry Pi 5 NVMe PI5 SpotPear Raspberry Pi AI Camera Official Original 12MP IMX500 Intelligent visual Sensor On-Board RP2040 Raspberry Pi display i7-1165G7 Python HTTP Request Communication Mini TV Raspberry Pi 8 inch DSI MIPI LCD TouchScreen Display 8inch 800x1280 For Luckfox Lyra RK3506/ESP32-P4/Luckfox Omni3576 ESP32-S3N8R8 7inch LCD Display TouchScreen 800×480 WiFi Bluetooth CAN RS485 Sensor White X1010 Raspberry Pi 5 PCIe FFC Connector to Standard PCIe x4 Slot Expansion Board