• 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 version:Raspberry 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: Raspberry Pi 5 Silver-Shadow Case Raspberry Pi 5 RTC charge Pi5 Fan Attitude Sensor Milk-V Duo S WIFI Configuration IPS ESP32-S3 Industrial RS485 Development Board with WLED Strip Driver and for XiaoZhi AI Voice Interaction Raspberry Pi CM5 IO BASE A Mini Board a Base Development Platform Compute Module 5 IO Board Industrial Modbus RTU Dual Ethernet RJ45 To 8ch POE ETH Relay (C) PoE Power over Ethernet ESP32 C6 Development Board with 1.32inch AMOLED Display QSPI Interface WiFi 6 Audio Acquisition Deepseek SpotPear Raspberry Pi Mini TV ESP32 S3 AI 1.85 inch Development Board with 1.85inch LCD Touchscreen Round Screen Electronic Badge Deepseek Arduino MLX90641 Luckfox Pico SPI LCD Raspberry Pi 5 Raspberry Pi Compute Module 5 PoE BASE A IO Board RJ45 For CM5 Lite/eMMC ESP32 RISC-V Raspberry Pi 13.3 inch DSI MIPI Display 13.3inch LCD Capacitive TouchScreen 1920x1080