ok
ok
This commit is contained in:
parent
33907b4cf2
commit
b8c3838ed3
28 changed files with 722 additions and 11 deletions
22
LCD28-show
22
LCD28-show
|
@ -1,4 +1,5 @@
|
|||
sudo mkdir -p /etc/X11/xorg.conf.d
|
||||
#!/bin/bash
|
||||
sudo mkdir /etc/X11/xorg.conf.d
|
||||
sudo cp ./usr/tft9341-overlay.dtb /boot/overlays/
|
||||
sudo cp ./usr/tft9341-overlay.dtb /boot/overlays/tft9341.dtbo
|
||||
sudo cp -rf ./usr/99-calibration.conf-28 /etc/X11/xorg.conf.d/99-calibration.conf
|
||||
|
@ -6,4 +7,23 @@ sudo cp -rf ./usr/99-fbturbo.conf /usr/share/X11/xorg.conf.d/
|
|||
sudo cp ./usr/cmdline.txt /boot/
|
||||
sudo cp ./usr/inittab /etc/
|
||||
sudo cp ./boot/config-28.txt /boot/config.txt
|
||||
nodeplatform=`uname -n`
|
||||
kernel=`uname -r`
|
||||
version=`uname -v`
|
||||
if test "$nodeplatform" = "raspberrypi";then
|
||||
echo "this is raspberrypi kernel"
|
||||
version=${version%% *}
|
||||
version=${version#*#}
|
||||
echo $version
|
||||
if test $version -lt 970;then
|
||||
echo "reboot"
|
||||
else
|
||||
echo "need to update touch configuration"
|
||||
sudo dpkg -i -B xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb
|
||||
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
|
||||
echo "reboot"
|
||||
fi
|
||||
else
|
||||
echo "this is not raspberrypi kernel, no need to update touch configure, reboot"
|
||||
fi
|
||||
sudo reboot
|
||||
|
|
22
LCD32-show
22
LCD32-show
|
@ -1,4 +1,5 @@
|
|||
sudo mkdir -p /etc/X11/xorg.conf.d
|
||||
#!/bin/bash
|
||||
sudo mkdir /etc/X11/xorg.conf.d
|
||||
sudo cp ./usr/tft9341-overlay.dtb /boot/overlays/
|
||||
sudo cp ./usr/tft9341-overlay.dtb /boot/overlays/tft9341.dtbo
|
||||
sudo cp -rf ./usr/99-calibration.conf-32 /etc/X11/xorg.conf.d/99-calibration.conf
|
||||
|
@ -6,4 +7,23 @@ sudo cp -rf ./usr/99-fbturbo.conf /usr/share/X11/xorg.conf.d/
|
|||
sudo cp ./usr/cmdline.txt /boot/
|
||||
sudo cp ./usr/inittab /etc/
|
||||
sudo cp ./boot/config-32.txt /boot/config.txt
|
||||
nodeplatform=`uname -n`
|
||||
kernel=`uname -r`
|
||||
version=`uname -v`
|
||||
if test "$nodeplatform" = "raspberrypi";then
|
||||
echo "this is raspberrypi kernel"
|
||||
version=${version%% *}
|
||||
version=${version#*#}
|
||||
echo $version
|
||||
if test $version -lt 970;then
|
||||
echo "reboot"
|
||||
else
|
||||
echo "need to update touch configuration"
|
||||
sudo dpkg -i -B xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb
|
||||
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
|
||||
echo "reboot"
|
||||
fi
|
||||
else
|
||||
echo "this is not raspberrypi kernel, no need to update touch configure, reboot"
|
||||
fi
|
||||
sudo reboot
|
||||
|
|
22
LCD35-show
22
LCD35-show
|
@ -1,4 +1,5 @@
|
|||
sudo mkdir -p /etc/X11/xorg.conf.d
|
||||
#!/bin/bash
|
||||
sudo mkdir /etc/X11/xorg.conf.d
|
||||
sudo cp ./usr/tft35a-overlay.dtb /boot/overlays/
|
||||
sudo cp ./usr/tft35a-overlay.dtb /boot/overlays/tft35a.dtbo
|
||||
sudo cp -rf ./usr/99-calibration.conf-35 /etc/X11/xorg.conf.d/99-calibration.conf
|
||||
|
@ -6,4 +7,23 @@ sudo cp -rf ./usr/99-fbturbo.conf /usr/share/X11/xorg.conf.d/
|
|||
sudo cp ./usr/cmdline.txt /boot/
|
||||
sudo cp ./usr/inittab /etc/
|
||||
sudo cp ./boot/config-35.txt /boot/config.txt
|
||||
nodeplatform=`uname -n`
|
||||
kernel=`uname -r`
|
||||
version=`uname -v`
|
||||
if test "$nodeplatform" = "raspberrypi";then
|
||||
echo "this is raspberrypi kernel"
|
||||
version=${version%% *}
|
||||
version=${version#*#}
|
||||
echo $version
|
||||
if test $version -lt 970;then
|
||||
echo "reboot"
|
||||
else
|
||||
echo "need to update touch configuration"
|
||||
sudo dpkg -i -B xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb
|
||||
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
|
||||
echo "reboot"
|
||||
fi
|
||||
else
|
||||
echo "this is not raspberrypi kernel, no need to update touch configure, reboot"
|
||||
fi
|
||||
sudo reboot
|
||||
|
|
31
LCD35DPI-show
Normal file
31
LCD35DPI-show
Normal file
|
@ -0,0 +1,31 @@
|
|||
#!/bin/bash
|
||||
sudo cp -rf ./boot/config-35DPI.txt /boot/config.txt
|
||||
sudo cp ./usr/bcm2709-rpi-2-b.dtb /boot/
|
||||
sudo cp ./usr/bcm2710-rpi-3-b.dtb /boot/
|
||||
sudo cp ./usr/cmdline.txt /boot/
|
||||
sudo cp ./usr/qddpi24.dtb /boot/overlays/
|
||||
sudo cp ./usr/qddpi24.dtb /boot/overlays/qddpi24.dtbo
|
||||
sudo cp ./usr/inittab /etc/
|
||||
sudo cp -rf ./usr/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf
|
||||
sudo mkdir -p /etc/X11/xorg.conf.d
|
||||
sudo cp -rf ./usr/99-calibration.conf-3508 /etc/X11/xorg.conf.d/99-calibration.conf
|
||||
nodeplatform=`uname -n`
|
||||
kernel=`uname -r`
|
||||
version=`uname -v`
|
||||
if test "$nodeplatform" = "raspberrypi";then
|
||||
echo "this is raspberrypi kernel"
|
||||
version=${version%% *}
|
||||
version=${version#*#}
|
||||
echo $version
|
||||
if test $version -lt 970;then
|
||||
echo "reboot"
|
||||
else
|
||||
echo "need to update touch configuration"
|
||||
sudo dpkg -i -B xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb
|
||||
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
|
||||
echo "reboot"
|
||||
fi
|
||||
else
|
||||
echo "this is not raspberrypi kernel, no need to update touch configure, reboot"
|
||||
fi
|
||||
sudo reboot
|
27
LCD35H_480_320-show
Normal file
27
LCD35H_480_320-show
Normal file
|
@ -0,0 +1,27 @@
|
|||
#!/bin/bash
|
||||
sudo cp -rf ./boot/config-35-480X320.txt /boot/config.txt
|
||||
sudo cp ./usr/cmdline.txt /boot/
|
||||
sudo cp ./usr/inittab /etc/
|
||||
sudo cp -rf ./usr/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf
|
||||
sudo mkdir -p /etc/X11/xorg.conf.d
|
||||
sudo cp -rf ./usr/99-calibration.conf-3508 /etc/X11/xorg.conf.d/99-calibration.conf
|
||||
nodeplatform=`uname -n`
|
||||
kernel=`uname -r`
|
||||
version=`uname -v`
|
||||
if test "$nodeplatform" = "raspberrypi";then
|
||||
echo "this is raspberrypi kernel"
|
||||
version=${version%% *}
|
||||
version=${version#*#}
|
||||
echo $version
|
||||
if test $version -lt 970;then
|
||||
echo "reboot"
|
||||
else
|
||||
echo "need to update touch configuration"
|
||||
sudo dpkg -i -B xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb
|
||||
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
|
||||
echo "reboot"
|
||||
fi
|
||||
else
|
||||
echo "this is not raspberrypi kernel, no need to update touch configure, reboot"
|
||||
fi
|
||||
sudo reboot
|
27
LCD35H_600_400-show
Normal file
27
LCD35H_600_400-show
Normal file
|
@ -0,0 +1,27 @@
|
|||
#!/bin/bash
|
||||
sudo cp -rf ./boot/config-35-600X400.txt /boot/config.txt
|
||||
sudo cp ./usr/cmdline.txt /boot/
|
||||
sudo cp ./usr/inittab /etc/
|
||||
sudo cp -rf ./usr/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf
|
||||
sudo mkdir -p /etc/X11/xorg.conf.d
|
||||
sudo cp -rf ./usr/99-calibration.conf-3508 /etc/X11/xorg.conf.d/99-calibration.conf
|
||||
nodeplatform=`uname -n`
|
||||
kernel=`uname -r`
|
||||
version=`uname -v`
|
||||
if test "$nodeplatform" = "raspberrypi";then
|
||||
echo "this is raspberrypi kernel"
|
||||
version=${version%% *}
|
||||
version=${version#*#}
|
||||
echo $version
|
||||
if test $version -lt 970;then
|
||||
echo "reboot"
|
||||
else
|
||||
echo "need to update touch configuration"
|
||||
sudo dpkg -i -B xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb
|
||||
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
|
||||
echo "reboot"
|
||||
fi
|
||||
else
|
||||
echo "this is not raspberrypi kernel, no need to update touch configure, reboot"
|
||||
fi
|
||||
sudo reboot
|
27
LCD35H_720_480-show
Normal file
27
LCD35H_720_480-show
Normal file
|
@ -0,0 +1,27 @@
|
|||
#!/bin/bash
|
||||
sudo cp -rf ./boot/config-35-720X480.txt /boot/config.txt
|
||||
sudo cp ./usr/cmdline.txt /boot/
|
||||
sudo cp ./usr/inittab /etc/
|
||||
sudo cp -rf ./usr/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf
|
||||
sudo mkdir -p /etc/X11/xorg.conf.d
|
||||
sudo cp -rf ./usr/99-calibration.conf-3508 /etc/X11/xorg.conf.d/99-calibration.conf
|
||||
nodeplatform=`uname -n`
|
||||
kernel=`uname -r`
|
||||
version=`uname -v`
|
||||
if test "$nodeplatform" = "raspberrypi";then
|
||||
echo "this is raspberrypi kernel"
|
||||
version=${version%% *}
|
||||
version=${version#*#}
|
||||
echo $version
|
||||
if test $version -lt 970;then
|
||||
echo "reboot"
|
||||
else
|
||||
echo "need to update touch configuration"
|
||||
sudo dpkg -i -B xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb
|
||||
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
|
||||
echo "reboot"
|
||||
fi
|
||||
else
|
||||
echo "this is not raspberrypi kernel, no need to update touch configure, reboot"
|
||||
fi
|
||||
sudo reboot
|
27
LCD35H_810_540-show
Normal file
27
LCD35H_810_540-show
Normal file
|
@ -0,0 +1,27 @@
|
|||
#!/bin/bash
|
||||
sudo cp -rf ./boot/config-35-810X540.txt /boot/config.txt
|
||||
sudo cp ./usr/cmdline.txt /boot/
|
||||
sudo cp ./usr/inittab /etc/
|
||||
sudo cp -rf ./usr/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf
|
||||
sudo mkdir -p /etc/X11/xorg.conf.d
|
||||
sudo cp -rf ./usr/99-calibration.conf-3508 /etc/X11/xorg.conf.d/99-calibration.conf
|
||||
nodeplatform=`uname -n`
|
||||
kernel=`uname -r`
|
||||
version=`uname -v`
|
||||
if test "$nodeplatform" = "raspberrypi";then
|
||||
echo "this is raspberrypi kernel"
|
||||
version=${version%% *}
|
||||
version=${version#*#}
|
||||
echo $version
|
||||
if test $version -lt 970;then
|
||||
echo "reboot"
|
||||
else
|
||||
echo "need to update touch configuration"
|
||||
sudo dpkg -i -B xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb
|
||||
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
|
||||
echo "reboot"
|
||||
fi
|
||||
else
|
||||
echo "this is not raspberrypi kernel, no need to update touch configure, reboot"
|
||||
fi
|
||||
sudo reboot
|
27
LCD35H_960_640-show
Normal file
27
LCD35H_960_640-show
Normal file
|
@ -0,0 +1,27 @@
|
|||
#!/bin/bash
|
||||
sudo cp -rf ./boot/config-35-960X640.txt /boot/config.txt
|
||||
sudo cp ./usr/cmdline.txt /boot/
|
||||
sudo cp ./usr/inittab /etc/
|
||||
sudo cp -rf ./usr/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf
|
||||
sudo mkdir -p /etc/X11/xorg.conf.d
|
||||
sudo cp -rf ./usr/99-calibration.conf-3508 /etc/X11/xorg.conf.d/99-calibration.conf
|
||||
nodeplatform=`uname -n`
|
||||
kernel=`uname -r`
|
||||
version=`uname -v`
|
||||
if test "$nodeplatform" = "raspberrypi";then
|
||||
echo "this is raspberrypi kernel"
|
||||
version=${version%% *}
|
||||
version=${version#*#}
|
||||
echo $version
|
||||
if test $version -lt 970;then
|
||||
echo "reboot"
|
||||
else
|
||||
echo "need to update touch configuration"
|
||||
sudo dpkg -i -B xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb
|
||||
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
|
||||
echo "reboot"
|
||||
fi
|
||||
else
|
||||
echo "this is not raspberrypi kernel, no need to update touch configure, reboot"
|
||||
fi
|
||||
sudo reboot
|
22
LCD397-show
22
LCD397-show
|
@ -1,7 +1,27 @@
|
|||
#!/bin/bash
|
||||
sudo cp -rf ./boot/config-397.txt /boot/config.txt
|
||||
sudo cp ./usr/cmdline.txt /boot/
|
||||
sudo cp ./usr/inittab /etc/
|
||||
sudo cp -rf ./usr/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf
|
||||
sudo mkdir -p /etc/X11/xorg.conf.d
|
||||
sudo mkdir /etc/X11/xorg.conf.d
|
||||
sudo cp -rf ./usr/99-calibration.conf-397 /etc/X11/xorg.conf.d/99-calibration.conf
|
||||
nodeplatform=`uname -n`
|
||||
kernel=`uname -r`
|
||||
version=`uname -v`
|
||||
if test "$nodeplatform" = "raspberrypi";then
|
||||
echo "this is raspberrypi kernel"
|
||||
version=${version%% *}
|
||||
version=${version#*#}
|
||||
echo $version
|
||||
if test $version -lt 970;then
|
||||
echo "reboot"
|
||||
else
|
||||
echo "need to update touch configuration"
|
||||
sudo dpkg -i -B xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb
|
||||
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
|
||||
echo "reboot"
|
||||
fi
|
||||
else
|
||||
echo "this is not raspberrypi kernel, no need to update touch configure, reboot"
|
||||
fi
|
||||
sudo reboot
|
||||
|
|
22
LCD43-show
22
LCD43-show
|
@ -1,7 +1,27 @@
|
|||
#!/bin/bash
|
||||
sudo cp -rf ./boot/config-43.txt /boot/config.txt
|
||||
sudo cp ./usr/cmdline.txt /boot/
|
||||
sudo cp ./usr/inittab /etc/
|
||||
sudo cp -rf ./usr/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf
|
||||
sudo mkdir -p /etc/X11/xorg.conf.d
|
||||
sudo mkdir /etc/X11/xorg.conf.d
|
||||
sudo cp -rf ./usr/99-calibration.conf-43 /etc/X11/xorg.conf.d/99-calibration.conf
|
||||
nodeplatform=`uname -n`
|
||||
kernel=`uname -r`
|
||||
version=`uname -v`
|
||||
if test "$nodeplatform" = "raspberrypi";then
|
||||
echo "this is raspberrypi kernel"
|
||||
version=${version%% *}
|
||||
version=${version#*#}
|
||||
echo $version
|
||||
if test $version -lt 970;then
|
||||
echo "reboot"
|
||||
else
|
||||
echo "need to update touch configuration"
|
||||
sudo dpkg -i -B xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb
|
||||
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
|
||||
echo "reboot"
|
||||
fi
|
||||
else
|
||||
echo "this is not raspberrypi kernel, no need to update touch configure, reboot"
|
||||
fi
|
||||
sudo reboot
|
||||
|
|
22
LCD5-show
22
LCD5-show
|
@ -1,7 +1,27 @@
|
|||
#!/bin/bash
|
||||
sudo cp -rf ./boot/config-5.txt /boot/config.txt
|
||||
sudo cp ./usr/cmdline.txt /boot/
|
||||
sudo cp ./usr/inittab /etc/
|
||||
sudo cp -rf ./usr/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf
|
||||
sudo mkdir -p /etc/X11/xorg.conf.d
|
||||
sudo mkdir /etc/X11/xorg.conf.d
|
||||
sudo cp -rf ./usr/99-calibration.conf-5 /etc/X11/xorg.conf.d/99-calibration.conf
|
||||
nodeplatform=`uname -n`
|
||||
kernel=`uname -r`
|
||||
version=`uname -v`
|
||||
if test "$nodeplatform" = "raspberrypi";then
|
||||
echo "this is raspberrypi kernel"
|
||||
version=${version%% *}
|
||||
version=${version#*#}
|
||||
echo $version
|
||||
if test $version -lt 970;then
|
||||
echo "reboot"
|
||||
else
|
||||
echo "need to update touch configuration"
|
||||
sudo dpkg -i -B xserver-xorg-input-evdev_1%3a2.10.3-1_armhf.deb
|
||||
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
|
||||
echo "reboot"
|
||||
fi
|
||||
else
|
||||
echo "this is not raspberrypi kernel, no need to update touch configure, reboot"
|
||||
fi
|
||||
sudo reboot
|
||||
|
|
34
ReadMe.txt
Normal file
34
ReadMe.txt
Normal file
|
@ -0,0 +1,34 @@
|
|||
|
||||
[version]
|
||||
v1.1
|
||||
[Driver installation]
|
||||
Step1, Install Raspbian official mirror
|
||||
1)Download Raspbian official mirror:https://www.raspberrypi.org/downloads/
|
||||
2)Use“SDFormatter.exe”to Format your TF Card,
|
||||
3)Use“Win32DiskImager.exe” Burning mirror to TF Card。
|
||||
Step2, Install LCD Driver
|
||||
1)Copy “LCD-show-160701.tar.gz” to the root directory of raspberry pi(you can copy it directly to TF card after Step1, or use SFTP to remote copy)
|
||||
2)Landing Raspberry pi system to user command line (Name:pi,Password:raspberry),Execute the following command:
|
||||
cd /boot
|
||||
sudo tar zxvf LCD-show-160701.tar.gz
|
||||
cd LCD-show/
|
||||
#For 2.8inch RPI LCD excute:
|
||||
sudo ./LCD28-show
|
||||
# For 3.2inch RPI LCD excute:
|
||||
sudo ./LCD32-show
|
||||
# For 3.5inch RPI LCD excute:
|
||||
sudo ./LCD35-show
|
||||
# For 3.97inch RPI LCD excute:
|
||||
sudo ./LCD397-show
|
||||
# For 4.3inch RPI LCD excute:
|
||||
sudo ./LCD43-show
|
||||
# For 5inch RPI LCD excute:
|
||||
sudo ./LCD5-show
|
||||
# For 7inch(B)-800X480 RPI LCD excute:
|
||||
sudo ./LCD7B-show
|
||||
# For 7inch(C)-1024X600 RPI LCD excute:
|
||||
sudo ./LCD7C-show
|
||||
# If you need to switch back to the traditional HDMI display excute:
|
||||
Sudo ./LCD-hdmi
|
||||
|
||||
3)Wait a few minutes,the system will restart automaticall , enjoy with your LCD.
|
63
boot/config-35-480X320.txt
Normal file
63
boot/config-35-480X320.txt
Normal file
|
@ -0,0 +1,63 @@
|
|||
# For more options and information see
|
||||
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
|
||||
# Some settings may impact device functionality. See link above for details
|
||||
|
||||
# uncomment if you get no picture on HDMI for a default "safe" mode
|
||||
#hdmi_safe=1
|
||||
|
||||
# uncomment this if your display has a black border of unused pixels visible
|
||||
# and your display can output without overscan
|
||||
#disable_overscan=1
|
||||
|
||||
# uncomment the following to adjust overscan. Use positive numbers if console
|
||||
# goes off screen, and negative if there is too much border
|
||||
#overscan_left=16
|
||||
#overscan_right=16
|
||||
#overscan_top=16
|
||||
#overscan_bottom=16
|
||||
|
||||
# uncomment to force a console size. By default it will be display's size minus
|
||||
# overscan.
|
||||
#framebuffer_width=1280
|
||||
#framebuffer_height=720
|
||||
|
||||
# uncomment if hdmi display is not detected and composite is being output
|
||||
hdmi_force_hotplug=1
|
||||
|
||||
# uncomment to force a specific HDMI mode (this will force VGA)
|
||||
#hdmi_group=1
|
||||
#hdmi_mode=1
|
||||
|
||||
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
|
||||
# DMT (computer monitor) modes
|
||||
#hdmi_drive=2
|
||||
|
||||
# uncomment to increase signal to HDMI, if you have interference, blanking, or
|
||||
# no display
|
||||
#config_hdmi_boost=4
|
||||
|
||||
# uncomment for composite PAL
|
||||
#sdtv_mode=2
|
||||
|
||||
#uncomment to overclock the arm. 700 MHz is the default.
|
||||
#arm_freq=800
|
||||
|
||||
# Uncomment some or all of these to enable the optional hardware interfaces
|
||||
dtparam=i2c_arm=on
|
||||
#dtparam=i2s=on
|
||||
dtparam=spi=on
|
||||
enable_uart=1
|
||||
# Uncomment this to enable the lirc-rpi module
|
||||
#dtoverlay=lirc-rpi
|
||||
|
||||
# Additional overlays and parameters are documented /boot/overlays/README
|
||||
|
||||
# Enable audio (loads snd_bcm2835)
|
||||
dtparam=audio=on
|
||||
|
||||
hdmi_drive=2
|
||||
hdmi_force_hotplug=1
|
||||
hdmi_group=2
|
||||
hdmi_mode=87
|
||||
hdmi_cvt 480 320 60 6 0 0 0
|
||||
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
|
63
boot/config-35-600X400.txt
Normal file
63
boot/config-35-600X400.txt
Normal file
|
@ -0,0 +1,63 @@
|
|||
# For more options and information see
|
||||
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
|
||||
# Some settings may impact device functionality. See link above for details
|
||||
|
||||
# uncomment if you get no picture on HDMI for a default "safe" mode
|
||||
#hdmi_safe=1
|
||||
|
||||
# uncomment this if your display has a black border of unused pixels visible
|
||||
# and your display can output without overscan
|
||||
#disable_overscan=1
|
||||
|
||||
# uncomment the following to adjust overscan. Use positive numbers if console
|
||||
# goes off screen, and negative if there is too much border
|
||||
#overscan_left=16
|
||||
#overscan_right=16
|
||||
#overscan_top=16
|
||||
#overscan_bottom=16
|
||||
|
||||
# uncomment to force a console size. By default it will be display's size minus
|
||||
# overscan.
|
||||
#framebuffer_width=1280
|
||||
#framebuffer_height=720
|
||||
|
||||
# uncomment if hdmi display is not detected and composite is being output
|
||||
hdmi_force_hotplug=1
|
||||
|
||||
# uncomment to force a specific HDMI mode (this will force VGA)
|
||||
#hdmi_group=1
|
||||
#hdmi_mode=1
|
||||
|
||||
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
|
||||
# DMT (computer monitor) modes
|
||||
#hdmi_drive=2
|
||||
|
||||
# uncomment to increase signal to HDMI, if you have interference, blanking, or
|
||||
# no display
|
||||
#config_hdmi_boost=4
|
||||
|
||||
# uncomment for composite PAL
|
||||
#sdtv_mode=2
|
||||
|
||||
#uncomment to overclock the arm. 700 MHz is the default.
|
||||
#arm_freq=800
|
||||
|
||||
# Uncomment some or all of these to enable the optional hardware interfaces
|
||||
dtparam=i2c_arm=on
|
||||
#dtparam=i2s=on
|
||||
dtparam=spi=on
|
||||
enable_uart=1
|
||||
# Uncomment this to enable the lirc-rpi module
|
||||
#dtoverlay=lirc-rpi
|
||||
|
||||
# Additional overlays and parameters are documented /boot/overlays/README
|
||||
|
||||
# Enable audio (loads snd_bcm2835)
|
||||
dtparam=audio=on
|
||||
|
||||
hdmi_drive=2
|
||||
hdmi_force_hotplug=1
|
||||
hdmi_group=2
|
||||
hdmi_mode=87
|
||||
hdmi_cvt 600 400 60 6 0 0 0
|
||||
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
|
63
boot/config-35-720X480.txt
Normal file
63
boot/config-35-720X480.txt
Normal file
|
@ -0,0 +1,63 @@
|
|||
# For more options and information see
|
||||
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
|
||||
# Some settings may impact device functionality. See link above for details
|
||||
|
||||
# uncomment if you get no picture on HDMI for a default "safe" mode
|
||||
#hdmi_safe=1
|
||||
|
||||
# uncomment this if your display has a black border of unused pixels visible
|
||||
# and your display can output without overscan
|
||||
#disable_overscan=1
|
||||
|
||||
# uncomment the following to adjust overscan. Use positive numbers if console
|
||||
# goes off screen, and negative if there is too much border
|
||||
#overscan_left=16
|
||||
#overscan_right=16
|
||||
#overscan_top=16
|
||||
#overscan_bottom=16
|
||||
|
||||
# uncomment to force a console size. By default it will be display's size minus
|
||||
# overscan.
|
||||
#framebuffer_width=1280
|
||||
#framebuffer_height=720
|
||||
|
||||
# uncomment if hdmi display is not detected and composite is being output
|
||||
hdmi_force_hotplug=1
|
||||
|
||||
# uncomment to force a specific HDMI mode (this will force VGA)
|
||||
#hdmi_group=1
|
||||
#hdmi_mode=1
|
||||
|
||||
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
|
||||
# DMT (computer monitor) modes
|
||||
#hdmi_drive=2
|
||||
|
||||
# uncomment to increase signal to HDMI, if you have interference, blanking, or
|
||||
# no display
|
||||
#config_hdmi_boost=4
|
||||
|
||||
# uncomment for composite PAL
|
||||
#sdtv_mode=2
|
||||
|
||||
#uncomment to overclock the arm. 700 MHz is the default.
|
||||
#arm_freq=800
|
||||
|
||||
# Uncomment some or all of these to enable the optional hardware interfaces
|
||||
dtparam=i2c_arm=on
|
||||
#dtparam=i2s=on
|
||||
dtparam=spi=on
|
||||
enable_uart=1
|
||||
# Uncomment this to enable the lirc-rpi module
|
||||
#dtoverlay=lirc-rpi
|
||||
|
||||
# Additional overlays and parameters are documented /boot/overlays/README
|
||||
|
||||
# Enable audio (loads snd_bcm2835)
|
||||
dtparam=audio=on
|
||||
|
||||
hdmi_drive=2
|
||||
hdmi_force_hotplug=1
|
||||
hdmi_group=2
|
||||
hdmi_mode=87
|
||||
hdmi_cvt 720 480 60 6 0 0 0
|
||||
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
|
63
boot/config-35-810X540.txt
Normal file
63
boot/config-35-810X540.txt
Normal file
|
@ -0,0 +1,63 @@
|
|||
# For more options and information see
|
||||
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
|
||||
# Some settings may impact device functionality. See link above for details
|
||||
|
||||
# uncomment if you get no picture on HDMI for a default "safe" mode
|
||||
#hdmi_safe=1
|
||||
|
||||
# uncomment this if your display has a black border of unused pixels visible
|
||||
# and your display can output without overscan
|
||||
#disable_overscan=1
|
||||
|
||||
# uncomment the following to adjust overscan. Use positive numbers if console
|
||||
# goes off screen, and negative if there is too much border
|
||||
#overscan_left=16
|
||||
#overscan_right=16
|
||||
#overscan_top=16
|
||||
#overscan_bottom=16
|
||||
|
||||
# uncomment to force a console size. By default it will be display's size minus
|
||||
# overscan.
|
||||
#framebuffer_width=1280
|
||||
#framebuffer_height=720
|
||||
|
||||
# uncomment if hdmi display is not detected and composite is being output
|
||||
hdmi_force_hotplug=1
|
||||
|
||||
# uncomment to force a specific HDMI mode (this will force VGA)
|
||||
#hdmi_group=1
|
||||
#hdmi_mode=1
|
||||
|
||||
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
|
||||
# DMT (computer monitor) modes
|
||||
#hdmi_drive=2
|
||||
|
||||
# uncomment to increase signal to HDMI, if you have interference, blanking, or
|
||||
# no display
|
||||
#config_hdmi_boost=4
|
||||
|
||||
# uncomment for composite PAL
|
||||
#sdtv_mode=2
|
||||
|
||||
#uncomment to overclock the arm. 700 MHz is the default.
|
||||
#arm_freq=800
|
||||
|
||||
# Uncomment some or all of these to enable the optional hardware interfaces
|
||||
dtparam=i2c_arm=on
|
||||
#dtparam=i2s=on
|
||||
dtparam=spi=on
|
||||
enable_uart=1
|
||||
# Uncomment this to enable the lirc-rpi module
|
||||
#dtoverlay=lirc-rpi
|
||||
|
||||
# Additional overlays and parameters are documented /boot/overlays/README
|
||||
|
||||
# Enable audio (loads snd_bcm2835)
|
||||
dtparam=audio=on
|
||||
|
||||
hdmi_drive=2
|
||||
hdmi_force_hotplug=1
|
||||
hdmi_group=2
|
||||
hdmi_mode=87
|
||||
hdmi_cvt 810 540 60 6 0 0 0
|
||||
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
|
63
boot/config-35-960X640.txt
Normal file
63
boot/config-35-960X640.txt
Normal file
|
@ -0,0 +1,63 @@
|
|||
# For more options and information see
|
||||
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
|
||||
# Some settings may impact device functionality. See link above for details
|
||||
|
||||
# uncomment if you get no picture on HDMI for a default "safe" mode
|
||||
#hdmi_safe=1
|
||||
|
||||
# uncomment this if your display has a black border of unused pixels visible
|
||||
# and your display can output without overscan
|
||||
#disable_overscan=1
|
||||
|
||||
# uncomment the following to adjust overscan. Use positive numbers if console
|
||||
# goes off screen, and negative if there is too much border
|
||||
#overscan_left=16
|
||||
#overscan_right=16
|
||||
#overscan_top=16
|
||||
#overscan_bottom=16
|
||||
|
||||
# uncomment to force a console size. By default it will be display's size minus
|
||||
# overscan.
|
||||
#framebuffer_width=1280
|
||||
#framebuffer_height=720
|
||||
|
||||
# uncomment if hdmi display is not detected and composite is being output
|
||||
hdmi_force_hotplug=1
|
||||
|
||||
# uncomment to force a specific HDMI mode (this will force VGA)
|
||||
#hdmi_group=1
|
||||
#hdmi_mode=1
|
||||
|
||||
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
|
||||
# DMT (computer monitor) modes
|
||||
#hdmi_drive=2
|
||||
|
||||
# uncomment to increase signal to HDMI, if you have interference, blanking, or
|
||||
# no display
|
||||
#config_hdmi_boost=4
|
||||
|
||||
# uncomment for composite PAL
|
||||
#sdtv_mode=2
|
||||
|
||||
#uncomment to overclock the arm. 700 MHz is the default.
|
||||
#arm_freq=800
|
||||
|
||||
# Uncomment some or all of these to enable the optional hardware interfaces
|
||||
dtparam=i2c_arm=on
|
||||
#dtparam=i2s=on
|
||||
dtparam=spi=on
|
||||
enable_uart=1
|
||||
# Uncomment this to enable the lirc-rpi module
|
||||
#dtoverlay=lirc-rpi
|
||||
|
||||
# Additional overlays and parameters are documented /boot/overlays/README
|
||||
|
||||
# Enable audio (loads snd_bcm2835)
|
||||
dtparam=audio=on
|
||||
|
||||
hdmi_drive=2
|
||||
hdmi_force_hotplug=1
|
||||
hdmi_group=2
|
||||
hdmi_mode=87
|
||||
hdmi_cvt 960 640 60 6 0 0 0
|
||||
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
|
|
@ -54,5 +54,5 @@ enable_uart=1
|
|||
|
||||
# Enable audio (loads snd_bcm2835)
|
||||
dtparam=audio=on
|
||||
dtoverlay=tft35a:rotate=90
|
||||
dtoverlay=tft35a
|
||||
dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=1,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900
|
||||
|
|
73
boot/config-35DPI.txt
Normal file
73
boot/config-35DPI.txt
Normal file
|
@ -0,0 +1,73 @@
|
|||
# For more options and information see
|
||||
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
|
||||
# Some settings may impact device functionality. See link above for details
|
||||
|
||||
# uncomment if you get no picture on HDMI for a default "safe" mode
|
||||
#hdmi_safe=1
|
||||
|
||||
# uncomment this if your display has a black border of unused pixels visible
|
||||
# and your display can output without overscan
|
||||
#disable_overscan=1
|
||||
|
||||
# uncomment the following to adjust overscan. Use positive numbers if console
|
||||
# goes off screen, and negative if there is too much border
|
||||
#overscan_left=16
|
||||
#overscan_right=16
|
||||
#overscan_top=16
|
||||
#overscan_bottom=16
|
||||
|
||||
# uncomment to force a console size. By default it will be display's size minus
|
||||
# overscan.
|
||||
#framebuffer_width=1280
|
||||
#framebuffer_height=720
|
||||
|
||||
# uncomment if hdmi display is not detected and composite is being output
|
||||
hdmi_force_hotplug=1
|
||||
|
||||
# uncomment to force a specific HDMI mode (this will force VGA)
|
||||
#hdmi_group=1
|
||||
#hdmi_mode=1
|
||||
|
||||
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
|
||||
# DMT (computer monitor) modes
|
||||
#hdmi_drive=2
|
||||
|
||||
# uncomment to increase signal to HDMI, if you have interference, blanking, or
|
||||
# no display
|
||||
#config_hdmi_boost=4
|
||||
|
||||
# uncomment for composite PAL
|
||||
#sdtv_mode=2
|
||||
|
||||
#uncomment to overclock the arm. 700 MHz is the default.
|
||||
#arm_freq=800
|
||||
|
||||
# Uncomment some or all of these to enable the optional hardware interfaces
|
||||
dtparam=i2c_arm=on
|
||||
#dtparam=i2s=on
|
||||
dtparam=spi=on
|
||||
enable_uart=1
|
||||
# Uncomment this to enable the lirc-rpi module
|
||||
#dtoverlay=lirc-rpi
|
||||
|
||||
# Additional overlays and parameters are documented /boot/overlays/README
|
||||
|
||||
# Enable audio (loads snd_bcm2835)
|
||||
dtparam=audio=on
|
||||
|
||||
display_rotate=1
|
||||
dtoverlay=qddpi24
|
||||
overscan_left=0
|
||||
overscan_right=0
|
||||
overscan_top=0
|
||||
overscan_bottom=0
|
||||
framebuffer_width=480
|
||||
framebuffer_height=320
|
||||
enable_dpi_lcd=1
|
||||
display_default_lcd=1
|
||||
dpi_group=2
|
||||
dpi_mode=87
|
||||
dpi_output_format=0x07f003
|
||||
hdmi_timings=321 0 28 18 28 480 0 2 2 4 0 0 0 60 0 32000000 6
|
||||
|
||||
dtoverlay=ads7846,cs=1,penirq=18,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
|
|
@ -56,7 +56,7 @@ enable_uart=1
|
|||
dtparam=audio=on
|
||||
max_usb_current=1
|
||||
display_rotate=0
|
||||
hdmi_drive=1
|
||||
max_usb_current=1
|
||||
hdmi_group=2
|
||||
hdmi_mode=87
|
||||
hdmi_timings=480 0 1 41 2 272 0 2 10 2 0 0 0 60 0 9000000 3
|
||||
|
|
|
@ -55,7 +55,6 @@ enable_uart=1
|
|||
# Enable audio (loads snd_bcm2835)
|
||||
dtparam=audio=on
|
||||
max_usb_current=1
|
||||
hdmi_drive=1
|
||||
hdmi_group=2
|
||||
hdmi_mode=1
|
||||
hdmi_mode=87
|
||||
|
|
|
@ -55,7 +55,6 @@ enable_uart=1
|
|||
# Enable audio (loads snd_bcm2835)
|
||||
dtparam=audio=on
|
||||
max_usb_current=1
|
||||
hdmi_drive=1
|
||||
hdmi_group=2
|
||||
hdmi_mode=1
|
||||
hdmi_mode=87
|
||||
|
|
|
@ -55,7 +55,6 @@ enable_uart=1
|
|||
# Enable audio (loads snd_bcm2835)
|
||||
dtparam=audio=on
|
||||
max_usb_current=1
|
||||
hdmi_drive=1
|
||||
hdmi_group=2
|
||||
hdmi_mode=1
|
||||
hdmi_mode=87
|
||||
|
|
6
usr/99-calibration.conf-3508
Normal file
6
usr/99-calibration.conf-3508
Normal file
|
@ -0,0 +1,6 @@
|
|||
Section "InputClass"
|
||||
Identifier "calibration"
|
||||
MatchProduct "ADS7846 Touchscreen"
|
||||
Option "Calibration" "3945 233 3939 183"
|
||||
Option "SwapAxes" "1"
|
||||
EndSection
|
BIN
usr/bcm2709-rpi-2-b.dtb
Normal file
BIN
usr/bcm2709-rpi-2-b.dtb
Normal file
Binary file not shown.
BIN
usr/bcm2710-rpi-3-b.dtb
Normal file
BIN
usr/bcm2710-rpi-3-b.dtb
Normal file
Binary file not shown.
BIN
usr/qddpi24.dtb
Normal file
BIN
usr/qddpi24.dtb
Normal file
Binary file not shown.
Loading…
Reference in a new issue