4inch RPi LCD (A)
How to apply the RPi LCD in a custom Raspbian system mirror image?
Firstly, you should make sure the custom mirror image used can boot to desktop. Run the following command:
Check the configuration: Enable Boot to Desktop/Scratch -> Desktop Log in as user ‘pi’ at the graphical desktop
Download RPi LCD driver and unzip it. Copy the file LCD-show.tar.gz into your custom mirror image via the network or an U disk. Run the following command:
tar xvf LCD-show.tar.gz cd LCD-show/
- For 3.2inch RPi LCD (B), run the command:
- For 3.5inch RPi LCD (A), run the command:
- For 4inch RPi LCD (A), run the command:
- For 5inch HDMI LCD, run the command:
Then, wait a few minutes, the system will restart automatically. When finished, the RPi LCD is ready to use.
To switch to HDMI display, run the command:
The system mirror image cannot run after updated. Why?
You should update the mirror image in the same manner as the method shown below, otherwise the system mirror image may not run after updated:
sudo apt-mark hold raspberrypi-bootloader sudo apt-get update sudo apt-get upgrade