sudo rm -rf LCD-show git clone https://github.com/goodtft/LCD-show
chmod -R 755 LCD-show cd LCD-show/ sudo ./MPI5001-show
After execution, the driver will be installed. The system will automatically restart, and the display screen will rotate 90 degrees to display and touch normally.
( ' XXX-show ' can be changed to the corresponding driver, and ' 90 ' can be changed to 0, 90, 180 and 270, respectively representing rotation angles of 0 degrees, 90 degrees, 180 degrees, 270 degrees)
cd LCD-show/ sudo ./rotate.sh 90
After execution, the system will automatically restart, and the display screen will rotate 90 degrees to display and touch normally.
( ' 90 ' can be changed to 0, 90, 180 and 270, respectively representing rotation angles of 0 degrees, 90 degrees, 180 degrees, 270 degrees)
If the rotate.sh prompt cannot be found, use Method 1 to install the latest drivers
hdmi_force_edid_audio=1 max_usb_current=1 hdmi_force_hotplug=1 config_hdmi_boost=7 hdmi_group=2 hdmi_mode=87 hdmi_drive=2 hdmi_cvt 800 480 60 6 0 0 0