diff --git a/LCD-hdmi b/LCD-hdmi new file mode 100755 index 0000000..c743b82 --- /dev/null +++ b/LCD-hdmi @@ -0,0 +1,7 @@ +#sudo cp -rf ./etc/modules-HDMI /etc/modules +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +sudo cp ./boot/config-nomal.txt /boot/config.txt +#sudo cp ./cmdline.txt /boot/ +#sudo cp ./inittab /etc/ +sudo cp -rf ./etc/rc.local /etc/rc.local +sudo reboot diff --git a/LCD101-1024x600-show b/LCD101-1024x600-show new file mode 100755 index 0000000..75f8da1 --- /dev/null +++ b/LCD101-1024x600-show @@ -0,0 +1,81 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" + +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite" ;then + +if test "$j" != "retropie" ;then +sudo apt-get install xserver-xorg-input-evdev +sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf +fi + +if test "$j" = "retropie" ;then +sudo cp -rf ./nes /home/pi/RetroPie/roms/ +fi + +echo "1" > ./boot/mark +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb + +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + +sudo cp -rf ./etc/rc.local /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +if test "$j" = "kali" ;then +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + + +if test "$1" = "0" -o "$#" = "0" -o "$2" = "0"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-101-1024x600 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-101-1024x600.txt /boot/config.txt +echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-101-1024x600 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-101-1024x600.txt /boot/config.txt +echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-101-1024x600-90 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-101-1024x600.txt-90 /boot/config.txt +echo "LCD configrue 90" +elif test "$1" = "180" -o "$2" = "180" ;then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-101-1024x600-180 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-101-1024x600.txt-180 /boot/config.txt +echo "LCD configrue 180" +elif test "$1" = "270" -o "$2" = "270" ;then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-101-1024x600-270 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-101-1024x600.txt-270 /boot/config.txt +echo "LCD configrue 270" +fi + +#sudo cp ./cmdline.txt /boot/ +#sudo cp ./inittab /etc/ +#sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf + + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite"; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage:LCD101-1024x600-show [0] [90] [180] [270] [lite]" +fi diff --git a/LCD154-show b/LCD154-show new file mode 100755 index 0000000..072b67f --- /dev/null +++ b/LCD154-show @@ -0,0 +1,100 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" + +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite" ;then + +if test "$j" != "retropie" ;then +sudo apt-get install xserver-xorg-input-evdev +sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf +fi + +if test "$j" = "retropie" ;then +sudo cp -rf ./nes /home/pi/RetroPie/roms/ + +sudo mkdir /usr/src/mk_arcade_joystick_rpi-0.1.5/ +sudo mkdir /etc/modprobe.d/ +sudo cp -a ./mk_arcade_joystick_rpi-master/* /usr/src/mk_arcade_joystick_rpi-0.1.5/ +export MKVERSION=0.1.5 +sudo -E dkms build -m mk_arcade_joystick_rpi -v 0.1.5 +sudo -E dkms install -m mk_arcade_joystick_rpi -v 0.1.5 +sudo cp -rf ./etc/modules /etc/modules +sudo cp -rf ./etc/modprobe.d/joystick.conf /etc/modprobe.d/ + +fi + +echo "1" > ./boot/mark +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + +if test "$j" != "kali" ;then +if test "$1" != "lite" -a "$2" != "lite" ;then +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +else +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi +else +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + +sudo cp ./etc/modules /etc/ + + +sudo cp -rf ./etc/rc.local-154 /etc/rc.local + + +if test "$1" = "0" -o "$#" = "0" -o "$2" = "0";then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-154 /usr/share/X11/xorg.conf.d/99-calibration.conf + sudo cp ./boot/config-154.txt /boot/config.txt + echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1" ;then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-154 /usr/share/X11/xorg.conf.d/99-calibration.conf + sudo cp ./boot/config-154.txt /boot/config.txt + echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90";then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-154.txt /boot/config.txt + sudo cp -rf ./etc/rc.local-154-90 /etc/rc.local + else + sudo cp ./boot/config-154.txt-90 /boot/config.txt + fi + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-154-90 /usr/share/X11/xorg.conf.d/99-calibration.conf + echo "LCD configrue 90" +fi + +if [ -b /dev/mmcblk0p7 ]; then +sudo cp ./cmdline.txt-noobs /boot/cmdline.txt +else +sudo cp ./cmdline.txt /boot/ +fi + +sudo cp ./inittab /etc/ + + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite" ; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage:LCD154-show [0] [90] [180] [270] [lite]" +fi diff --git a/LCD28-show b/LCD28-show new file mode 100755 index 0000000..73fb3b8 --- /dev/null +++ b/LCD28-show @@ -0,0 +1,107 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" + +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite" ;then + +if test "$j" != "retropie" ;then +sudo apt-get install xserver-xorg-input-evdev +sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf +fi + +if test "$j" = "retropie" ;then +sudo cp -rf ./nes /home/pi/RetroPie/roms/ +fi + +echo "1" > ./boot/mark +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + +if test "$j" != "kali" ;then +if test "$1" != "lite" -a "$2" != "lite" ;then +sudo cp -rf ./etc/rc.local-gpio /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +else +sudo cp -rf ./etc/rc.local /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi +else +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + +if test "$1" = "0" -o "$#" = "0" -o "$2" = "0";then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-32 /usr/share/X11/xorg.conf.d/99-calibration.conf + sudo cp ./boot/config-32.txt /boot/config.txt + if test "$j" = "retropie"; then + sudo cp ./boot/config-32.txt-retropie /boot/config.txt + fi + echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1" ;then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-32 /usr/share/X11/xorg.conf.d/99-calibration.conf + sudo cp ./boot/config-32.txt /boot/config.txt + echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90";then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-32.txt-90-lite /boot/config.txt + else + sudo cp ./boot/config-32.txt-90 /boot/config.txt + fi + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-32-90 /usr/share/X11/xorg.conf.d/99-calibration.conf + echo "LCD configrue 90" +elif test "$1" = "180" -o "$2" = "180" ;then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-32.txt-180-lite /boot/config.txt + else + sudo cp ./boot/config-32.txt-180 /boot/config.txt + fi + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-32-180 /usr/share/X11/xorg.conf.d/99-calibration.conf + echo "LCD configrue 180" +elif test "$1" = "270" -o "$2" = "270"; then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-32.txt-270-lite /boot/config.txt + else + sudo cp ./boot/config-32.txt-270 /boot/config.txt + fi + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-32-270 /usr/share/X11/xorg.conf.d/99-calibration.conf + echo "LCD configrue 270" +fi + +sudo cp ./waveshare32b-overlay.dtb /boot/overlays/waveshare32b.dtbo +sudo cp ./waveshare32b-overlay.dtb /boot/overlays/ +#sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/ +if [ -b /dev/mmcblk0p7 ]; then +sudo cp ./cmdline.txt-noobs /boot/cmdline.txt +else +sudo cp ./cmdline.txt /boot/ +fi + +sudo cp ./inittab /etc/ + + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite" ; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage:LCD28-show [0] [90] [180] [270] [lite]" +fi diff --git a/LCD32-show b/LCD32-show new file mode 100755 index 0000000..f626855 --- /dev/null +++ b/LCD32-show @@ -0,0 +1,107 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" + +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite" ;then + +if test "$j" != "retropie" ;then +sudo apt-get install xserver-xorg-input-evdev +sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf +fi + +if test "$j" = "retropie" ;then +sudo cp -rf ./nes /home/pi/RetroPie/roms/ +fi + +echo "1" > ./boot/mark +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + +if test "$j" != "kali" ;then +if test "$1" != "lite" -a "$2" != "lite" ;then +sudo cp -rf ./etc/rc.local-gpio /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +else +sudo cp -rf ./etc/rc.local /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi +else +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + +if test "$1" = "0" -o "$#" = "0" -o "$2" = "0";then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-32 /usr/share/X11/xorg.conf.d/99-calibration.conf + sudo cp ./boot/config-32.txt /boot/config.txt + if test "$j" = "retropie"; then + sudo cp ./boot/config-32.txt-retropie /boot/config.txt + fi + echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1" ;then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-32 /usr/share/X11/xorg.conf.d/99-calibration.conf + sudo cp ./boot/config-32.txt /boot/config.txt + echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90";then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-32.txt-90-lite /boot/config.txt + else + sudo cp ./boot/config-32.txt-90 /boot/config.txt + fi + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-32-90 /usr/share/X11/xorg.conf.d/99-calibration.conf + echo "LCD configrue 90" +elif test "$1" = "180" -o "$2" = "180" ;then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-32.txt-180-lite /boot/config.txt + else + sudo cp ./boot/config-32.txt-180 /boot/config.txt + fi + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-32-180 /usr/share/X11/xorg.conf.d/99-calibration.conf + echo "LCD configrue 180" +elif test "$1" = "270" -o "$2" = "270"; then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-32.txt-270-lite /boot/config.txt + else + sudo cp ./boot/config-32.txt-270 /boot/config.txt + fi + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-32-270 /usr/share/X11/xorg.conf.d/99-calibration.conf + echo "LCD configrue 270" +fi + +sudo cp ./waveshare32b-overlay.dtb /boot/overlays/waveshare32b.dtbo +sudo cp ./waveshare32b-overlay.dtb /boot/overlays/ +#sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/ +if [ -b /dev/mmcblk0p7 ]; then +sudo cp ./cmdline.txt-noobs /boot/cmdline.txt +else +sudo cp ./cmdline.txt /boot/ +fi + +sudo cp ./inittab /etc/ + + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite" ; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage:LCD32-show [0] [90] [180] [270] [lite]" +fi diff --git a/LCD32C-show b/LCD32C-show new file mode 100755 index 0000000..041dbef --- /dev/null +++ b/LCD32C-show @@ -0,0 +1,110 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" + +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite" ;then + +if test "$j" != "retropie" ;then +sudo apt-get install xserver-xorg-input-evdev +sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf +fi + +if test "$j" = "retropie" ;then +sudo cp -rf ./nes /home/pi/RetroPie/roms/ +fi + +echo "1" > ./boot/mark +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + + +if test "$j" != "kali" ;then +if test "$1" != "lite" -a "$2" != "lite" ;then +sudo cp -rf ./etc/rc.local-gpio /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +else +sudo cp -rf ./etc/rc.local /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi +else +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + +if test "$1" = "0" -o "$#" = "0" -o "$2" = "0";then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-32c /usr/share/X11/xorg.conf.d/99-calibration.conf + sudo cp ./boot/config-32c.txt /boot/config.txt + if test "$j" = "retropie"; then + sudo cp ./boot/config-32c.txt-retropie /boot/config.txt + fi + echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1" ;then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-32c /usr/share/X11/xorg.conf.d/99-calibration.conf + sudo cp ./boot/config-32c.txt /boot/config.txt + echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90";then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-32c.txt-90-lite /boot/config.txt + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-32c-270 /usr/share/X11/xorg.conf.d/99-calibration.conf + else + sudo cp ./boot/config-32c.txt-90 /boot/config.txt + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-32c-90 /usr/share/X11/xorg.conf.d/99-calibration.conf + fi + echo "LCD configrue 90" +elif test "$1" = "180" -o "$2" = "180" ;then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-32c.txt-180-lite /boot/config.txt + else + sudo cp ./boot/config-32c.txt-180 /boot/config.txt + fi + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-32c-180 /usr/share/X11/xorg.conf.d/99-calibration.conf + echo "LCD configrue 180" +elif test "$1" = "270" -o "$2" = "270"; then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-32c.txt-270-lite /boot/config.txt + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-32c-90 /usr/share/X11/xorg.conf.d/99-calibration.conf + else + sudo cp ./boot/config-32c.txt-270 /boot/config.txt + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-32c-270 /usr/share/X11/xorg.conf.d/99-calibration.conf + fi + echo "LCD configrue 270" +fi + +sudo cp ./waveshare32c-overlay.dtb /boot/overlays/waveshare32c.dtbo +sudo cp ./waveshare32c-overlay.dtb /boot/overlays/ +#sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/ +if [ -b /dev/mmcblk0p7 ]; then +sudo cp ./cmdline.txt-noobs /boot/cmdline.txt +else +sudo cp ./cmdline.txt /boot/ +fi + +sudo cp ./inittab /etc/ + + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite" ; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage:LCD32C-show [0] [90] [180] [270] [lite]" +fi diff --git a/LCD35-HDMI-480x320-show b/LCD35-HDMI-480x320-show new file mode 100755 index 0000000..c41ddeb --- /dev/null +++ b/LCD35-HDMI-480x320-show @@ -0,0 +1,77 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" + +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite";then + +if test "$j" != "retropie" ;then +sudo apt-get install xserver-xorg-input-evdev +sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf +fi + +if test "$j" = "retropie" ;then +sudo cp -rf ./nes /home/pi/RetroPie/roms/ +fi + +echo "1" > ./boot/mark +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb + +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + +sudo cp -rf ./etc/rc.local /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +if test "$j" = "kali" ;then +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + +if test "$1" = "0" -o "$#" = "0" -o "$2" = "0"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35H /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-35H-480x320.txt /boot/config.txt +echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35H /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-35H-480x320.txt /boot/config.txt +echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-90 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-35H-480x320.txt-90 /boot/config.txt +echo "LCD configrue 90" +elif test "$1" = "180" -o "$2" = "180";then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-180 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-35H-480x320.txt-180 /boot/config.txt +echo "LCD configrue 180" +elif test "$1" = "270" -o "$2" = "270";then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-270 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-35H-480x320.txt-270 /boot/config.txt +echo "LCD configrue 270" +fi + +#sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite"; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage:LCD35-HDMI-480x320-show [0] [90] [180] [270] [lite]" +fi diff --git a/LCD35-HDMI-800x480-show b/LCD35-HDMI-800x480-show new file mode 100755 index 0000000..691b160 --- /dev/null +++ b/LCD35-HDMI-800x480-show @@ -0,0 +1,77 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" + +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite";then + +if test "$j" != "retropie" ;then +sudo apt-get install xserver-xorg-input-evdev +sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf +fi + +if test "$j" = "retropie" ;then +sudo cp -rf ./nes /home/pi/RetroPie/roms/ +fi + +echo "1" > ./boot/mark +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb + +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + +sudo cp -rf ./etc/rc.local /etc/rc.local + +if test "$1" = "0" -o "$#" = "0" -o "$2" = "0"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35H /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-5.txt /boot/config.txt +echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35H /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-5.txt /boot/config.txt +echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-90 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-5.txt-90 /boot/config.txt +echo "LCD configrue 90" +elif test "$1" = "180" -o "$2" = "180" ;then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-180 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-5.txt-180 /boot/config.txt +echo "LCD configrue 180" +elif test "$1" = "270" -o "$2" = "270";then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-270 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-5.txt-270 /boot/config.txt +echo "LCD configrue 270" +fi + +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +if test "$j" = "kali" ;then +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite"; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage: LCD35-HDMI-800x480-show [0] [90] [180] [270] [lite]" + +fi diff --git a/LCD35-show b/LCD35-show new file mode 100755 index 0000000..4274b7a --- /dev/null +++ b/LCD35-show @@ -0,0 +1,107 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" + +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite";then + +if test "$j" != "retropie" ;then +sudo apt-get install xserver-xorg-input-evdev +sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf +fi + +if test "$j" = "retropie" ;then +sudo cp -rf ./nes /home/pi/RetroPie/roms/ +fi + +echo "1" > ./boot/mark +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + +if test "$j" != "kali" ;then +if test "$1" != "lite" -a "$2" != "lite" ;then +sudo cp -rf ./etc/rc.local-gpio /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +else +sudo cp -rf ./etc/rc.local /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi +else +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + + +if test "$1" = "0" -o "$#" = "0";then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35 /usr/share/X11/xorg.conf.d/99-calibration.conf + sudo cp ./boot/config-35.txt /boot/config.txt + if test "$j" = "retropie"; then + sudo cp ./boot/config-35.txt-retropie /boot/config.txt + fi + echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1" ;then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35 /usr/share/X11/xorg.conf.d/99-calibration.conf + sudo cp ./boot/config-35.txt /boot/config.txt + echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90" ;then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali"; then + sudo cp ./boot/config-35.txt-90-lite /boot/config.txt + else + sudo cp ./boot/config-35.txt-90 /boot/config.txt + fi + echo "LCD configrue 90" + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35-270 /usr/share/X11/xorg.conf.d/99-calibration.conf +elif test "$1" = "180" -o "$2" = "180" ;then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-35.txt-180-lite /boot/config.txt + else + sudo cp ./boot/config-35.txt-180 /boot/config.txt + fi + echo "LCD configrue 180" + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35-180 /usr/share/X11/xorg.conf.d/99-calibration.conf +elif test "$1" = "270" -o "$2" = "270" ; then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-35.txt-270-lite /boot/config.txt + else + sudo cp ./boot/config-35.txt-270 /boot/config.txt + fi + echo "LCD configrue 270" + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35-90 /usr/share/X11/xorg.conf.d/99-calibration.conf +fi + +sudo cp ./waveshare35a-overlay.dtb /boot/overlays/waveshare35a.dtbo +sudo cp ./waveshare35a-overlay.dtb /boot/overlays/ +#sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/ +if [ -b /dev/mmcblk0p7 ]; then +sudo cp ./cmdline.txt-noobs /boot/cmdline.txt +else +sudo cp ./cmdline.txt /boot/ +fi + +sudo cp ./inittab /etc/ + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite" ; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage:LCD35-show [0] [90] [180] [270] [lite]" +fi diff --git a/LCD35B-show b/LCD35B-show new file mode 100755 index 0000000..a22f5e4 --- /dev/null +++ b/LCD35B-show @@ -0,0 +1,106 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" + +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite";then + +if test "$j" != "retropie" ;then +sudo apt-get install xserver-xorg-input-evdev +sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf +fi + +if test "$j" = "retropie" ;then +sudo cp -rf ./nes /home/pi/RetroPie/roms/ +fi + +echo "1" > ./boot/mark +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + +if test "$j" != "kali" ;then +if test "$1" != "lite" -a "$2" != "lite" ;then +sudo cp -rf ./etc/rc.local-gpio /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +else +sudo cp -rf ./etc/rc.local /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi +else +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + +if test "$1" = "0" -o "$#" = "0" -o "$2" = "0";then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35b /usr/share/X11/xorg.conf.d/99-calibration.conf + sudo cp ./boot/config-35b.txt /boot/config.txt + if test "$j" = "retropie"; then + sudo cp ./boot/config-35b.txt-retropie /boot/config.txt + fi + echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1" ;then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35b /usr/share/X11/xorg.conf.d/99-calibration.conf + sudo cp ./boot/config-35b.txt /boot/config.txt + echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90" ;then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-35b.txt-90-lite /boot/config.txt + else + sudo cp ./boot/config-35b.txt-90 /boot/config.txt + fi + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35b-270 /usr/share/X11/xorg.conf.d/99-calibration.conf + echo "LCD configrue 90" +elif test "$1" = "180" -o "$2" = "180" ;then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-35b.txt-180-lite /boot/config.txt + else + sudo cp ./boot/config-35b.txt-180 /boot/config.txt + fi + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35b-180 /usr/share/X11/xorg.conf.d/99-calibration.conf + echo "LCD configrue 180" +elif test "$1" = "270" -o "$2" = "270"; then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-35b.txt-270-lite /boot/config.txt + else + sudo cp ./boot/config-35b.txt-270 /boot/config.txt + fi + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35b-90 /usr/share/X11/xorg.conf.d/99-calibration.conf + echo "LCD configrue 270" +fi + +sudo cp ./waveshare35b-overlay.dtb /boot/overlays/waveshare35b.dtbo +sudo cp ./waveshare35b-overlay.dtb /boot/overlays/ +#sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/ +if [ -b /dev/mmcblk0p7 ]; then +sudo cp ./cmdline.txt-noobs /boot/cmdline.txt +else +sudo cp ./cmdline.txt /boot/ +fi + +sudo cp ./inittab /etc/ + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite"; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage:LCD35B-show [0] [90] [180] [270] [lite]" +fi diff --git a/LCD35B-show-V2 b/LCD35B-show-V2 new file mode 100755 index 0000000..504e154 --- /dev/null +++ b/LCD35B-show-V2 @@ -0,0 +1,107 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" + +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite" ;then + +if test "$j" != "retropie" ;then +sudo apt-get install xserver-xorg-input-evdev +sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf +fi + +if test "$j" = "retropie" ;then +sudo cp -rf ./nes /home/pi/RetroPie/roms/ +fi + +echo "1" > ./boot/mark +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + +if test "$j" != "kali" ;then +if test "$1" != "lite" -a "$2" != "lite" ;then +sudo cp -rf ./etc/rc.local-gpio /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +else +sudo cp -rf ./etc/rc.local /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi +else +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + + +if test "$1" = "0" -o "$2" = "0" -o "$#" = "0" ;then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35b /usr/share/X11/xorg.conf.d/99-calibration.conf + sudo cp ./boot/config-35b-v2.txt /boot/config.txt + if test "$j" = "retropie"; then + sudo cp ./boot/config-35b-v2.txt-retropie /boot/config.txt + fi + echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1" ;then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35b /usr/share/X11/xorg.conf.d/99-calibration.conf + sudo cp ./boot/config-35b-v2.txt /boot/config.txt + echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90" ;then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali"; then + sudo cp ./boot/config-35b-v2.txt-90-lite /boot/config.txt + else + sudo cp ./boot/config-35b-v2.txt-90 /boot/config.txt + fi + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35b-270 /usr/share/X11/xorg.conf.d/99-calibration.conf + echo "LCD configrue 90" +elif test "$1" = "180" -o "$2" = "180" ;then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali"; then + sudo cp ./boot/config-35b-v2.txt-180-lite /boot/config.txt + else + sudo cp ./boot/config-35b-v2.txt-180 /boot/config.txt + fi + echo "LCD configrue 180" + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35b-180 /usr/share/X11/xorg.conf.d/99-calibration.conf +elif test "$1" = "270" -o "$2" = "270"; then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali"; then + sudo cp ./boot/config-35b-v2.txt-270-lite /boot/config.txt + else + sudo cp ./boot/config-35b-v2.txt-270 /boot/config.txt + fi + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35b-90 /usr/share/X11/xorg.conf.d/99-calibration.conf + echo "LCD configrue 270" +fi + +sudo cp ./waveshare35b-v2-overlay.dtb /boot/overlays/waveshare35b-v2.dtbo +sudo cp ./waveshare35b-v2-overlay.dtb /boot/overlays/ +#sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/ +if [ -b /dev/mmcblk0p7 ]; then +sudo cp ./cmdline.txt-noobs /boot/cmdline.txt +else +sudo cp ./cmdline.txt /boot/ +fi + +sudo cp ./inittab /etc/ + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite" ; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage:LCD35B-show-V2 [0] [90] [180] [270] [lite]" +fi diff --git a/LCD35C-show b/LCD35C-show new file mode 100755 index 0000000..60a1230 --- /dev/null +++ b/LCD35C-show @@ -0,0 +1,112 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite";then + + if test "$j" != "retropie" ;then + sudo apt-get install xserver-xorg-input-evdev + sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf + fi + + if test "$j" = "retropie" ;then + sudo cp -rf ./nes /home/pi/RetroPie/roms/ + fi + +echo "1" > ./boot/mark +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + +if test "$j" != "kali" ;then +if test "$1" != "lite" -a "$2" != "lite" ;then +sudo cp -rf ./etc/rc.local-gpio /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +else +sudo cp -rf ./etc/rc.local /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi +else +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + +if test "$1" = "0" -o "$#" = "0" -o "$2" = "0";then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35c /usr/share/X11/xorg.conf.d/99-calibration.conf + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali"; then + sudo cp ./boot/config-35c.txt-lite /boot/config.txt + else + sudo cp ./boot/config-35c.txt /boot/config.txt + fi + if test "$j" = "retropie"; then + sudo cp ./boot/config-35c.txt-retropie /boot/config.txt + fi + echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1" ;then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35c /usr/share/X11/xorg.conf.d/99-calibration.conf + sudo cp ./boot/config-35c.txt-lite /boot/config.txt + echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90" ;then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali"; then + sudo cp ./boot/config-35c.txt-90-lite /boot/config.txt + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35c-270 /usr/share/X11/xorg.conf.d/99-calibration.conf + else + sudo cp ./boot/config-35c.txt-90 /boot/config.txt + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35c-90 /usr/share/X11/xorg.conf.d/99-calibration.conf + fi + echo "LCD configrue 90" +elif test "$1" = "180" -o "$2" = "180" ;then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali"; then + sudo cp ./boot/config-35c.txt-180-lite /boot/config.txt + else + sudo cp ./boot/config-35c.txt-180 /boot/config.txt + fi + echo "LCD configrue 180" + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35c-180 /usr/share/X11/xorg.conf.d/99-calibration.conf +elif test "$1" = "270" -o "$2" = "270" ; then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali"; then + sudo cp ./boot/config-35c.txt-270-lite /boot/config.txt + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35c-90 /usr/share/X11/xorg.conf.d/99-calibration.conf + else + sudo cp ./boot/config-35c.txt-270 /boot/config.txt + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35c-270 /usr/share/X11/xorg.conf.d/99-calibration.conf + fi + echo "LCD configrue 270" + +fi + +sudo cp ./waveshare35c-overlay.dtb /boot/overlays/waveshare35c.dtbo +sudo cp ./waveshare35c-overlay.dtb /boot/overlays/ +#sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/ +if [ -b /dev/mmcblk0p7 ]; then +sudo cp ./cmdline.txt-noobs /boot/cmdline.txt +else +sudo cp ./cmdline.txt /boot/ +fi + +sudo cp ./inittab /etc/ + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite" ; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage:LCD35C-show [0] [90] [180] [270] [lite]" +fi diff --git a/LCD4-800x480-show b/LCD4-800x480-show new file mode 100755 index 0000000..ff26397 --- /dev/null +++ b/LCD4-800x480-show @@ -0,0 +1,80 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" + +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite";then + +if test "$j" != "retropie" ;then +sudo apt-get install xserver-xorg-input-evdev +sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf +fi + +if test "$j" = "retropie" ;then +sudo cp -rf ./nes /home/pi/RetroPie/roms/ +fi + +echo "1" > ./boot/mark +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb + +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + +sudo cp -rf ./etc/rc.local /etc/rc.local + +if test "$1" = "0" -o "$#" = "0" -o "$2" = "0"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-270 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-4-800x480.txt /boot/config.txt +echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-270 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-4-800x480.txt /boot/config.txt +echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-180 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-4-800x480.txt-90 /boot/config.txt +echo "LCD configrue 90" +elif test "$1" = "180" -o "$2" = "180";then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-90 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-4-800x480.txt-180 /boot/config.txt +echo "LCD configrue 180" +elif test "$1" = "270" -o "$2" = "270";then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-4-800x480.txt-270 /boot/config.txt +echo "LCD configrue 270" +fi + + + +#sudo cp ./cmdline.txt /boot/ +#sudo cp ./inittab /etc/ +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +if test "$j" = "kali" ;then +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite"; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage:LCD4-800x480-show [0] [90] [180] [270] [lite]" +fi diff --git a/LCD4-show b/LCD4-show new file mode 100755 index 0000000..986a1f2 --- /dev/null +++ b/LCD4-show @@ -0,0 +1,107 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" + +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite" ;then + +if test "$j" != "retropie" ;then +sudo apt-get install xserver-xorg-input-evdev +sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf +fi + +if test "$j" = "retropie" ;then +sudo cp -rf ./nes /home/pi/RetroPie/roms/ +fi + +echo "1" > ./boot/mark + +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + +if test "$j" != "kali" ;then +if test "$1" != "lite" -a "$2" != "lite" ;then +sudo cp -rf ./etc/rc.local-gpio /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +else +sudo cp -rf ./etc/rc.local /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi +else +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + +if test "$1" = "0" -o "$#" = "0" -o "$2" = "0";then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-4 /usr/share/X11/xorg.conf.d/99-calibration.conf + sudo cp ./boot/config-4.txt /boot/config.txt + if test "$j" = "retropie"; then + sudo cp ./boot/config-4.txt-retropie /boot/config.txt + fi + echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1" ;then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-4 /usr/share/X11/xorg.conf.d/99-calibration.conf + sudo cp ./boot/config-4.txt /boot/config.txt + echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90" ;then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-4.txt-90-lite /boot/config.txt + else + sudo cp ./boot/config-4.txt-90 /boot/config.txt + fi + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-4-270 /usr/share/X11/xorg.conf.d/99-calibration.conf + echo "LCD configrue 90" +elif test "$1" = "180" -o "$2" = "180" ;then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-4.txt-180-lite /boot/config.txt + else + sudo cp ./boot/config-4.txt-180 /boot/config.txt + fi + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-4-180 /usr/share/X11/xorg.conf.d/99-calibration.conf + echo "LCD configrue 180" +elif test "$1" = "270" -o "$2" = "270" ; then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-4.txt-270-lite /boot/config.txt + else + sudo cp ./boot/config-4.txt-270 /boot/config.txt + fi + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-4-90 /usr/share/X11/xorg.conf.d/99-calibration.conf + echo "LCD configrue 270" +fi + +sudo cp ./waveshare35a-overlay.dtb /boot/overlays/waveshare35a.dtbo +sudo cp ./waveshare35a-overlay.dtb /boot/overlays/ +#sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/ +if [ -b /dev/mmcblk0p7 ]; then +sudo cp ./cmdline.txt-noobs /boot/cmdline.txt +else +sudo cp ./cmdline.txt /boot/ +fi + +sudo cp ./inittab /etc/ + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite"; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage:LCD4-show [0] [90] [180] [270] [lite]" +fi diff --git a/LCD43-show b/LCD43-show new file mode 100755 index 0000000..498b63e --- /dev/null +++ b/LCD43-show @@ -0,0 +1,80 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" + +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite";then + +if test "$j" != "retropie" ;then +sudo apt-get install xserver-xorg-input-evdev +sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf +fi + +if test "$j" = "retropie" ;then +sudo cp -rf ./nes /home/pi/RetroPie/roms/ +fi + +echo "1" > ./boot/mark +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb + +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + +sudo cp -rf ./etc/rc.local /etc/rc.local + +if test "$1" = "0" -o "$#" = "0" -o "$2" = "0"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-43 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-43.txt /boot/config.txt +echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-43 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-43.txt /boot/config.txt +echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-43-90 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-43.txt-90 /boot/config.txt +echo "LCD configrue 90" +elif test "$1" = "180" -o "$2" = "180" ;then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-43-180 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-43.txt-180 /boot/config.txt +echo "LCD configrue 180" +elif test "$1" = "270" -o "$2" = "270";then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-43-270 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-43.txt-270 /boot/config.txt +echo "LCD configrue 270" +fi + + + +#sudo cp ./cmdline.txt /boot/ +#sudo cp ./inittab /etc/ +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +if test "$j" = "kali" ;then +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite"; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage:LCD43-show [0] [90] [180] [270] [lite]" +fi diff --git a/LCD43-show-V2 b/LCD43-show-V2 new file mode 100755 index 0000000..21778d9 --- /dev/null +++ b/LCD43-show-V2 @@ -0,0 +1,80 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" + +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite";then + +if test "$j" != "retropie" ;then +sudo apt-get install xserver-xorg-input-evdev +sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf +fi + +if test "$j" = "retropie" ;then +sudo cp -rf ./nes /home/pi/RetroPie/roms/ +fi + +echo "1" > ./boot/mark +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb + +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + +sudo cp -rf ./etc/rc.local /etc/rc.local + +if test "$1" = "0" -o "$#" = "0" -o "$2" = "0"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-43 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-43.txt-v2 /boot/config.txt +echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-43 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-43.txt-v2 /boot/config.txt +echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-43-90 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-43.txt-90-v2 /boot/config.txt +echo "LCD configrue 90" +elif test "$1" = "180" -o "$2" = "180";then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-43-180 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-43.txt-180-v2 /boot/config.txt +echo "LCD configrue 180" +elif test "$1" = "270" -o "$2" = "270";then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-43-270 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-43.txt-270-v2 /boot/config.txt +echo "LCD configrue 270" +fi + + + +#sudo cp ./cmdline.txt /boot/ +#sudo cp ./inittab /etc/ +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +if test "$j" = "kali" ;then +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite"; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage:LCD43-show-V2 [0] [90] [180] [270] [lite]" +fi diff --git a/LCD4C-show b/LCD4C-show new file mode 100755 index 0000000..26d09a9 --- /dev/null +++ b/LCD4C-show @@ -0,0 +1,113 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" + +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite" ;then + +if test "$j" != "retropie" ;then +sudo apt-get install xserver-xorg-input-evdev +sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf +fi + +if test "$j" = "retropie" ;then +sudo cp -rf ./nes /home/pi/RetroPie/roms/ +fi + +echo "1" > ./boot/mark + +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + +if test "$j" != "kali" ;then +if test "$1" != "lite" -a "$2" != "lite" ;then +sudo cp -rf ./etc/rc.local-gpio /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +else +sudo cp -rf ./etc/rc.local /etc/rc.local +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi +else +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + +if test "$1" = "0" -o "$#" = "0" -o "$2" = "0";then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-4c /usr/share/X11/xorg.conf.d/99-calibration.conf + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali"; then + sudo cp ./boot/config-4c.txt-lite /boot/config.txt + else + sudo cp ./boot/config-4c.txt /boot/config.txt + fi + if test "$j" = "retropie"; then + sudo cp ./boot/config-4c.txt-retropie /boot/config.txt + fi + echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1" ;then + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-4c /usr/share/X11/xorg.conf.d/99-calibration.conf + sudo cp ./boot/config-4c.txt-lite /boot/config.txt + echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90" ;then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-4c.txt-90-lite /boot/config.txt + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-4c-270 /usr/share/X11/xorg.conf.d/99-calibration.conf + else + sudo cp ./boot/config-4c.txt-90 /boot/config.txt + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-4c-90 /usr/share/X11/xorg.conf.d/99-calibration.conf + fi + echo "LCD configrue 90" +elif test "$1" = "180" -o "$2" = "180" ;then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-4c.txt-180-lite /boot/config.txt + else + sudo cp ./boot/config-4c.txt-180 /boot/config.txt + fi + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-4c-180 /usr/share/X11/xorg.conf.d/99-calibration.conf + echo "LCD configrue 180" +elif test "$1" = "270" -o "$2" = "270" ; then + if test "$1" = "lite" -o "$2" = "lite" -o "$j" = "kali" ; then + sudo cp ./boot/config-4c.txt-270-lite /boot/config.txt + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-4c-90 /usr/share/X11/xorg.conf.d/99-calibration.conf + else + sudo cp ./boot/config-4c.txt-270 /boot/config.txt + sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-4c-270 /usr/share/X11/xorg.conf.d/99-calibration.conf + fi + echo "LCD configrue 270" +fi + +sudo cp ./waveshare4c-overlay.dtb /boot/overlays/waveshare4c.dtbo +sudo cp ./waveshare4c-overlay.dtb /boot/overlays/ +#sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/ +if [ -b /dev/mmcblk0p7 ]; then +sudo cp ./cmdline.txt-noobs /boot/cmdline.txt +else +sudo cp ./cmdline.txt /boot/ +fi + +sudo cp ./inittab /etc/ + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite"; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage:LCD4C-show [0] [90] [180] [270] [lite]" +fi diff --git a/LCD5-show b/LCD5-show new file mode 100755 index 0000000..e592991 --- /dev/null +++ b/LCD5-show @@ -0,0 +1,80 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" + +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite";then + +if test "$j" != "retropie" ;then +sudo apt-get install xserver-xorg-input-evdev +sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf +fi + +if test "$j" = "retropie" ;then +sudo cp -rf ./nes /home/pi/RetroPie/roms/ +fi + +echo "1" > ./boot/mark +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb + +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + +sudo cp -rf ./etc/rc.local /etc/rc.local + +if test "$1" = "0" -o "$#" = "0" -o "$2" = "0"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-5.txt /boot/config.txt +echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-5.txt /boot/config.txt +echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-90 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-5.txt-90 /boot/config.txt +echo "LCD configrue 90" +elif test "$1" = "180" -o "$2" = "180";then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-180 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-5.txt-180 /boot/config.txt +echo "LCD configrue 180" +elif test "$1" = "270" -o "$2" = "270" ;then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-270 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-5.txt-270 /boot/config.txt +echo "LCD configrue 270" +fi + + + +#sudo cp ./cmdline.txt /boot/ +#sudo cp ./inittab /etc/ +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +if test "$j" = "kali" ;then +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite"; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage:LCD5-show [0] [90] [180] [270] [lite]" +fi diff --git a/LCD7-1024x600-show b/LCD7-1024x600-show new file mode 100755 index 0000000..e8df703 --- /dev/null +++ b/LCD7-1024x600-show @@ -0,0 +1,79 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" + +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite" ;then + +if test "$j" != "retropie" ;then +sudo apt-get install xserver-xorg-input-evdev +sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf +fi + +if test "$j" = "retropie" ;then +sudo cp -rf ./nes /home/pi/RetroPie/roms/ +fi + +echo "1" > ./boot/mark +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb + +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + +sudo cp -rf ./etc/rc.local /etc/rc.local + +if test "$1" = "0" -o "$#" = "0" -o "$2" = "0" ; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-7-1024x600.txt /boot/config.txt +echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-7-1024x600.txt /boot/config.txt +echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90" ; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600-90 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-7-1024x600.txt-90 /boot/config.txt +echo "LCD configrue 90" +elif test "$1" = "180" -o "$2" = "180" ;then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600-180 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-7-1024x600.txt-180 /boot/config.txt +echo "LCD configrue 180" +elif test "$1" = "270" -o "$2" = "270" ;then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600-270 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-7-1024x600.txt-270 /boot/config.txt +echo "LCD configrue 270" +fi + + +#sudo cp ./cmdline.txt /boot/ +#sudo cp ./inittab /etc/ +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +if test "$j" = "kali" ;then +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite"; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage:LCD7-1024x600-show [0] [90] [180] [270] [lite]" +fi diff --git a/LCD7-800x480-show b/LCD7-800x480-show new file mode 100755 index 0000000..bf6f30e --- /dev/null +++ b/LCD7-800x480-show @@ -0,0 +1,80 @@ +i=1 +for lines in `cat ./boot/mark` +do + case ${i} in + 1) var1=${lines};; + esac + i=`expr ${i} + 1` +done +#echo "$var1" + +j=$(uname -n) +if test "$var1" = "0" -a "$1" != "lite" -a "$2" != "lite" ;then + +if test "$j" != "retropie" ;then +sudo apt-get install xserver-xorg-input-evdev +sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf +fi + +if test "$j" = "retropie" ;then +sudo cp -rf ./nes /home/pi/RetroPie/roms/ +fi + +echo "1" > ./boot/mark +sudo dpkg -i -B ./xinput-calibrator_0.7.5-1_armhf.deb + +sudo apt-get install cmake -y +cd ./rpi-fbcp/build/ +sudo cmake .. +sudo make +sudo install fbcp /usr/local/bin/fbcp +cd ../../ +sudo mkdir /usr/share/X11/xorg.conf.d + +elif test "$var1" = "0" -a "$1" = "lite" ;then +echo "1" > ./boot/mark +echo "No touch driver installled" +echo "No fbcp driver installled" +sudo mkdir /usr/share/X11/xorg.conf.d + +fi + +sudo cp -rf ./etc/rc.local /etc/rc.local + +if test "$1" = "0" -o "$#" = "0" -o "$2" = "0"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-7-800x480.txt /boot/config.txt +echo "LCD configrue 0" +elif test "$1" = "lite" -a "$#" = "1"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-7-800x480.txt /boot/config.txt +echo "LCD configrue 0" +elif test "$1" = "90" -o "$2" = "90"; then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600-90 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-7-800x480.txt-90 /boot/config.txt +echo "LCD configrue 90" +elif test "$1" = "180" -o "$2" = "180";then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600-180 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-7-800x480.txt-180 /boot/config.txt +echo "LCD configrue 180" +elif test "$1" = "270" -o "$2" = "270";then +sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600-270 /usr/share/X11/xorg.conf.d/99-calibration.conf +sudo cp ./boot/config-7-800x480.txt-270 /boot/config.txt +echo "LCD configrue 270" +fi + + + +#sudo cp ./cmdline.txt /boot/ +#sudo cp ./inittab /etc/ +sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +if test "$j" = "kali" ;then +sudo cp ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf +fi + +if test "$#" = "0" -o "$1" = "0" -o "$1" = "90" -o "$1" = "180" -o "$1" = "270" -o "$2" = "0" -o "$2" = "90" -o "$2" = "180" -o "$2" = "270" -o "$1" = "lite" -o "$2" = "lite"; then +sudo reboot +echo "reboot now" +else +echo "Invalid parameter,Usage:LCD7-800x480-show [0] [90] [180] [270] [lite]" +fi diff --git a/boot/config-101-1024x600.txt b/boot/config-101-1024x600.txt new file mode 100755 index 0000000..ecabc31 --- /dev/null +++ b/boot/config-101-1024x600.txt @@ -0,0 +1,66 @@ +# 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=0 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 1024 600 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 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-101-1024x600.txt-180 b/boot/config-101-1024x600.txt-180 new file mode 100755 index 0000000..24ac62e --- /dev/null +++ b/boot/config-101-1024x600.txt-180 @@ -0,0 +1,66 @@ +# 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=2 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 1024 600 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 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-101-1024x600.txt-270 b/boot/config-101-1024x600.txt-270 new file mode 100755 index 0000000..fcd4790 --- /dev/null +++ b/boot/config-101-1024x600.txt-270 @@ -0,0 +1,66 @@ +# 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=3 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 1024 600 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 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-101-1024x600.txt-90 b/boot/config-101-1024x600.txt-90 new file mode 100755 index 0000000..4d3b379 --- /dev/null +++ b/boot/config-101-1024x600.txt-90 @@ -0,0 +1,66 @@ +# 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 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 1024 600 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 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-154.txt b/boot/config-154.txt new file mode 100755 index 0000000..2286763 --- /dev/null +++ b/boot/config-154.txt @@ -0,0 +1,65 @@ +# 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 + +dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +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 diff --git a/boot/config-154.txt-90 b/boot/config-154.txt-90 new file mode 100755 index 0000000..a2aab8b --- /dev/null +++ b/boot/config-154.txt-90 @@ -0,0 +1,66 @@ +# 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 + +dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +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=1 diff --git a/boot/config-32.txt b/boot/config-32.txt new file mode 100755 index 0000000..22fbf36 --- /dev/null +++ b/boot/config-32.txt @@ -0,0 +1,65 @@ +# 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 +dtoverlay=waveshare32b:rotate=270 +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 diff --git a/boot/config-32.txt-180 b/boot/config-32.txt-180 new file mode 100755 index 0000000..6ef7b17 --- /dev/null +++ b/boot/config-32.txt-180 @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare32b:rotate=270 +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=2 diff --git a/boot/config-32.txt-180-lite b/boot/config-32.txt-180-lite new file mode 100755 index 0000000..0a5cd05 --- /dev/null +++ b/boot/config-32.txt-180-lite @@ -0,0 +1,65 @@ +# 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 +dtoverlay=waveshare32b:rotate=90 +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +#hdmi_force_hotplug=1 +#max_usb_current=1 +#hdmi_group=2 +#hdmi_mode=1 +#hdmi_mode=87 +#hdmi_cvt 320 240 60 6 0 0 0 +#hdmi_drive=2 diff --git a/boot/config-32.txt-270 b/boot/config-32.txt-270 new file mode 100755 index 0000000..6153ce3 --- /dev/null +++ b/boot/config-32.txt-270 @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare32b:rotate=90 +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=3 diff --git a/boot/config-32.txt-270-lite b/boot/config-32.txt-270-lite new file mode 100755 index 0000000..d1a7617 --- /dev/null +++ b/boot/config-32.txt-270-lite @@ -0,0 +1,65 @@ +# 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 +dtoverlay=waveshare32b:rotate=180 +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +#hdmi_force_hotplug=1 +#max_usb_current=1 +#hdmi_group=2 +#hdmi_mode=1 +#hdmi_mode=87 +#hdmi_cvt 320 240 60 6 0 0 0 +#hdmi_drive=2 diff --git a/boot/config-32.txt-90 b/boot/config-32.txt-90 new file mode 100755 index 0000000..37593c3 --- /dev/null +++ b/boot/config-32.txt-90 @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare32b:rotate=90 +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=1 diff --git a/boot/config-32.txt-90-lite b/boot/config-32.txt-90-lite new file mode 100755 index 0000000..dcbbb55 --- /dev/null +++ b/boot/config-32.txt-90-lite @@ -0,0 +1,65 @@ +# 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 +dtoverlay=waveshare32b:rotate=0 +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +#hdmi_force_hotplug=1 +#max_usb_current=1 +#hdmi_group=2 +#hdmi_mode=1 +#hdmi_mode=87 +#hdmi_cvt 320 240 60 6 0 0 0 +#hdmi_drive=2 diff --git a/boot/config-32.txt-retropie b/boot/config-32.txt-retropie new file mode 100755 index 0000000..f74f555 --- /dev/null +++ b/boot/config-32.txt-retropie @@ -0,0 +1,65 @@ +# 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 +dtoverlay=waveshare32b:rotate=270 +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 640 480 60 6 0 0 0 +hdmi_drive=2 diff --git a/boot/config-32c.txt b/boot/config-32c.txt new file mode 100644 index 0000000..482e624 --- /dev/null +++ b/boot/config-32c.txt @@ -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 +dtoverlay=waveshare32c:rotate=270 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 diff --git a/boot/config-32c.txt-180 b/boot/config-32c.txt-180 new file mode 100644 index 0000000..e773425 --- /dev/null +++ b/boot/config-32c.txt-180 @@ -0,0 +1,64 @@ +# 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 +dtoverlay=waveshare32c:rotate=270 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=2 diff --git a/boot/config-32c.txt-180-lite b/boot/config-32c.txt-180-lite new file mode 100644 index 0000000..70f8d5c --- /dev/null +++ b/boot/config-32c.txt-180-lite @@ -0,0 +1,57 @@ +# 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 +dtoverlay=waveshare32c:rotate=90 diff --git a/boot/config-32c.txt-270 b/boot/config-32c.txt-270 new file mode 100644 index 0000000..cd35b4a --- /dev/null +++ b/boot/config-32c.txt-270 @@ -0,0 +1,64 @@ +# 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 +dtoverlay=waveshare32c:rotate=270 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=3 diff --git a/boot/config-32c.txt-270-lite b/boot/config-32c.txt-270-lite new file mode 100644 index 0000000..caff4ca --- /dev/null +++ b/boot/config-32c.txt-270-lite @@ -0,0 +1,57 @@ +# 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 +dtoverlay=waveshare32c:rotate=180 diff --git a/boot/config-32c.txt-90 b/boot/config-32c.txt-90 new file mode 100644 index 0000000..5d8f491 --- /dev/null +++ b/boot/config-32c.txt-90 @@ -0,0 +1,64 @@ +# 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 +dtoverlay=waveshare32c:rotate=270 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=1 diff --git a/boot/config-32c.txt-90-lite b/boot/config-32c.txt-90-lite new file mode 100644 index 0000000..93680bb --- /dev/null +++ b/boot/config-32c.txt-90-lite @@ -0,0 +1,57 @@ +# 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 +dtoverlay=waveshare32c:rotate=0 diff --git a/boot/config-32c.txt-retropie b/boot/config-32c.txt-retropie new file mode 100644 index 0000000..08a4f29 --- /dev/null +++ b/boot/config-32c.txt-retropie @@ -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 +dtoverlay=waveshare32c:rotate=270 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 640 480 60 6 0 0 0 +hdmi_drive=2 diff --git a/boot/config-35.txt b/boot/config-35.txt new file mode 100755 index 0000000..483be90 --- /dev/null +++ b/boot/config-35.txt @@ -0,0 +1,65 @@ +# 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 +dtoverlay=waveshare35a +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 diff --git a/boot/config-35.txt-180 b/boot/config-35.txt-180 new file mode 100755 index 0000000..f0c28c3 --- /dev/null +++ b/boot/config-35.txt-180 @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35a +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=2 diff --git a/boot/config-35.txt-180-lite b/boot/config-35.txt-180-lite new file mode 100755 index 0000000..69fa84f --- /dev/null +++ b/boot/config-35.txt-180-lite @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35a:rotate=270 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=1 diff --git a/boot/config-35.txt-270 b/boot/config-35.txt-270 new file mode 100755 index 0000000..955b536 --- /dev/null +++ b/boot/config-35.txt-270 @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35a:rotate=90 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=3 diff --git a/boot/config-35.txt-270-lite b/boot/config-35.txt-270-lite new file mode 100755 index 0000000..15f05a3 --- /dev/null +++ b/boot/config-35.txt-270-lite @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35a:rotate=180 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=1 diff --git a/boot/config-35.txt-90 b/boot/config-35.txt-90 new file mode 100755 index 0000000..2126a1a --- /dev/null +++ b/boot/config-35.txt-90 @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35a:rotate=90 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=1 diff --git a/boot/config-35.txt-90-lite b/boot/config-35.txt-90-lite new file mode 100755 index 0000000..c30f237 --- /dev/null +++ b/boot/config-35.txt-90-lite @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35a:rotate=0 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=1 diff --git a/boot/config-35.txt-retropie b/boot/config-35.txt-retropie new file mode 100755 index 0000000..789d6ce --- /dev/null +++ b/boot/config-35.txt-retropie @@ -0,0 +1,65 @@ +# 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 +dtoverlay=waveshare35a +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 640 480 60 6 0 0 0 +hdmi_drive=2 diff --git a/boot/config-35H-480x320.txt b/boot/config-35H-480x320.txt new file mode 100755 index 0000000..98da36a --- /dev/null +++ b/boot/config-35H-480x320.txt @@ -0,0 +1,64 @@ +# 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_group=2 +hdmi_mode=1 +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 +hdmi_drive=2 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-35H-480x320.txt-180 b/boot/config-35H-480x320.txt-180 new file mode 100755 index 0000000..09275d9 --- /dev/null +++ b/boot/config-35H-480x320.txt-180 @@ -0,0 +1,65 @@ +# 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_group=2 +hdmi_mode=1 +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 +display_rotate=2 +hdmi_drive=2 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-35H-480x320.txt-270 b/boot/config-35H-480x320.txt-270 new file mode 100755 index 0000000..ace3dfe --- /dev/null +++ b/boot/config-35H-480x320.txt-270 @@ -0,0 +1,65 @@ +# 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_group=2 +hdmi_mode=1 +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 +display_rotate=3 +hdmi_drive=2 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-35H-480x320.txt-90 b/boot/config-35H-480x320.txt-90 new file mode 100755 index 0000000..d2067b8 --- /dev/null +++ b/boot/config-35H-480x320.txt-90 @@ -0,0 +1,65 @@ +# 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 +hdmi_group=2 +hdmi_mode=1 +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 +hdmi_drive=2 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-35b-v2.txt b/boot/config-35b-v2.txt new file mode 100755 index 0000000..73d1b31 --- /dev/null +++ b/boot/config-35b-v2.txt @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35b-v2 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=0 diff --git a/boot/config-35b-v2.txt-180 b/boot/config-35b-v2.txt-180 new file mode 100755 index 0000000..f9769d6 --- /dev/null +++ b/boot/config-35b-v2.txt-180 @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35b-v2:rotate=90 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=2 diff --git a/boot/config-35b-v2.txt-180-lite b/boot/config-35b-v2.txt-180-lite new file mode 100755 index 0000000..2f94034 --- /dev/null +++ b/boot/config-35b-v2.txt-180-lite @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35b-v2:rotate=270 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=2 diff --git a/boot/config-35b-v2.txt-180t b/boot/config-35b-v2.txt-180t new file mode 100644 index 0000000..f9769d6 --- /dev/null +++ b/boot/config-35b-v2.txt-180t @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35b-v2:rotate=90 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=2 diff --git a/boot/config-35b-v2.txt-270 b/boot/config-35b-v2.txt-270 new file mode 100755 index 0000000..3414faf --- /dev/null +++ b/boot/config-35b-v2.txt-270 @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35b-v2:rotate=90 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=3 diff --git a/boot/config-35b-v2.txt-270-lite b/boot/config-35b-v2.txt-270-lite new file mode 100755 index 0000000..f765a6d --- /dev/null +++ b/boot/config-35b-v2.txt-270-lite @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35b-v2:rotate=180 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=3 diff --git a/boot/config-35b-v2.txt-90 b/boot/config-35b-v2.txt-90 new file mode 100755 index 0000000..533b028 --- /dev/null +++ b/boot/config-35b-v2.txt-90 @@ -0,0 +1,67 @@ +# 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 +dtoverlay=waveshare35b-v2:rotate=90 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=1 + diff --git a/boot/config-35b-v2.txt-90-lite b/boot/config-35b-v2.txt-90-lite new file mode 100755 index 0000000..60902de --- /dev/null +++ b/boot/config-35b-v2.txt-90-lite @@ -0,0 +1,67 @@ +# 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 +dtoverlay=waveshare35b-v2:rotate=0 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=1 + diff --git a/boot/config-35b-v2.txt-retropie b/boot/config-35b-v2.txt-retropie new file mode 100755 index 0000000..5ba3fc2 --- /dev/null +++ b/boot/config-35b-v2.txt-retropie @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35b-v2 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 640 480 60 6 0 0 0 +hdmi_drive=2 +display_rotate=0 diff --git a/boot/config-35b.txt b/boot/config-35b.txt new file mode 100755 index 0000000..e2fb22c --- /dev/null +++ b/boot/config-35b.txt @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35b +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=0 diff --git a/boot/config-35b.txt-180 b/boot/config-35b.txt-180 new file mode 100755 index 0000000..6e7d60d --- /dev/null +++ b/boot/config-35b.txt-180 @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35b +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=2 diff --git a/boot/config-35b.txt-180-lite b/boot/config-35b.txt-180-lite new file mode 100755 index 0000000..ad896c6 --- /dev/null +++ b/boot/config-35b.txt-180-lite @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35b:rotate=270 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=0 diff --git a/boot/config-35b.txt-180-liteY b/boot/config-35b.txt-180-liteY new file mode 100644 index 0000000..ad896c6 --- /dev/null +++ b/boot/config-35b.txt-180-liteY @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35b:rotate=270 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=0 diff --git a/boot/config-35b.txt-270 b/boot/config-35b.txt-270 new file mode 100755 index 0000000..aacb4a7 --- /dev/null +++ b/boot/config-35b.txt-270 @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35b:rotate=90 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=3 diff --git a/boot/config-35b.txt-270-lite b/boot/config-35b.txt-270-lite new file mode 100755 index 0000000..6e62705 --- /dev/null +++ b/boot/config-35b.txt-270-lite @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35b:rotate=180 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=0 diff --git a/boot/config-35b.txt-90 b/boot/config-35b.txt-90 new file mode 100755 index 0000000..01d95d3 --- /dev/null +++ b/boot/config-35b.txt-90 @@ -0,0 +1,67 @@ +# 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 +dtoverlay=waveshare35b:rotate=90 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=1 + diff --git a/boot/config-35b.txt-90-lite b/boot/config-35b.txt-90-lite new file mode 100755 index 0000000..f1eae1e --- /dev/null +++ b/boot/config-35b.txt-90-lite @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35b:rotate=0 +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=0 diff --git a/boot/config-35b.txt-retropie b/boot/config-35b.txt-retropie new file mode 100755 index 0000000..01c0f22 --- /dev/null +++ b/boot/config-35b.txt-retropie @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35b +#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 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 640 480 60 6 0 0 0 +hdmi_drive=2 +display_rotate=0 diff --git a/boot/config-35c.txt b/boot/config-35c.txt new file mode 100644 index 0000000..7340482 --- /dev/null +++ b/boot/config-35c.txt @@ -0,0 +1,64 @@ +# 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 +dtoverlay=waveshare35c:rotate=90 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=0 diff --git a/boot/config-35c.txt-180 b/boot/config-35c.txt-180 new file mode 100644 index 0000000..f0150a2 --- /dev/null +++ b/boot/config-35c.txt-180 @@ -0,0 +1,64 @@ +# 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 +dtoverlay=waveshare35c:rotate=270 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=0 diff --git a/boot/config-35c.txt-180-lite b/boot/config-35c.txt-180-lite new file mode 100644 index 0000000..f0150a2 --- /dev/null +++ b/boot/config-35c.txt-180-lite @@ -0,0 +1,64 @@ +# 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 +dtoverlay=waveshare35c:rotate=270 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=0 diff --git a/boot/config-35c.txt-270 b/boot/config-35c.txt-270 new file mode 100644 index 0000000..4191c72 --- /dev/null +++ b/boot/config-35c.txt-270 @@ -0,0 +1,64 @@ +# 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 +dtoverlay=waveshare35c:rotate=270 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=3 diff --git a/boot/config-35c.txt-270-lite b/boot/config-35c.txt-270-lite new file mode 100644 index 0000000..889f346 --- /dev/null +++ b/boot/config-35c.txt-270-lite @@ -0,0 +1,57 @@ +# 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 +dtoverlay=waveshare35c:rotate=180 diff --git a/boot/config-35c.txt-90 b/boot/config-35c.txt-90 new file mode 100644 index 0000000..f96477a --- /dev/null +++ b/boot/config-35c.txt-90 @@ -0,0 +1,64 @@ +# 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 +dtoverlay=waveshare35c:rotate=270 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=1 diff --git a/boot/config-35c.txt-90-lite b/boot/config-35c.txt-90-lite new file mode 100644 index 0000000..2f5c80e --- /dev/null +++ b/boot/config-35c.txt-90-lite @@ -0,0 +1,57 @@ +# 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 +dtoverlay=waveshare35c:rotate=0 diff --git a/boot/config-35c.txt-lite b/boot/config-35c.txt-lite new file mode 100644 index 0000000..5834705 --- /dev/null +++ b/boot/config-35c.txt-lite @@ -0,0 +1,64 @@ +# 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 +dtoverlay=waveshare35c:rotate=90 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=2 diff --git a/boot/config-35c.txt-retropie b/boot/config-35c.txt-retropie new file mode 100644 index 0000000..7340482 --- /dev/null +++ b/boot/config-35c.txt-retropie @@ -0,0 +1,64 @@ +# 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 +dtoverlay=waveshare35c:rotate=90 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=0 diff --git a/boot/config-4-800x480.txt b/boot/config-4-800x480.txt new file mode 100755 index 0000000..8f6e97c --- /dev/null +++ b/boot/config-4-800x480.txt @@ -0,0 +1,65 @@ +# 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_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 800 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 +display_rotate=3 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-4-800x480.txt-180 b/boot/config-4-800x480.txt-180 new file mode 100755 index 0000000..d7cd215 --- /dev/null +++ b/boot/config-4-800x480.txt-180 @@ -0,0 +1,65 @@ +# 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 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 800 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 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-4-800x480.txt-270 b/boot/config-4-800x480.txt-270 new file mode 100755 index 0000000..989cc53 --- /dev/null +++ b/boot/config-4-800x480.txt-270 @@ -0,0 +1,64 @@ +# 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_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 800 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 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-4-800x480.txt-90 b/boot/config-4-800x480.txt-90 new file mode 100755 index 0000000..6f48642 --- /dev/null +++ b/boot/config-4-800x480.txt-90 @@ -0,0 +1,65 @@ +# 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_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 800 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 +display_rotate=2 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-4.txt b/boot/config-4.txt new file mode 100755 index 0000000..225b28b --- /dev/null +++ b/boot/config-4.txt @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35a +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=0 diff --git a/boot/config-4.txt-180 b/boot/config-4.txt-180 new file mode 100755 index 0000000..2cd58fc --- /dev/null +++ b/boot/config-4.txt-180 @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35a +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=2 diff --git a/boot/config-4.txt-180-lite b/boot/config-4.txt-180-lite new file mode 100755 index 0000000..56f81d7 --- /dev/null +++ b/boot/config-4.txt-180-lite @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35a:rotate=270 +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=0 diff --git a/boot/config-4.txt-270 b/boot/config-4.txt-270 new file mode 100755 index 0000000..09c7858 --- /dev/null +++ b/boot/config-4.txt-270 @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35a:rotate=90 +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=3 diff --git a/boot/config-4.txt-270-lite b/boot/config-4.txt-270-lite new file mode 100755 index 0000000..56ae3d4 --- /dev/null +++ b/boot/config-4.txt-270-lite @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35a:rotate=180 +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=0 diff --git a/boot/config-4.txt-90 b/boot/config-4.txt-90 new file mode 100755 index 0000000..d15938b --- /dev/null +++ b/boot/config-4.txt-90 @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35a:rotate=90 +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=1 diff --git a/boot/config-4.txt-90-lite b/boot/config-4.txt-90-lite new file mode 100755 index 0000000..59801e5 --- /dev/null +++ b/boot/config-4.txt-90-lite @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35a:rotate=0 +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=0 diff --git a/boot/config-4.txt-retropie b/boot/config-4.txt-retropie new file mode 100755 index 0000000..225b28b --- /dev/null +++ b/boot/config-4.txt-retropie @@ -0,0 +1,66 @@ +# 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 +dtoverlay=waveshare35a +#dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900 +hdmi_force_hotplug=1 +#max_usb_current=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=0 diff --git a/boot/config-43.txt b/boot/config-43.txt new file mode 100755 index 0000000..91b1942 --- /dev/null +++ b/boot/config-43.txt @@ -0,0 +1,65 @@ +# 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=2 +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 9009000 3 +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 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-43.txt-180 b/boot/config-43.txt-180 new file mode 100755 index 0000000..191e214 --- /dev/null +++ b/boot/config-43.txt-180 @@ -0,0 +1,65 @@ +# 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=0 +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 9009000 3 +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 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-43.txt-180-v2 b/boot/config-43.txt-180-v2 new file mode 100755 index 0000000..1f1ba27 --- /dev/null +++ b/boot/config-43.txt-180-v2 @@ -0,0 +1,65 @@ +# 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=0 +max_usb_current=1 +hdmi_group=2 +hdmi_mode=87 +hdmi_cvt 480 272 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 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-43.txt-270 b/boot/config-43.txt-270 new file mode 100755 index 0000000..dcdd0a4 --- /dev/null +++ b/boot/config-43.txt-270 @@ -0,0 +1,65 @@ +# 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=3 +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 9009000 3 +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 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-43.txt-270-v2 b/boot/config-43.txt-270-v2 new file mode 100755 index 0000000..8e9d4dd --- /dev/null +++ b/boot/config-43.txt-270-v2 @@ -0,0 +1,65 @@ +# 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=3 +max_usb_current=1 +hdmi_group=2 +hdmi_mode=87 +hdmi_cvt 480 272 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 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-43.txt-90 b/boot/config-43.txt-90 new file mode 100755 index 0000000..ac25bf1 --- /dev/null +++ b/boot/config-43.txt-90 @@ -0,0 +1,65 @@ +# 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 +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 9009000 3 +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 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-43.txt-90-v2 b/boot/config-43.txt-90-v2 new file mode 100755 index 0000000..00f0fd7 --- /dev/null +++ b/boot/config-43.txt-90-v2 @@ -0,0 +1,65 @@ +# 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 +max_usb_current=1 +hdmi_group=2 +hdmi_mode=87 +hdmi_cvt 480 272 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 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-43.txt-v2 b/boot/config-43.txt-v2 new file mode 100755 index 0000000..15a8f62 --- /dev/null +++ b/boot/config-43.txt-v2 @@ -0,0 +1,65 @@ +# 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=2 +max_usb_current=1 +hdmi_group=2 +hdmi_mode=87 +hdmi_cvt 480 272 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 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-4c.txt b/boot/config-4c.txt new file mode 100644 index 0000000..723e593 --- /dev/null +++ b/boot/config-4c.txt @@ -0,0 +1,64 @@ +# 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 +dtoverlay=waveshare4c:rotate=270 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=2 diff --git a/boot/config-4c.txt-180 b/boot/config-4c.txt-180 new file mode 100644 index 0000000..f836719 --- /dev/null +++ b/boot/config-4c.txt-180 @@ -0,0 +1,64 @@ +# 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 +dtoverlay=waveshare4c:rotate=270 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=0 diff --git a/boot/config-4c.txt-180-lite b/boot/config-4c.txt-180-lite new file mode 100644 index 0000000..723e593 --- /dev/null +++ b/boot/config-4c.txt-180-lite @@ -0,0 +1,64 @@ +# 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 +dtoverlay=waveshare4c:rotate=270 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=2 diff --git a/boot/config-4c.txt-270 b/boot/config-4c.txt-270 new file mode 100644 index 0000000..fc66fbf --- /dev/null +++ b/boot/config-4c.txt-270 @@ -0,0 +1,64 @@ +# 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 +dtoverlay=waveshare4c:rotate=270 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=3 diff --git a/boot/config-4c.txt-270-lite b/boot/config-4c.txt-270-lite new file mode 100644 index 0000000..c7c03f1 --- /dev/null +++ b/boot/config-4c.txt-270-lite @@ -0,0 +1,57 @@ +# 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 +dtoverlay=waveshare4c:rotate=180 diff --git a/boot/config-4c.txt-90 b/boot/config-4c.txt-90 new file mode 100644 index 0000000..98b3af4 --- /dev/null +++ b/boot/config-4c.txt-90 @@ -0,0 +1,64 @@ +# 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 +dtoverlay=waveshare4c:rotate=270 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=1 diff --git a/boot/config-4c.txt-90-lite b/boot/config-4c.txt-90-lite new file mode 100644 index 0000000..cfdd6b0 --- /dev/null +++ b/boot/config-4c.txt-90-lite @@ -0,0 +1,57 @@ +# 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 +dtoverlay=waveshare4c:rotate=0 diff --git a/boot/config-4c.txt-lite b/boot/config-4c.txt-lite new file mode 100644 index 0000000..dadec8c --- /dev/null +++ b/boot/config-4c.txt-lite @@ -0,0 +1,57 @@ +# 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 +dtoverlay=waveshare4c:rotate=90 diff --git a/boot/config-4c.txt-retropie b/boot/config-4c.txt-retropie new file mode 100644 index 0000000..723e593 --- /dev/null +++ b/boot/config-4c.txt-retropie @@ -0,0 +1,64 @@ +# 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 +dtoverlay=waveshare4c:rotate=270 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 +display_rotate=2 diff --git a/boot/config-5.txt b/boot/config-5.txt new file mode 100755 index 0000000..5770180 --- /dev/null +++ b/boot/config-5.txt @@ -0,0 +1,64 @@ +# 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_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 800 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 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-5.txt-180 b/boot/config-5.txt-180 new file mode 100755 index 0000000..b6b46f2 --- /dev/null +++ b/boot/config-5.txt-180 @@ -0,0 +1,65 @@ +# 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_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 800 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 +display_rotate=2 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-5.txt-270 b/boot/config-5.txt-270 new file mode 100755 index 0000000..126fa6a --- /dev/null +++ b/boot/config-5.txt-270 @@ -0,0 +1,65 @@ +# 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_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 800 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 +display_rotate=3 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-5.txt-90 b/boot/config-5.txt-90 new file mode 100755 index 0000000..9c1221f --- /dev/null +++ b/boot/config-5.txt-90 @@ -0,0 +1,65 @@ +# 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 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 800 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 +hdmi_drive=1 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-7-1024x600.txt b/boot/config-7-1024x600.txt new file mode 100755 index 0000000..df22fbc --- /dev/null +++ b/boot/config-7-1024x600.txt @@ -0,0 +1,64 @@ +# 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_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 1024 600 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 +hdmi_drive=2 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-7-1024x600.txt-180 b/boot/config-7-1024x600.txt-180 new file mode 100755 index 0000000..ba0c638 --- /dev/null +++ b/boot/config-7-1024x600.txt-180 @@ -0,0 +1,65 @@ +# 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_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 1024 600 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 +display_rotate=2 +hdmi_drive=2 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-7-1024x600.txt-270 b/boot/config-7-1024x600.txt-270 new file mode 100755 index 0000000..5597081 --- /dev/null +++ b/boot/config-7-1024x600.txt-270 @@ -0,0 +1,65 @@ +# 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_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 1024 600 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 +display_rotate=3 +hdmi_drive=2 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-7-1024x600.txt-90 b/boot/config-7-1024x600.txt-90 new file mode 100755 index 0000000..46f09d4 --- /dev/null +++ b/boot/config-7-1024x600.txt-90 @@ -0,0 +1,65 @@ +# 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_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 1024 600 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 +display_rotate=1 +hdmi_drive=2 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-7-800x480.txt b/boot/config-7-800x480.txt new file mode 100755 index 0000000..398ae9b --- /dev/null +++ b/boot/config-7-800x480.txt @@ -0,0 +1,64 @@ +# 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_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 800 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 +hdmi_drive=2 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-7-800x480.txt-180 b/boot/config-7-800x480.txt-180 new file mode 100755 index 0000000..47627f7 --- /dev/null +++ b/boot/config-7-800x480.txt-180 @@ -0,0 +1,65 @@ +# 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_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 800 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 +display_rotate=2 +hdmi_drive=2 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-7-800x480.txt-270 b/boot/config-7-800x480.txt-270 new file mode 100755 index 0000000..69607e1 --- /dev/null +++ b/boot/config-7-800x480.txt-270 @@ -0,0 +1,65 @@ +# 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_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 800 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 +display_rotate=3 +hdmi_drive=2 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-7-800x480.txt-90 b/boot/config-7-800x480.txt-90 new file mode 100755 index 0000000..6436df5 --- /dev/null +++ b/boot/config-7-800x480.txt-90 @@ -0,0 +1,65 @@ +# 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_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 800 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 +display_rotate=1 +hdmi_drive=2 +hdmi_force_hotplug=1 +#max_usb_current=1 diff --git a/boot/config-mhs32.txt b/boot/config-mhs32.txt new file mode 100644 index 0000000..2b191b6 --- /dev/null +++ b/boot/config-mhs32.txt @@ -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 +dtoverlay=mhs32 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 \ No newline at end of file diff --git a/boot/config-mhs35.txt b/boot/config-mhs35.txt new file mode 100644 index 0000000..a8b3a9c --- /dev/null +++ b/boot/config-mhs35.txt @@ -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 +dtoverlay=mhs35 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 \ No newline at end of file diff --git a/boot/config-mhs395.txt b/boot/config-mhs395.txt new file mode 100644 index 0000000..b9d3278 --- /dev/null +++ b/boot/config-mhs395.txt @@ -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 +dtoverlay=mhs395 +hdmi_force_hotplug=1 +hdmi_group=2 +hdmi_mode=1 +hdmi_mode=87 +hdmi_cvt 480 320 60 6 0 0 0 +hdmi_drive=2 \ No newline at end of file diff --git a/boot/config-nomal.txt b/boot/config-nomal.txt new file mode 100644 index 0000000..06364c5 --- /dev/null +++ b/boot/config-nomal.txt @@ -0,0 +1,56 @@ +# For more options and information see +# http://rpf.io/configtxt +# 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 + +# 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 diff --git a/boot/mark b/boot/mark new file mode 100644 index 0000000..573541a --- /dev/null +++ b/boot/mark @@ -0,0 +1 @@ +0 diff --git a/cmdline.txt b/cmdline.txt new file mode 100755 index 0000000..936142b --- /dev/null +++ b/cmdline.txt @@ -0,0 +1 @@ +dwc_otg.lpm_enable=0 console=tty1 console=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait fbcon=map:10 fbcon=font:ProFont6x11 logo.nologo diff --git a/cmdline.txt-noobs b/cmdline.txt-noobs new file mode 100755 index 0000000..736488e --- /dev/null +++ b/cmdline.txt-noobs @@ -0,0 +1 @@ +dwc_otg.lpm_enable=0 console=tty1 console=ttyAMA0,115200 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline rootwait fbcon=map:10 fbcon=font:ProFont6x11 logo.nologo diff --git a/dtc.sh b/dtc.sh new file mode 100755 index 0000000..7b30674 --- /dev/null +++ b/dtc.sh @@ -0,0 +1,63 @@ +#!/bin/sh -e + +check_dpkg () { + LC_ALL=C dpkg --list | awk '{print $2}' | grep "^${pkg}" >/dev/null || deb_pkgs="${deb_pkgs}${pkg} " +} + +unset deb_pkgs +pkg="bison" +check_dpkg +pkg="build-essential" +check_dpkg +pkg="flex" +check_dpkg +pkg="git-core" +check_dpkg + +if [ "${deb_pkgs}" ] ; then + echo "Installing: ${deb_pkgs}" + sudo apt-get update + sudo apt-get -y install ${deb_pkgs} + sudo apt-get clean +fi + +#git_sha="origin/master" +#git_sha="27cdc1b16f86f970c3c049795d4e71ad531cca3d" +#git_sha="fdc7387845420168ee5dd479fbe4391ff93bddab" +git_sha="65cc4d2748a2c2e6f27f1cf39e07a5dbabd80ebf" +project="dtc" +server="git://git.kernel.org/pub/scm/linux/kernel/git/jdl" + +if [ ! -f ${HOME}/git/${project}/.git/config ] ; then + git clone ${server}/${project}.git ${HOME}/git/${project}/ +fi + +if [ ! -f ${HOME}/git/${project}/.git/config ] ; then + rm -rf ${HOME}/git/${project}/ || true + echo "error: git failure, try re-runing" + exit +fi + +unset old_address +old_address=$(cat ${HOME}/git/${project}/.git/config | grep "jdl.com" || true) +if [ ! "x${old_address}" = "x" ] ; then + sed -i -e 's:git.jdl.com/software:git.kernel.org/pub/scm/linux/kernel/git/jdl:g' ${HOME}/git/${project}/.git/config +fi + +cd ${HOME}/git/${project}/ +make clean +git checkout master -f +git pull || true + +test_for_branch=$(git branch --list ${git_sha}-build) +if [ "x${test_for_branch}" != "x" ] ; then + git branch ${git_sha}-build -D +fi + +git checkout ${git_sha} -b ${git_sha}-build +git pull git://github.com/RobertCNelson/dtc.git dtc-fixup-65cc4d2 + +make clean +make PREFIX=/usr/local/ CC=gcc CROSS_COMPILE= all +echo "Installing into: /usr/local/bin/" +sudo make PREFIX=/usr/local/ install \ No newline at end of file diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-101-1024x600 b/etc/X11/xorg.conf.d/99-calibration.conf-101-1024x600 new file mode 100755 index 0000000..2203d22 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-101-1024x600 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "117 3992 3743 156" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-101-1024x600-180 b/etc/X11/xorg.conf.d/99-calibration.conf-101-1024x600-180 new file mode 100755 index 0000000..193264a --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-101-1024x600-180 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "4034 31 11 3879" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-101-1024x600-270 b/etc/X11/xorg.conf.d/99-calibration.conf-101-1024x600-270 new file mode 100755 index 0000000..9ec11f5 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-101-1024x600-270 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "31 4034 11 3879" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-101-1024x600-90 b/etc/X11/xorg.conf.d/99-calibration.conf-101-1024x600-90 new file mode 100755 index 0000000..f8ed8c8 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-101-1024x600-90 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "4034 31 3879 11" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-154 b/etc/X11/xorg.conf.d/99-calibration.conf-154 new file mode 100755 index 0000000..813dbe7 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-154 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "272 3491 3518 334" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-154-90 b/etc/X11/xorg.conf.d/99-calibration.conf-154-90 new file mode 100755 index 0000000..71a94ab --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-154-90 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3491 272 3518 334" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-32 b/etc/X11/xorg.conf.d/99-calibration.conf-32 new file mode 100755 index 0000000..905feca --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-32 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "219 3835 3984 219" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-32-180 b/etc/X11/xorg.conf.d/99-calibration.conf-32-180 new file mode 100755 index 0000000..effe9c9 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-32-180 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3835 219 219 3984" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-32-270 b/etc/X11/xorg.conf.d/99-calibration.conf-32-270 new file mode 100755 index 0000000..b1993ac --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-32-270 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3835 219 3984 219" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-32-90 b/etc/X11/xorg.conf.d/99-calibration.conf-32-90 new file mode 100755 index 0000000..868463b --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-32-90 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "219 3835 219 3984" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-32c b/etc/X11/xorg.conf.d/99-calibration.conf-32c new file mode 100644 index 0000000..0b78d9d --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-32c @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "158 3713 212 3901" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-32c-180 b/etc/X11/xorg.conf.d/99-calibration.conf-32c-180 new file mode 100644 index 0000000..044c457 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-32c-180 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3713 158 3901 212" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-32c-270 b/etc/X11/xorg.conf.d/99-calibration.conf-32c-270 new file mode 100644 index 0000000..436a846 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-32c-270 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3713 158 212 3901" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-32c-90 b/etc/X11/xorg.conf.d/99-calibration.conf-32c-90 new file mode 100644 index 0000000..6a44213 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-32c-90 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "158 3713 3901 212" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-35 b/etc/X11/xorg.conf.d/99-calibration.conf-35 new file mode 100755 index 0000000..17fd226 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-35 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3932 300 294 3801" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-35-180 b/etc/X11/xorg.conf.d/99-calibration.conf-35-180 new file mode 100755 index 0000000..0078c81 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-35-180 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "300 3932 3801 294" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-35-270 b/etc/X11/xorg.conf.d/99-calibration.conf-35-270 new file mode 100755 index 0000000..9b3b68f --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-35-270 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "300 3932 294 3801" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-35-90 b/etc/X11/xorg.conf.d/99-calibration.conf-35-90 new file mode 100755 index 0000000..c7f2d4f --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-35-90 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3932 300 3801 294" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-35H b/etc/X11/xorg.conf.d/99-calibration.conf-35H new file mode 100755 index 0000000..d9558df --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-35H @@ -0,0 +1,10 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "190 3991 243 3895" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection + diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-35b b/etc/X11/xorg.conf.d/99-calibration.conf-35b new file mode 100755 index 0000000..17fd226 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-35b @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3932 300 294 3801" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-35b-180 b/etc/X11/xorg.conf.d/99-calibration.conf-35b-180 new file mode 100755 index 0000000..0078c81 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-35b-180 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "300 3932 3801 294" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-35b-270 b/etc/X11/xorg.conf.d/99-calibration.conf-35b-270 new file mode 100755 index 0000000..9b3b68f --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-35b-270 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "300 3932 294 3801" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-35b-90 b/etc/X11/xorg.conf.d/99-calibration.conf-35b-90 new file mode 100755 index 0000000..c7f2d4f --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-35b-90 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3932 300 3801 294" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-35c b/etc/X11/xorg.conf.d/99-calibration.conf-35c new file mode 100644 index 0000000..2df34e2 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-35c @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3936 227 268 3880" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-35c-180 b/etc/X11/xorg.conf.d/99-calibration.conf-35c-180 new file mode 100644 index 0000000..f536459 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-35c-180 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "227 3936 3880 268" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-35c-270 b/etc/X11/xorg.conf.d/99-calibration.conf-35c-270 new file mode 100644 index 0000000..75a82c7 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-35c-270 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "227 3936 268 3880" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-35c-90 b/etc/X11/xorg.conf.d/99-calibration.conf-35c-90 new file mode 100644 index 0000000..32cdadb --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-35c-90 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3936 227 3880 268" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-4 b/etc/X11/xorg.conf.d/99-calibration.conf-4 new file mode 100755 index 0000000..ac05d07 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-4 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3950 172 3871 194" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-4-180 b/etc/X11/xorg.conf.d/99-calibration.conf-4-180 new file mode 100755 index 0000000..db18c41 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-4-180 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "172 3950 194 3871" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-4-270 b/etc/X11/xorg.conf.d/99-calibration.conf-4-270 new file mode 100755 index 0000000..83652ca --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-4-270 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3950 172 194 3871" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-4-90 b/etc/X11/xorg.conf.d/99-calibration.conf-4-90 new file mode 100755 index 0000000..1cc9398 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-4-90 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "172 3950 3871 194" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-43 b/etc/X11/xorg.conf.d/99-calibration.conf-43 new file mode 100755 index 0000000..8ad617b --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-43 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3905 208 3910 288" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-43-180 b/etc/X11/xorg.conf.d/99-calibration.conf-43-180 new file mode 100755 index 0000000..f8880aa --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-43-180 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "208 3905 288 3910" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-43-270 b/etc/X11/xorg.conf.d/99-calibration.conf-43-270 new file mode 100755 index 0000000..3dcc90c --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-43-270 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3905 208 288 3910" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-43-90 b/etc/X11/xorg.conf.d/99-calibration.conf-43-90 new file mode 100755 index 0000000..1643a2b --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-43-90 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "208 3905 3910 288" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-4c b/etc/X11/xorg.conf.d/99-calibration.conf-4c new file mode 100644 index 0000000..2df34e2 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-4c @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3936 227 268 3880" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-4c-180 b/etc/X11/xorg.conf.d/99-calibration.conf-4c-180 new file mode 100644 index 0000000..f536459 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-4c-180 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "227 3936 3880 268" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-4c-180-bk b/etc/X11/xorg.conf.d/99-calibration.conf-4c-180-bk new file mode 100644 index 0000000..2df34e2 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-4c-180-bk @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3936 227 268 3880" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-4c-270 b/etc/X11/xorg.conf.d/99-calibration.conf-4c-270 new file mode 100644 index 0000000..75a82c7 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-4c-270 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "227 3936 268 3880" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-4c-90 b/etc/X11/xorg.conf.d/99-calibration.conf-4c-90 new file mode 100644 index 0000000..32cdadb --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-4c-90 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3936 227 3880 268" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-4c-bk b/etc/X11/xorg.conf.d/99-calibration.conf-4c-bk new file mode 100644 index 0000000..f536459 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-4c-bk @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "227 3936 3880 268" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-5 b/etc/X11/xorg.conf.d/99-calibration.conf-5 new file mode 100755 index 0000000..f8880aa --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-5 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "208 3905 288 3910" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-5-180 b/etc/X11/xorg.conf.d/99-calibration.conf-5-180 new file mode 100755 index 0000000..8ad617b --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-5-180 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3905 208 3910 288" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-5-270 b/etc/X11/xorg.conf.d/99-calibration.conf-5-270 new file mode 100755 index 0000000..3dcc90c --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-5-270 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3905 208 288 3910" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-5-270T b/etc/X11/xorg.conf.d/99-calibration.conf-5-270T new file mode 100644 index 0000000..5b614c7 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-5-270T @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3905 208 288 3910" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "200" + Option "EmulateThirdButtonMoveThreshold" "100" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-5-90 b/etc/X11/xorg.conf.d/99-calibration.conf-5-90 new file mode 100755 index 0000000..1643a2b --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-5-90 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "208 3905 3910 288" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600 b/etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600 new file mode 100755 index 0000000..d2756d5 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "73 4007 3976 84" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600-180 b/etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600-180 new file mode 100755 index 0000000..d198b45 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600-180 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3863 36 157 3887" + Option "SwapAxes" "1" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600-270 b/etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600-270 new file mode 100755 index 0000000..968a192 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600-270 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "36 3863 157 3887" + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600-90 b/etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600-90 new file mode 100755 index 0000000..61833c3 --- /dev/null +++ b/etc/X11/xorg.conf.d/99-calibration.conf-7-1024x600-90 @@ -0,0 +1,9 @@ +Section "InputClass" + Identifier "calibration" + MatchProduct "ADS7846 Touchscreen" + Option "Calibration" "3863 36 3887 157 " + Option "SwapAxes" "0" + Option "EmulateThirdButton" "1" + Option "EmulateThirdButtonTimeout" "1000" + Option "EmulateThirdButtonMoveThreshold" "300" +EndSection diff --git a/etc/modprobe.d/joystick.conf b/etc/modprobe.d/joystick.conf new file mode 100755 index 0000000..a7d0843 --- /dev/null +++ b/etc/modprobe.d/joystick.conf @@ -0,0 +1 @@ +options mk_arcade_joystick_rpi map=1 diff --git a/etc/modules b/etc/modules new file mode 100644 index 0000000..541b45b --- /dev/null +++ b/etc/modules @@ -0,0 +1,9 @@ +# /etc/modules: kernel modules to load at boot time. +# +# This file contains the names of kernel modules that should be loaded +# at boot time, one per line. Lines beginning with "#" are ignored. + +i2c-dev +spi-bcm2835 +fbtft_device +mk_arcade_joystick_rpi diff --git a/etc/rc.local b/etc/rc.local new file mode 100755 index 0000000..7d39ed7 --- /dev/null +++ b/etc/rc.local @@ -0,0 +1,20 @@ +#!/bin/sh -e +# +# rc.local +# +# This script is executed at the end of each multiuser runlevel. +# Make sure that the script will "exit 0" on success or any other +# value on error. +# +# In order to enable or disable this script just change the execution +# bits. +# +# By default this script does nothing. + +# Print the IP address +_IP=$(hostname -I) || true +if [ "$_IP" ]; then + printf "My IP address is %s\n" "$_IP" +fi + +exit 0 diff --git a/etc/rc.local-154 b/etc/rc.local-154 new file mode 100755 index 0000000..69373a5 --- /dev/null +++ b/etc/rc.local-154 @@ -0,0 +1,28 @@ +#!/bin/sh -e +# +# rc.local +# +# This script is executed at the end of each multiuser runlevel. +# Make sure that the script will "exit 0" on success or any other +# value on error. +# +# In order to enable or disable this script just change the execution +# bits. +# +# By default this script does nothing. + +# Print the IP address +_IP=$(hostname -I) || true +if [ "$_IP" ]; then + printf "My IP address is %s\n" "$_IP" +fi + +sudo modprobe flexfb setaddrwin=0 buswidth=8 width=240 height=240 init=-1,0x11,-2,120,-1,0x36,0x60,-1,0x3A,0x05,-1,0xB2,0x0C,0x0C,0x00,0x33,0x33,-1,0xB7,0x35,-1,0xBB,0x1A,-1,0xC0,0x2C,-1,0xC2,0x01,-1,0xC3,0x0B,-1,0xC4,0x20,-1,0xC6,0x0F,-1,0xD0,0xA4,0xA1,-1,0x21,-1,0xE0,0x00,0x19,0x1E,0x0A,0x09,0x15,0x3D,0x44,0x51,0x12,0x03,0x00,0x3F,0x3F,-1,0xE1,0x00,0x18,0x1E,0x0A,0x09,0x25,0x3F,0x43,0x52,0x33,0x03,0x00,0x3F,0x3F,-1,0x29,-3 +sudo modprobe fbtft_device debug=3 rotate=90 name=flexfb speed=48000000 gpios=reset:27,dc:22 + +sleep 2 +fbcp & + +con2fbmap 1 0 + +exit 0 diff --git a/etc/rc.local-154-90 b/etc/rc.local-154-90 new file mode 100755 index 0000000..4004a8e --- /dev/null +++ b/etc/rc.local-154-90 @@ -0,0 +1,28 @@ +#!/bin/sh -e +# +# rc.local +# +# This script is executed at the end of each multiuser runlevel. +# Make sure that the script will "exit 0" on success or any other +# value on error. +# +# In order to enable or disable this script just change the execution +# bits. +# +# By default this script does nothing. + +# Print the IP address +_IP=$(hostname -I) || true +if [ "$_IP" ]; then + printf "My IP address is %s\n" "$_IP" +fi + +sudo modprobe flexfb setaddrwin=0 buswidth=8 width=240 height=240 init=-1,0x11,-2,120,-1,0x36,0x00,-1,0x3A,0x05,-1,0xB2,0x0C,0x0C,0x00,0x33,0x33,-1,0xB7,0x35,-1,0xBB,0x1A,-1,0xC0,0x2C,-1,0xC2,0x01,-1,0xC3,0x0B,-1,0xC4,0x20,-1,0xC6,0x0F,-1,0xD0,0xA4,0xA1,-1,0x21,-1,0xE0,0x00,0x19,0x1E,0x0A,0x09,0x15,0x3D,0x44,0x51,0x12,0x03,0x00,0x3F,0x3F,-1,0xE1,0x00,0x18,0x1E,0x0A,0x09,0x25,0x3F,0x43,0x52,0x33,0x03,0x00,0x3F,0x3F,-1,0x29,-3 +sudo modprobe fbtft_device debug=3 rotate=90 name=flexfb speed=48000000 gpios=reset:27,dc:22 + +sleep 2 +fbcp & + +con2fbmap 1 0 + +exit 0 diff --git a/etc/rc.local-gpio b/etc/rc.local-gpio new file mode 100755 index 0000000..3750af4 --- /dev/null +++ b/etc/rc.local-gpio @@ -0,0 +1,25 @@ +#!/bin/sh -e +# +# rc.local +# +# This script is executed at the end of each multiuser runlevel. +# Make sure that the script will "exit 0" on success or any other +# value on error. +# +# In order to enable or disable this script just change the execution +# bits. +# +# By default this script does nothing. + +# Print the IP address +_IP=$(hostname -I) || true +if [ "$_IP" ]; then + printf "My IP address is %s\n" "$_IP" +fi + +sleep 7 +fbcp & + +con2fbmap 1 0 + +exit 0 diff --git a/etc/rc.local-kali b/etc/rc.local-kali new file mode 100755 index 0000000..9020e1b --- /dev/null +++ b/etc/rc.local-kali @@ -0,0 +1,5 @@ +sleep 10 + +FRAMEBUFFER=/dev/fb1 startx & + +exit 0 diff --git a/inittab b/inittab new file mode 100755 index 0000000..174e8fb --- /dev/null +++ b/inittab @@ -0,0 +1,72 @@ +# /etc/inittab: init(8) configuration. +# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $ + +# The default runlevel. +id:2:initdefault: + +# Boot-time system configuration/initialization script. +# This is run first except when booting in emergency (-b) mode. +si::sysinit:/etc/init.d/rcS + +# What to do in single-user mode. +~~:S:wait:/sbin/sulogin + +# /etc/init.d executes the S and K scripts upon change +# of runlevel. +# +# Runlevel 0 is halt. +# Runlevel 1 is single-user. +# Runlevels 2-5 are multi-user. +# Runlevel 6 is reboot. + +l0:0:wait:/etc/init.d/rc 0 +l1:1:wait:/etc/init.d/rc 1 +l2:2:wait:/etc/init.d/rc 2 +l3:3:wait:/etc/init.d/rc 3 +l4:4:wait:/etc/init.d/rc 4 +l5:5:wait:/etc/init.d/rc 5 +l6:6:wait:/etc/init.d/rc 6 +# Normally not reached, but fallthrough in case of emergency. +z6:6:respawn:/sbin/sulogin + +# What to do when CTRL-ALT-DEL is pressed. +ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now + +# Action on special keypress (ALT-UpArrow). +#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work." + +# What to do when the power fails/returns. +pf::powerwait:/etc/init.d/powerfail start +pn::powerfailnow:/etc/init.d/powerfail now +po::powerokwait:/etc/init.d/powerfail stop + +# /sbin/getty invocations for the runlevels. +# +# The "id" field MUST be the same as the last +# characters of the device (after "tty"). +# +# Format: +# ::: +# +# Note that on most Debian systems tty7 is used by the X Window System, +# so if you want to add more getty's go ahead but skip tty7 if you run X. +# +1:2345:respawn:/sbin/getty --noclear 38400 tty1 +2:23:respawn:/sbin/getty 38400 tty2 +3:23:respawn:/sbin/getty 38400 tty3 +4:23:respawn:/sbin/getty 38400 tty4 +5:23:respawn:/sbin/getty 38400 tty5 +6:23:respawn:/sbin/getty 38400 tty6 + +# Example how to put a getty on a serial line (for a terminal) +# +#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100 +#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100 + +# Example how to put a getty on a modem line. +# +#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3 + + +#Spawn a getty on Raspberry Pi serial line +T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100 diff --git a/mk_arcade_joystick_rpi-master/DEBIAN/control b/mk_arcade_joystick_rpi-master/DEBIAN/control new file mode 100644 index 0000000..9770cce --- /dev/null +++ b/mk_arcade_joystick_rpi-master/DEBIAN/control @@ -0,0 +1,10 @@ +Package: mk-arcade-joystick-rpi-dkms +Version: $MKVERSION +Architecture: all +Maintainer: DigitalLumberjack +Installed-Size: 74 +Depends: dkms (>= 1.95) +Section: misc +Priority: optional +Description: mk_arcade_joystick_rpi driver in DKMS format. + diff --git a/mk_arcade_joystick_rpi-master/DEBIAN/postinst b/mk_arcade_joystick_rpi-master/DEBIAN/postinst new file mode 100755 index 0000000..92ecb6d --- /dev/null +++ b/mk_arcade_joystick_rpi-master/DEBIAN/postinst @@ -0,0 +1,49 @@ +#!/bin/sh +# Copyright (C) 2002-2005 Flavio Stanchina +# Copyright (C) 2005-2006 Aric Cyr +# Copyright (C) 2007 Mario Limonciello +# Copyright (C) 2009 Alberto Milone + +set -e + +NAME=mk_arcade_joystick_rpi +PACKAGE_NAME=$NAME-dkms +DEB_NAME=$(echo $PACKAGE_NAME | sed 's,_,-,g') +CVERSION=`dpkg-query -W -f='${Version}' $DEB_NAME | awk -F "-" '{print $1}' | cut -d\: -f2` +ARCH=`arch` + +dkms_configure () { + for POSTINST in /usr/lib/dkms/common.postinst "/usr/share/$PACKAGE_NAME/postinst"; do + if [ -f "$POSTINST" ]; then + "$POSTINST" "$NAME" "$CVERSION" "/usr/share/$PACKAGE_NAME" "$ARCH" "$2" + return $? + fi + echo "WARNING: $POSTINST does not exist." >&2 + done + echo "ERROR: DKMS version is too old and $PACKAGE_NAME was not" >&2 + echo "built with legacy DKMS support." >&2 + echo "You must either rebuild $PACKAGE_NAME with legacy postinst" >&2 + echo "support or upgrade DKMS to a more current version." >&2 + return 1 +} + +case "$1" in + configure) + dkms_configure + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + + + +exit 0 diff --git a/mk_arcade_joystick_rpi-master/DEBIAN/prerm b/mk_arcade_joystick_rpi-master/DEBIAN/prerm new file mode 100755 index 0000000..3777f42 --- /dev/null +++ b/mk_arcade_joystick_rpi-master/DEBIAN/prerm @@ -0,0 +1,27 @@ +#!/bin/sh + +NAME=mk_arcade_joystick_rpi +VERSION=$MKVERSION +set -e + +case "$1" in + remove|upgrade|deconfigure) + if [ "`dkms status -m $NAME`" ]; then + dkms remove -m $NAME -v $VERSION --all + fi + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + + + +exit 0 + + diff --git a/mk_arcade_joystick_rpi-master/LICENSE b/mk_arcade_joystick_rpi-master/LICENSE new file mode 100755 index 0000000..22fbe5d --- /dev/null +++ b/mk_arcade_joystick_rpi-master/LICENSE @@ -0,0 +1,339 @@ +GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {description} + Copyright (C) {year} {fullname} + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + {signature of Ty Coon}, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. \ No newline at end of file diff --git a/mk_arcade_joystick_rpi-master/Makefile b/mk_arcade_joystick_rpi-master/Makefile new file mode 100755 index 0000000..1d6406a --- /dev/null +++ b/mk_arcade_joystick_rpi-master/Makefile @@ -0,0 +1,12 @@ +obj-m := mk_arcade_joystick_rpi.o +KVERSION := `uname -r` + +ifneq (,$(findstring -v7, $(KVERSION))) +CFLAGS_mk_arcade_joystick_rpi.o := -DRPI2 +endif + +all: + $(MAKE) -C /lib/modules/$(KVERSION)/build M=$(PWD) modules + +clean: + $(MAKE) -C /lib/modules/$(KVERSION)/build M=$(PWD) clean diff --git a/mk_arcade_joystick_rpi-master/Makefile.cross b/mk_arcade_joystick_rpi-master/Makefile.cross new file mode 100755 index 0000000..8ecfd95 --- /dev/null +++ b/mk_arcade_joystick_rpi-master/Makefile.cross @@ -0,0 +1,27 @@ +ifneq (${KERNELRELEASE},) + + obj-m = mk_arcade_joystick_rpi.o +else + KERNELDIR ?= /lib/modules/$(shell uname -r)/build + MODULE_DIR ?= $(shell pwd) + ARCH ?= $(shell uname -i) + CROSS_COMPILE ?= + INSTALL_MOD_PATH ?= / + ifdef RPI2 + CFLAGS_mk_arcade_joystick_rpi.o := -DRPI2 + endif +endif + +all: modules + +modules: + ${MAKE} ARCH="${ARCH}" CROSS_COMPILE="${CROSS_COMPILE}" -C ${KERNELDIR} SUBDIRS="${MODULE_DIR}" modules + +modules_install: + ${MAKE} ARCH="${ARCH}" CROSS_COMPILE="${CROSS_COMPILE}" INSTALL_MOD_PATH="${INSTALL_MOD_PATH}" -C ${KERNELDIR} SUBDIRS="${MODULE_DIR}" modules_install + +clean: + rm -f *.o *.ko *.mod.c .*.o .*.ko .*.mod.c .*.cmd *~ + rm -f Module.symvers Module.markers modules.order + rm -rf .tmp_versions + diff --git a/mk_arcade_joystick_rpi-master/README.md b/mk_arcade_joystick_rpi-master/README.md new file mode 100755 index 0000000..44e340a --- /dev/null +++ b/mk_arcade_joystick_rpi-master/README.md @@ -0,0 +1,300 @@ +# mk_arcade_joystick_rpi # + +The Raspberry Pi GPIO Joystick Driver + +The mk_arcade_joystick_rpi is fully integrated in the **recalbox** distribution : see http://www.recalbox.com + +**The branch [hotkeybtn](https://github.com/recalbox/mk_arcade_joystick_rpi/tree/hotkeybtn) now support one more button per player in place of MCP23017 support** + +## Introduction ## + +The RaspberryPi is an amazing tool I discovered a month ago. The RetroPie project made me want to build my own Arcade Cabinet with simple arcade buttons and joysticks. + +So i started to wire my joysticks and buttons to my raspberry pi, and I wrote the first half of this driver in order to wire my joysticks and buttons directly to the RPi GPIOs. + +However, the Raspberry Pi Board B Rev 2 has a maximum of 21 usable GPIOs, not enough to wire all the 28 switches (2 joystick and 20 buttons) that a standard panel requires. + +UPDATE 0.1.5 : Added GPIO customization + +UPDATE 0.1.4 : Compatibily with rpi2 + +UPDATE 0.1.3 : Compatibily with 3.18.3 : + +The driver installation now works with 3.18.3 kernel, distributed with the last firmware. + +UPDATE 0.1.2 : Downgrade to 3.12.28+ : + +As the module will not load with recent kernel and headers, we add the possibility of downgrading your firmware to a compatible version, until we find a fix. + +UPDATE 0.1.1 : RPi B+ VERSION : + +The new Raspberry Pi B+ Revision brought us 9 more GPIOs, so we are now able to connect 2 joysticks and 12 buttons directly to GPIOs. I updated the driver in order to support the 2 joysticks on GPIO configuration. + +### Even More Joysticks ### + +A little cheap chip named MCP23017 allows you to add 16 external GPIO, and take only two GPIO on the RPi. The chip allows you to use GPIO as output or input, input is what we are looking for if we want even more joysticks. + +If you want to use more than one chip, the i2c protocol lets you choose different addresses for the connected peripheral, but all use the same SDA and SCL GPIOs. + +In theory you can connect up to 8 chips so 8 joystick. + +## The Software ## +The joystick driver is based on the gamecon_gpio_rpi driver by [marqs](https://github.com/marqs85) + +It is written for 4 directions joysticks and 8 buttons per player. Using a MCP23017 extends input numbers to 16 : 4 directions and 12 buttons. + +It can read one joystick + buttons wired on RPi GPIOs (two on RPi B+ revision) and up to 5 other joysticks + buttons from MCP23017 chips. One MCP23017 is required for each joystick. + +It uses internal pull-ups of RPi and of MCP23017, so all switches must be directly connected to its corresponding GPIO and to the ground. + + +## Common Case : Joysticks connected to GPIOs ## + + +### Pinout ### +Let's consider a 6 buttons cab panel with this button order : + + ↑ Ⓨ Ⓧ Ⓛ + ← → Ⓑ Ⓐ Ⓡ + ↓ + +With R = TR and L = TL + + +Here is the rev B GPIO pinout summary : + +![GPIO Interface](https://github.com/recalbox/mk_arcade_joystick_rpi/raw/master/wiki/images/mk_joystick_arcade_GPIOs.png) + +If you have a Rev B+ RPi or RPi2: + + +![GPIO Interface](https://github.com/recalbox/mk_arcade_joystick_rpi/raw/master/wiki/images/mk_joystick_arcade_GPIOsb+.png) + +Of course the ground can be common for all switches. + +### Installation ### + +### Installation Script ### + +Download the installation script : +```shell +mkdir mkjoystick +cd mkjoystick +wget https://github.com/recalbox/mk_arcade_joystick_rpi/releases/download/v0.1.4/install.sh +``` + +Update your system : +```shell +sudo sh ./install.sh updatesystem +sudo reboot +``` + +Don't forget to reboot (or the next part won't work) and re-run the script without any arguments : +```shell +sudo sh ./install.sh +``` + +Now jump to [Loading the driver](#loading-the-driver) + + +### Manual Installation ### +Update system : +```shell +sudo apt-get update +sudo apt-get upgrade +sudo rpi-update +``` + + +1 - Install all you need : +```shell +sudo apt-get install -y --force-yes dkms cpp-4.7 gcc-4.7 git joystick +``` + +2 - Install last kernel headers : +```shell +sudo apt-get install -y --force-yes raspberrypi-kernel-headers +``` + +3.a - Install driver from release (prefered): +```shell +wget https://github.com/recalbox/mk_arcade_joystick_rpi/releases/download/v0.1.4/mk-arcade-joystick-rpi-0.1.4.deb +sudo dpkg -i mk-arcade-joystick-rpi-0.1.4.deb +``` +3.b - Or compile and install with dkms: + +3.b.1 - Download the files: +```shell +git clone https://github.com/pinuct/mk_arcade_joystick_rpi/tree/customgpio +``` +3.b.2 - Create a folder under "/usr/src/*module*-*module-version*/" +```shell +mkdir /usr/src/mk_arcade_joystick_rpi-0.1.5/ +``` +3.b.3 - Copy the files into the folder: +```shell +cd mk_arcade_joystick_rpi/ +cp -a * /usr/src/mk_arcade_joystick_rpi-0.1.5/ +``` +3.b.4 - Compile and install the module: +```shell +dkms build -m mk_arcade_joystick_rpi -v 0.1.5 +dkms install -m mk_arcade_joystick_rpi -v 0.1.5 +``` + +### Loading the driver ### + +The driver is loaded with the modprobe command and take one parameter nammed "map" representing connected joysticks. +When you will have to load the driver you must pass a list of parameters that represent the list of connected Joysticks. The first parameter will be the joystick mapped to /dev/input/js0, the second to js1 etc.. + +If you have connected a joystick on RPi GPIOs (joystick 1 on the pinout image) you must pass "map=1" as a parameter. If you are on B+ revision and you connected 2 joysticks you must pass map="1,2" as a parameter. + +If you have one joystick connected on your RPi B or B+ version you will have to run the following command : + +```shell +sudo modprobe mk_arcade_joystick_rpi map=1 +``` + +If you have two joysticks connected on your RPi B+ version you will have to run the following command : + +```shell +sudo modprobe mk_arcade_joystick_rpi map=1,2 +``` +If you have a TFT screen connected on your RPi B+ you can't use all the gpios. You can run the following command for using only the gpios not used by the tft screen (Be careful, not all tft screen use the same pins. GPIOs used with this map: 21,13,26, 19,5,6,22,4,20,17,27,16): + +```shell +sudo modprobe mk_arcade_joystick_rpi map=4 +``` + +If you don't want to use all pins or wants a **custom gpio** map use: +```shell +sudo modprobe mk_arcade_joystick_rpi map=5 gpio=pin1,pin2,pin3,.....,pin12 +``` +Where *pinx* is the number of the gpio you want. There are 12 posible gpio with **button order: Y-,Y+,X-,X+,start,select,a,b,tr,y,x,tl.** Use -1 for unused pins. For example `gpio=21,13,26,19,-1,-1,22,24,-1,-1,-1,-1` uses gpios 21,13,26,19 for axis and gpios 22 and 24 for A and B buttons, the rest of buttons are unused. + +The GPIO joystick 1 events will be reported to the file "/dev/input/js0" and the GPIO joystick 2 events will be reported to "/dev/input/js1" + +### Auto load at startup ### + +Open `/etc/modules` : + +```shell +sudo nano /etc/modules +``` + +and add the line you use to load the driver : + +```shell +mk_arcade_joystick_rpi +``` + +Then create the file `/etc/modprobe.d/mk_arcade_joystick.conf` : +```shell +sudo nano /etc/modprobe.d/mk_arcade_joystick.conf +``` + +and add the module configuration : +```shell +options mk_arcade_joystick_rpi map=1,2 +``` + +### Testing ### + +Use the following command to test joysticks inputs : +```shell +jstest /dev/input/js0 +``` + + +## More Joysticks case : MCP23017 ## + + +Here is the MCP23017 pinout summary : + + +![MCP23017 Interface](https://github.com/recalbox/mk_arcade_joystick_rpi/raw/master/wiki/images/mk_joystick_arcade_mcp23017.png) + + +### Preparation of the RPi for MCP23017### + +Follow the standards installation instructions. + +Activate i2c on your RPi : +```shell +sudo nano /etc/modules +``` +Add the following lines in order to load i2c modules automatically : +```shell +i2c-bcm2708 +i2c-dev +``` + +And if the file /etc/modprobe.d/raspi-blacklist.conf exists : +```shell +sudo nano /etc/modprobe.d/raspi-blacklist.conf +``` + +Check if you have a line with : +```shell +i2c-bcm2708 +``` +and add a # at the beginning of the line to remove the blacklisting + +Reboot or load the two module : +```shell +modprobe i2c-bcm2708 i2c-dev +``` + +### Preparation of the MCP23017 chip ### + + +You must set the pins A0 A1 and A2 to 0 or 1 in order to set the i2c address of the chip. If you only have 1 chip, connect the 3 pins to the ground. +Just connect one of the pins to 3.3v to set its state to 1 and change the i2c address of the MCP23017. + +You must also connect the RESET pin to 3.3v. + + + + +### Configuration ### +When you want to load the driver you must pass a list of parameters that represent the list of connected Joysticks. The first parameter will be the joystick mapped to /dev/input/js0, the second to js1 etc.. + +If you have connected a joystick on RPi GPIOs you must pass "1" as a parameter. + +If you have connected one or more joysticks with MCP23017, you must pass the address of I2C peripherals connected, which you can get with the command : + +```shell +sudo i2cdetect -y 1 +``` + +The configuration of each MCP23017 is done by setting pads A0 A1 and A2 to 0 or 1. + +If you configured your MCP23017 with A0 A1 and A2 connected to the ground, the address returned by i2cdetect should be 0x20 + +So if you have a joystick connected to RPi GPIOs and a joystick on a MCP23017 with the address 0x20, in order to load the driver, you must run the command : + +```shell +sudo modprobe mk_arcade_joystick_rpi map=1,0x20 +``` + +The GPIO joystick events will be reported to the file "/dev/input/js0" and the mcp23017 joystick events will be reported to "/dev/input/js1" + +I tested up to 3 joystick, one on GPIOs, one on a MCP23017 on address 0x20, one on a MCP23017 on address 0x24 : + +```shell +sudo modprobe mk_arcade_joystick_rpi map=1,0x20,0x24 +``` + + +## Known Bugs ## +If you try to read or write on i2c with a tool like i2cget or i2cset when the driver is loaded, you are gonna have a bad time... + +If you try i2cdetect when the driver is running, it will show you strange peripheral addresses... + +256MB Raspberry Pi Model B is not supported by the current driver. If you want to make the driver work on your old RPi, you will have to change the address of BSC1_BASE to (BCM2708_PERI_BASE + 0x205000) in order to use the correct i2c address, and recompile. + +Credits +------------- +- [gamecon_gpio_rpi](https://github.com/petrockblog/RetroPie-Setup/wiki/gamecon_gpio_rpi) by [marqs](https://github.com/marqs85) +- [RetroPie-Setup](https://github.com/petrockblog/RetroPie-Setup) by [petRockBlog](http://blog.petrockblock.com/) +- [Low Level Programming of the Raspberry Pi in C](http://www.pieter-jan.com/node/15) by [Pieter-Jan](http://www.pieter-jan.com/) diff --git a/mk_arcade_joystick_rpi-master/dkms.conf b/mk_arcade_joystick_rpi-master/dkms.conf new file mode 100755 index 0000000..6af9d01 --- /dev/null +++ b/mk_arcade_joystick_rpi-master/dkms.conf @@ -0,0 +1,7 @@ +PACKAGE_NAME="mk_arcade_joystick_rpi" +PACKAGE_VERSION="$MKVERSION" +CLEAN="make clean" +MAKE[0]="make all KVERSION=$kernelver" +BUILT_MODULE_NAME[0]="$PACKAGE_NAME" +DEST_MODULE_LOCATION[0]="/updates/dkms" +AUTOINSTALL="yes" diff --git a/mk_arcade_joystick_rpi-master/mk_arcade_joystick_rpi.c b/mk_arcade_joystick_rpi-master/mk_arcade_joystick_rpi.c new file mode 100755 index 0000000..b1d7c6d --- /dev/null +++ b/mk_arcade_joystick_rpi-master/mk_arcade_joystick_rpi.c @@ -0,0 +1,619 @@ +/* + * Arcade Joystick Driver for RaspberryPi + * + * Copyright (c) 2014 Matthieu Proucelle + * + * Based on the gamecon driver by Vojtech Pavlik, and Markus Hiienkari + */ + + +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. + */ + +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + +#include +#include +#include +#include +#include +#include +#include + +#include +#include + + +MODULE_AUTHOR("Matthieu Proucelle"); +MODULE_DESCRIPTION("GPIO and MCP23017 Arcade Joystick Driver"); +MODULE_LICENSE("GPL"); + +#define MK_MAX_DEVICES 9 + +#ifdef RPI2 +#define PERI_BASE 0x3F000000 +#else +#define PERI_BASE 0x20000000 +#endif + +#define GPIO_BASE (PERI_BASE + 0x200000) /* GPIO controller */ + +#define INP_GPIO(g) *(gpio+((g)/10)) &= ~(7<<(((g)%10)*3)) +#define OUT_GPIO(g) *(gpio+((g)/10)) |= (1<<(((g)%10)*3)) +#define GPIO_READ(g) *(gpio + 13) &= (1<<(g)) + +#define SET_GPIO_ALT(g,a) *(gpio+(((g)/10))) |= (((a)<=3?(a)+4:(a)==4?3:2)<<(((g)%10)*3)) + +#define GPIO_SET *(gpio+7) +#define GPIO_CLR *(gpio+10) + +#define BSC1_BASE (PERI_BASE + 0x804000) + + +/* + * MCP23017 Defines + */ +#define MPC23017_GPIOA_MODE 0x00 +#define MPC23017_GPIOB_MODE 0x01 +#define MPC23017_GPIOA_PULLUPS_MODE 0x0c +#define MPC23017_GPIOB_PULLUPS_MODE 0x0d +#define MPC23017_GPIOA_READ 0x12 +#define MPC23017_GPIOB_READ 0x13 + +/* + * Defines for I2C peripheral (aka BSC, or Broadcom Serial Controller) + */ + +#define BSC1_C *(bsc1 + 0x00) +#define BSC1_S *(bsc1 + 0x01) +#define BSC1_DLEN *(bsc1 + 0x02) +#define BSC1_A *(bsc1 + 0x03) +#define BSC1_FIFO *(bsc1 + 0x04) + +#define BSC_C_I2CEN (1 << 15) +#define BSC_C_INTR (1 << 10) +#define BSC_C_INTT (1 << 9) +#define BSC_C_INTD (1 << 8) +#define BSC_C_ST (1 << 7) +#define BSC_C_CLEAR (1 << 4) +#define BSC_C_READ 1 + +#define START_READ BSC_C_I2CEN|BSC_C_ST|BSC_C_CLEAR|BSC_C_READ +#define START_WRITE BSC_C_I2CEN|BSC_C_ST + +#define BSC_S_CLKT (1 << 9) +#define BSC_S_ERR (1 << 8) +#define BSC_S_RXF (1 << 7) +#define BSC_S_TXE (1 << 6) +#define BSC_S_RXD (1 << 5) +#define BSC_S_TXD (1 << 4) +#define BSC_S_RXR (1 << 3) +#define BSC_S_TXW (1 << 2) +#define BSC_S_DONE (1 << 1) +#define BSC_S_TA 1 + +#define CLEAR_STATUS BSC_S_CLKT|BSC_S_ERR|BSC_S_DONE + +static volatile unsigned *gpio; +static volatile unsigned *bsc1; + +struct mk_config { + int args[MK_MAX_DEVICES]; + unsigned int nargs; +}; + +static struct mk_config mk_cfg __initdata; + +module_param_array_named(map, mk_cfg.args, int, &(mk_cfg.nargs), 0); +MODULE_PARM_DESC(map, "Enable or disable GPIO, MCP23017, TFT and Custom Arcade Joystick"); + +struct gpio_config { + int mk_arcade_gpio_maps_custom[12]; + unsigned int nargs; +}; + +static struct gpio_config gpio_cfg __initdata; + +module_param_array_named(gpio, gpio_cfg.mk_arcade_gpio_maps_custom, int, &(gpio_cfg.nargs), 0); +MODULE_PARM_DESC(gpio, "Numbers of custom GPIO for Arcade Joystick"); + +enum mk_type { + MK_NONE = 0, + MK_ARCADE_GPIO, + MK_ARCADE_GPIO_BPLUS, + MK_ARCADE_MCP23017, + MK_ARCADE_GPIO_TFT, + MK_ARCADE_GPIO_CUSTOM, + MK_MAX +}; + +#define MK_REFRESH_TIME HZ/100 + +struct mk_pad { + struct input_dev *dev; + enum mk_type type; + char phys[32]; + int mcp23017addr; + int gpio_maps[12] +}; + +struct mk_nin_gpio { + unsigned pad_id; + unsigned cmd_setinputs; + unsigned cmd_setoutputs; + unsigned valid_bits; + unsigned request; + unsigned request_len; + unsigned response_len; + unsigned response_bufsize; +}; + +struct mk { + struct mk_pad pads[MK_MAX_DEVICES]; + struct timer_list timer; + int pad_count[MK_MAX]; + int used; + struct mutex mutex; +}; + +struct mk_subdev { + unsigned int idx; +}; + +static struct mk *mk_base; + +static const int mk_data_size = 16; + +static const int mk_max_arcade_buttons = 12; +static const int mk_max_mcp_arcade_buttons = 16; + +// Map of the gpios : up, down, left, right, start, select, a, b, tr, y, x, tl +static const int mk_arcade_gpio_maps[] = { 16, 5, 6, 13, 19, 26, 21, 20, 23, 12, 15, 14}; +// 2nd joystick on the b+ GPIOS up, down, left, right, start, select, a, b, tr, y, x, tl +static const int mk_arcade_gpio_maps_bplus[] = { 11, 5, 6, 13, 19, 26, 21, 20, 16, 12, 7, 8 }; +// Map of the mcp23017 on GPIOA up, down, left, right, start, select, a, b +static const int mk_arcade_gpioa_maps[] = { 0, 1, 2, 3, 4, 5, 6, 7 }; + +// Map of the mcp23017 on GPIOB tr, y, x, tl, c, tr2, z, tl2 +static const int mk_arcade_gpiob_maps[] = { 0, 1, 2, 3, 4, 5, 6, 7 }; + +// Map joystick on the b+ GPIOS with TFT up, down, left, right, start, select, a, b, tr, y, x, tl +static const int mk_arcade_gpio_maps_tft[] = { 21, 13, 26, 19, 5, 6, 22, 4, 20, 17, 27, 16 }; + +static const short mk_arcade_gpio_btn[] = { + BTN_START, BTN_SELECT, BTN_A, BTN_B, BTN_TR, BTN_Y, BTN_X, BTN_TL, BTN_C, BTN_TR2, BTN_Z, BTN_TL2 +}; + +static const char *mk_names[] = { + NULL, "GPIO Controller 1", "GPIO Controller 2", "MCP23017 Controller", "GPIO Controller 1" , "GPIO Controller 1" +}; + +/* GPIO UTILS */ +static void setGpioPullUps(int pullUps) { + *(gpio + 37) = 0x02; + udelay(10); + *(gpio + 38) = pullUps; + udelay(10); + *(gpio + 37) = 0x00; + *(gpio + 38) = 0x00; +} + +static void setGpioAsInput(int gpioNum) { + INP_GPIO(gpioNum); +} + +static int getPullUpMask(int gpioMap[]){ + int mask = 0x0000000; + int i; + for(i=0; i<12;i++) { + if(gpioMap[i] != -1){ // to avoid unused pins + int pin_mask = 1<mcp23017addr, MPC23017_GPIOA_READ, &resultA, 1); + i2c_read(pad->mcp23017addr, MPC23017_GPIOB_READ, &resultB, 1); + + // read direction + for (i = 0; i < 4; i++) { + data[i] = !((resultA >> mk_arcade_gpioa_maps[i]) & 0x1); + } + // read buttons on gpioa + for (i = 4; i < 8; i++) { + data[i] = !((resultA >> mk_arcade_gpioa_maps[i]) & 0x1); + } + // read buttons on gpiob + for (i = 8; i < 16; i++) { + data[i] = !((resultB >> (mk_arcade_gpiob_maps[i-8])) & 0x1); + } +} + +static void mk_gpio_read_packet(struct mk_pad * pad, unsigned char *data) { + int i; + + for (i = 0; i < mk_max_arcade_buttons; i++) { + if(pad->gpio_maps[i] != -1){ // to avoid unused buttons + int read = GPIO_READ(pad->gpio_maps[i]); + if (read == 0) data[i] = 1; + else data[i] = 0; + }else data[i] = 0; + } + +} + +static void mk_input_report(struct mk_pad * pad, unsigned char * data) { + struct input_dev * dev = pad->dev; + int j; + input_report_abs(dev, ABS_Y, !data[0]-!data[1]); + input_report_abs(dev, ABS_X, !data[2]-!data[3]); + if (pad->type == MK_ARCADE_MCP23017) { // check if MCP23017 and extend with 4. + for (j = 4; j < (mk_max_mcp_arcade_buttons); j++) { + input_report_key(dev, mk_arcade_gpio_btn[j - 4], data[j]); + } + } + else { + for (j = 4; j < mk_max_arcade_buttons; j++) { + input_report_key(dev, mk_arcade_gpio_btn[j - 4], data[j]); + } + } + input_sync(dev); +} + +static void mk_process_packet(struct mk *mk) { + + unsigned char data[mk_data_size]; + struct mk_pad *pad; + int i; + + for (i = 0; i < MK_MAX_DEVICES; i++) { + pad = &mk->pads[i]; + if (pad->type == MK_ARCADE_GPIO || pad->type == MK_ARCADE_GPIO_BPLUS || pad->type == MK_ARCADE_GPIO_TFT || pad->type == MK_ARCADE_GPIO_CUSTOM) { + mk_gpio_read_packet(pad, data); + mk_input_report(pad, data); + } + if (pad->type == MK_ARCADE_MCP23017) { + mk_mcp23017_read_packet(pad, data); + mk_input_report(pad, data); + } + } + +} + +/* + * mk_timer() initiates reads of console pads data. + */ + +static void mk_timer(unsigned long private) { + struct mk *mk = (void *) private; + mk_process_packet(mk); + mod_timer(&mk->timer, jiffies + MK_REFRESH_TIME); +} + +static int mk_open(struct input_dev *dev) { + struct mk *mk = input_get_drvdata(dev); + int err; + + err = mutex_lock_interruptible(&mk->mutex); + if (err) + return err; + + if (!mk->used++) + mod_timer(&mk->timer, jiffies + MK_REFRESH_TIME); + + mutex_unlock(&mk->mutex); + return 0; +} + +static void mk_close(struct input_dev *dev) { + struct mk *mk = input_get_drvdata(dev); + + mutex_lock(&mk->mutex); + if (!--mk->used) { + del_timer_sync(&mk->timer); + } + mutex_unlock(&mk->mutex); +} + +static int __init mk_setup_pad(struct mk *mk, int idx, int pad_type_arg) { + struct mk_pad *pad = &mk->pads[idx]; + struct input_dev *input_dev; + int i, pad_type; + int err; + char FF = 0xFF; + pr_err("pad type : %d\n",pad_type_arg); + + if (pad_type_arg >= MK_MAX) { + pad_type = MK_ARCADE_MCP23017; + } else { + pad_type = pad_type_arg; + } + + if (pad_type < 1 || pad_type >= MK_MAX) { + pr_err("Pad type %d unknown\n", pad_type); + return -EINVAL; + } + + if (pad_type == MK_ARCADE_GPIO_CUSTOM) { + + // if the device is custom, be sure to get correct pins + if (gpio_cfg.nargs < 1) { + pr_err("Custom device needs gpio argument\n"); + return -EINVAL; + } else if(gpio_cfg.nargs != 12){ + pr_err("Invalid gpio argument\n", pad_type); + return -EINVAL; + } + + } + + pr_err("pad type : %d\n",pad_type); + pad->dev = input_dev = input_allocate_device(); + if (!input_dev) { + pr_err("Not enough memory for input device\n"); + return -ENOMEM; + } + + pad->type = pad_type; + pad->mcp23017addr = pad_type_arg; + snprintf(pad->phys, sizeof (pad->phys), + "input%d", idx); + + input_dev->name = mk_names[pad_type]; + input_dev->phys = pad->phys; + input_dev->id.bustype = BUS_PARPORT; + input_dev->id.vendor = 0x0001; + input_dev->id.product = pad_type; + input_dev->id.version = 0x0100; + + input_set_drvdata(input_dev, mk); + + input_dev->open = mk_open; + input_dev->close = mk_close; + + input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); + + for (i = 0; i < 2; i++) + input_set_abs_params(input_dev, ABS_X + i, -1, 1, 0, 0); + if (pad_type != MK_ARCADE_MCP23017) + { + for (i = 0; i < mk_max_arcade_buttons; i++) + __set_bit(mk_arcade_gpio_btn[i], input_dev->keybit); + } + else { //Checking for MCP23017 so it gets 4 more buttons registered to it. + for (i = 0; i < mk_max_mcp_arcade_buttons; i++) + __set_bit(mk_arcade_gpio_btn[i], input_dev->keybit); + } + + mk->pad_count[pad_type]++; + + // asign gpio pins + switch (pad_type) { + case MK_ARCADE_GPIO: + memcpy(pad->gpio_maps, mk_arcade_gpio_maps, 12 *sizeof(int)); + break; + case MK_ARCADE_GPIO_BPLUS: + memcpy(pad->gpio_maps, mk_arcade_gpio_maps_bplus, 12 *sizeof(int)); + break; + case MK_ARCADE_GPIO_TFT: + memcpy(pad->gpio_maps, mk_arcade_gpio_maps_tft, 12 *sizeof(int)); + break; + case MK_ARCADE_GPIO_CUSTOM: + memcpy(pad->gpio_maps, gpio_cfg.mk_arcade_gpio_maps_custom, 12 *sizeof(int)); + break; + case MK_ARCADE_MCP23017: + // nothing to asign if MCP23017 is used + break; + } + + // initialize gpio if not MCP23017, else initialize i2c + if(pad_type != MK_ARCADE_MCP23017){ + for (i = 0; i < mk_max_arcade_buttons; i++) { + printk("GPIO = %d\n", pad->gpio_maps[i]); + if(pad->gpio_maps[i] != -1){ // to avoid unused buttons + setGpioAsInput(pad->gpio_maps[i]); + } + } + setGpioPullUps(getPullUpMask(pad->gpio_maps)); + printk("GPIO configured for pad%d\n", idx); + }else{ + i2c_init(); + udelay(1000); + // Put all GPIOA inputs on MCP23017 in INPUT mode + i2c_write(pad->mcp23017addr, MPC23017_GPIOA_MODE, &FF, 1); + udelay(1000); + // Put all inputs on MCP23017 in pullup mode + i2c_write(pad->mcp23017addr, MPC23017_GPIOA_PULLUPS_MODE, &FF, 1); + udelay(1000); + // Put all GPIOB inputs on MCP23017 in INPUT mode + i2c_write(pad->mcp23017addr, MPC23017_GPIOB_MODE, &FF, 1); + udelay(1000); + // Put all inputs on MCP23017 in pullup mode + i2c_write(pad->mcp23017addr, MPC23017_GPIOB_PULLUPS_MODE, &FF, 1); + udelay(1000); + // Put all inputs on MCP23017 in pullup mode a second time + // Known bug : if you remove this line, you will not have pullups on GPIOB + i2c_write(pad->mcp23017addr, MPC23017_GPIOB_PULLUPS_MODE, &FF, 1); + udelay(1000); + } + + err = input_register_device(pad->dev); + if (err) + goto err_free_dev; + + return 0; + +err_free_dev: + input_free_device(pad->dev); + pad->dev = NULL; + return err; +} + +static struct mk __init *mk_probe(int *pads, int n_pads) { + struct mk *mk; + int i; + int count = 0; + int err; + + mk = kzalloc(sizeof (struct mk), GFP_KERNEL); + if (!mk) { + pr_err("Not enough memory\n"); + err = -ENOMEM; + goto err_out; + } + + mutex_init(&mk->mutex); + setup_timer(&mk->timer, mk_timer, (long) mk); + + for (i = 0; i < n_pads && i < MK_MAX_DEVICES; i++) { + if (!pads[i]) + continue; + + err = mk_setup_pad(mk, i, pads[i]); + if (err) + goto err_unreg_devs; + + count++; + } + + if (count == 0) { + pr_err("No valid devices specified\n"); + err = -EINVAL; + goto err_free_mk; + } + + return mk; + +err_unreg_devs: + while (--i >= 0) + if (mk->pads[i].dev) + input_unregister_device(mk->pads[i].dev); +err_free_mk: + kfree(mk); +err_out: + return ERR_PTR(err); +} + +static void mk_remove(struct mk *mk) { + int i; + + for (i = 0; i < MK_MAX_DEVICES; i++) + if (mk->pads[i].dev) + input_unregister_device(mk->pads[i].dev); + kfree(mk); +} + +static int __init mk_init(void) { + /* Set up gpio pointer for direct register access */ + if ((gpio = ioremap(GPIO_BASE, 0xB0)) == NULL) { + pr_err("io remap failed\n"); + return -EBUSY; + } + /* Set up i2c pointer for direct register access */ + if ((bsc1 = ioremap(BSC1_BASE, 0xB0)) == NULL) { + pr_err("io remap failed\n"); + return -EBUSY; + } + if (mk_cfg.nargs < 1) { + pr_err("at least one device must be specified\n"); + return -EINVAL; + } else { + mk_base = mk_probe(mk_cfg.args, mk_cfg.nargs); + if (IS_ERR(mk_base)) + return -ENODEV; + } + return 0; +} + +static void __exit mk_exit(void) { + if (mk_base) + mk_remove(mk_base); + + iounmap(gpio); + iounmap(bsc1); +} + +module_init(mk_init); +module_exit(mk_exit); diff --git a/mk_arcade_joystick_rpi-master/utils/custombuild b/mk_arcade_joystick_rpi-master/utils/custombuild new file mode 100755 index 0000000..63f9cd8 --- /dev/null +++ b/mk_arcade_joystick_rpi-master/utils/custombuild @@ -0,0 +1,13 @@ + +#!/bin/sh + +sudo modprobe -r mk_arcade_joystick_rpi + +sudo dkms remove -m mk_arcade_joystick_rpi -v 0.1.1 --all + +sudo dkms build -m mk_arcade_joystick_rpi -v 0.1.1 + +cat /var/lib/dkms/mk_arcade_joystick_rpi/0.1.1/build/make.log + +sudo dkms install -m mk_arcade_joystick_rpi -v 0.1.1 + diff --git a/mk_arcade_joystick_rpi-master/utils/install.sh b/mk_arcade_joystick_rpi-master/utils/install.sh new file mode 100755 index 0000000..e32879c --- /dev/null +++ b/mk_arcade_joystick_rpi-master/utils/install.sh @@ -0,0 +1,30 @@ +#!/bin/sh + +if [ "$1" = "updatesystem" ] +then + echo "Updating system" + sudo apt-get update || + { echo "ERROR : Unable to apt-get update" && exit 1 ;} + sudo apt-get upgrade -y || + { echo "ERROR : Unable to apt-get upgrade" && exit 1 ;} + sudo rpi-update || + { echo "ERROR : Unable to updta the firmware" && exit 1 ;} + echo "Please reboot if the message above asks for it" +else + echo "Installing required dependencies" + sudo apt-get install -y --force-yes dkms cpp-4.7 gcc-4.7 git joystick || + { echo "ERROR : Unable to install required dependencies" && exit 1 ;} + echo "Downloading and installing current kernel headers" + sudo apt-get install -y --force-yes raspberrypi-kernel-headers || + { echo "ERROR : Unable to install kernel headers" && exit 1 ;} + echo "Downloading mk_arcade_joystick_rpi 0.1.4" + wget https://github.com/recalbox/mk_arcade_joystick_rpi/releases/download/v0.1.4/mk-arcade-joystick-rpi-0.1.4.deb || + { echo "ERROR : Unable to find mk_arcade_joystick_package" && exit 1 ;} + echo "Installing mk_arcade_joystick_rpi 0.1.4" + sudo dpkg -i mk-arcade-joystick-rpi-0.1.4.deb || + { echo "ERROR : Unable to install mk_arcade_joystick_rpi" && exit 1 ;} + echo "Installation OK" + echo "Load the module with 'sudo modprobe mk_arcade_joystick_rpi map=1' for 1 joystick" + echo "or with 'sudo modprobe mk_arcade_joystick_rpi map=1,2' for 2 joysticks" + echo "See https://github.com/recalbox/mk_arcade_joystick_rpi#loading-the-driver for more details" +fi \ No newline at end of file diff --git a/mk_arcade_joystick_rpi-master/utils/makepackage.sh b/mk_arcade_joystick_rpi-master/utils/makepackage.sh new file mode 100755 index 0000000..53278a3 --- /dev/null +++ b/mk_arcade_joystick_rpi-master/utils/makepackage.sh @@ -0,0 +1,30 @@ +#!/bin/bash +[ -z $1 ] && echo "usage : utils/makepackage.sh version" && exit 1 +version=$1 +[ ! -e "dkms.conf" ] && echo "start this script from base directory" && exit 1 +rm -rf build || (echo "unable to clean build directory" && exit 1) +mkdir build || (echo "unable to create build directory" && exit 1) +mkdir build/mk-arcade-joystick-rpi-$version || (echo "unable to create package directory" && exit 1) +rootdir="build/mk-arcade-joystick-rpi-${version}" + +echo "copying resources" +srcdir="$rootdir/usr/src/mk_arcade_joystick_rpi-${version}" +sharedir="$rootdir/usr/share/mk_arcade_joystick_rpi-${version}" + +cp -r DEBIAN "$rootdir" + +mkdir -p "$srcdir" +cp dkms.conf "$srcdir" +cp Makefile "$srcdir" +cp mk_arcade_joystick_rpi.c "$srcdir" + +mkdir -p "$sharedir" +cp LICENSE "$sharedir" +cp README.md "$sharedir" + +sed -i "s/\$MKVERSION/${version}/g" $srcdir/* $rootdir/DEBIAN/control $rootdir/DEBIAN/prerm + +echo "building dpkg" + +cd build +sudo dpkg-deb --build "mk-arcade-joystick-rpi-${version}/" diff --git a/mk_arcade_joystick_rpi-master/wiki/images/mk_joystick_arcade_GPIOs.png b/mk_arcade_joystick_rpi-master/wiki/images/mk_joystick_arcade_GPIOs.png new file mode 100644 index 0000000..d1d13a7 Binary files /dev/null and b/mk_arcade_joystick_rpi-master/wiki/images/mk_joystick_arcade_GPIOs.png differ diff --git a/mk_arcade_joystick_rpi-master/wiki/images/mk_joystick_arcade_GPIOs.xcf b/mk_arcade_joystick_rpi-master/wiki/images/mk_joystick_arcade_GPIOs.xcf new file mode 100644 index 0000000..19b3de3 Binary files /dev/null and b/mk_arcade_joystick_rpi-master/wiki/images/mk_joystick_arcade_GPIOs.xcf differ diff --git a/mk_arcade_joystick_rpi-master/wiki/images/mk_joystick_arcade_GPIOsb+.png b/mk_arcade_joystick_rpi-master/wiki/images/mk_joystick_arcade_GPIOsb+.png new file mode 100644 index 0000000..a2a5ab8 Binary files /dev/null and b/mk_arcade_joystick_rpi-master/wiki/images/mk_joystick_arcade_GPIOsb+.png differ diff --git a/mk_arcade_joystick_rpi-master/wiki/images/mk_joystick_arcade_GPIOsb+.xcf b/mk_arcade_joystick_rpi-master/wiki/images/mk_joystick_arcade_GPIOsb+.xcf new file mode 100644 index 0000000..b70a8cc Binary files /dev/null and b/mk_arcade_joystick_rpi-master/wiki/images/mk_joystick_arcade_GPIOsb+.xcf differ diff --git a/mk_arcade_joystick_rpi-master/wiki/images/mk_joystick_arcade_mcp23017.png b/mk_arcade_joystick_rpi-master/wiki/images/mk_joystick_arcade_mcp23017.png new file mode 100644 index 0000000..5b7cdbe Binary files /dev/null and b/mk_arcade_joystick_rpi-master/wiki/images/mk_joystick_arcade_mcp23017.png differ diff --git a/mk_arcade_joystick_rpi-master/wiki/images/mk_joystick_arcade_mcp23017.xcf b/mk_arcade_joystick_rpi-master/wiki/images/mk_joystick_arcade_mcp23017.xcf new file mode 100644 index 0000000..fa456df Binary files /dev/null and b/mk_arcade_joystick_rpi-master/wiki/images/mk_joystick_arcade_mcp23017.xcf differ diff --git a/nes/100in1.zip b/nes/100in1.zip new file mode 100755 index 0000000..9a09f13 Binary files /dev/null and b/nes/100in1.zip differ diff --git a/nes/13in1.zip b/nes/13in1.zip new file mode 100755 index 0000000..b432221 Binary files /dev/null and b/nes/13in1.zip differ diff --git a/nes/42in1.zip b/nes/42in1.zip new file mode 100755 index 0000000..417ed16 Binary files /dev/null and b/nes/42in1.zip differ diff --git a/nes/700in1.zip b/nes/700in1.zip new file mode 100755 index 0000000..9fc2180 Binary files /dev/null and b/nes/700in1.zip differ diff --git a/nes/Battle City (J).nes b/nes/Battle City (J).nes new file mode 100755 index 0000000..c0b99ea Binary files /dev/null and b/nes/Battle City (J).nes differ diff --git a/nes/CONTRA.NES b/nes/CONTRA.NES new file mode 100755 index 0000000..5a154db Binary files /dev/null and b/nes/CONTRA.NES differ diff --git a/nes/MARIO.NES b/nes/MARIO.NES new file mode 100755 index 0000000..5b6ed79 Binary files /dev/null and b/nes/MARIO.NES differ diff --git a/nes/StreetFighterVI12.zip b/nes/StreetFighterVI12.zip new file mode 100755 index 0000000..2e687c1 Binary files /dev/null and b/nes/StreetFighterVI12.zip differ diff --git a/nes/mario3.zip b/nes/mario3.zip new file mode 100755 index 0000000..d18dd8d Binary files /dev/null and b/nes/mario3.zip differ diff --git a/nes/samurai.zip b/nes/samurai.zip new file mode 100755 index 0000000..6f2526a Binary files /dev/null and b/nes/samurai.zip differ diff --git a/nes/tmnt2.zip b/nes/tmnt2.zip new file mode 100755 index 0000000..706dc70 Binary files /dev/null and b/nes/tmnt2.zip differ diff --git a/rpi-fbcp/CMakeLists.txt b/rpi-fbcp/CMakeLists.txt new file mode 100644 index 0000000..6202553 --- /dev/null +++ b/rpi-fbcp/CMakeLists.txt @@ -0,0 +1,14 @@ +cmake_minimum_required(VERSION 2.8) + +SET(COMPILE_DEFINITIONS -Werror) + +include_directories(/opt/vc/include) +include_directories(/opt/vc/include/interface/vcos/pthreads) +include_directories(/opt/vc/include/interface/vmcs_host) +include_directories(/opt/vc/include/interface/vmcs_host/linux) + +link_directories(/opt/vc/lib) + +add_executable(fbcp main.c) + +target_link_libraries(fbcp bcm_host) diff --git a/rpi-fbcp/README.md b/rpi-fbcp/README.md new file mode 100644 index 0000000..e053c3c --- /dev/null +++ b/rpi-fbcp/README.md @@ -0,0 +1,14 @@ +Raspberry Pi Framebuffer Copy +============================= +This program used for copy primary framebuffer to secondary framebuffer (eg. FBTFT). It require lastest raspberry pi firmware (> 2013-07-11) to working properly. + +Build +----- + + $ mkdir build + + $ cd build + + $ cmake .. + + $ make diff --git a/rpi-fbcp/build/CMakeCache.txt b/rpi-fbcp/build/CMakeCache.txt new file mode 100644 index 0000000..10dbdcb --- /dev/null +++ b/rpi-fbcp/build/CMakeCache.txt @@ -0,0 +1,304 @@ +# This is the CMakeCache file. +# For build in directory: /home/pi/LCD-show/rpi-fbcp/build +# It was generated by CMake: /usr/bin/cmake +# You can edit this file to change values found and used by cmake. +# If you do not want to change any of the values, simply exit the editor. +# If you do want to change a value, simply edit, save, and exit the editor. +# The syntax for the file is as follows: +# KEY:TYPE=VALUE +# KEY is the name of a variable in the cache. +# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. +# VALUE is the current value for the KEY. + +######################## +# EXTERNAL cache entries +######################## + +//Path to a program. +CMAKE_AR:FILEPATH=/usr/bin/ar + +//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or +// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel. +CMAKE_BUILD_TYPE:STRING= + +//Enable/Disable color output during build. +CMAKE_COLOR_MAKEFILE:BOOL=ON + +//CXX compiler +CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++ + +//Flags used by the compiler during all build types. +CMAKE_CXX_FLAGS:STRING= + +//Flags used by the compiler during debug builds. +CMAKE_CXX_FLAGS_DEBUG:STRING=-g + +//Flags used by the compiler during release builds for minimum +// size. +CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG + +//Flags used by the compiler during release builds. +CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG + +//Flags used by the compiler during release builds with debug info. +CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG + +//C compiler +CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc + +//Flags used by the compiler during all build types. +CMAKE_C_FLAGS:STRING= + +//Flags used by the compiler during debug builds. +CMAKE_C_FLAGS_DEBUG:STRING=-g + +//Flags used by the compiler during release builds for minimum +// size. +CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG + +//Flags used by the compiler during release builds. +CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG + +//Flags used by the compiler during release builds with debug info. +CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG + +//Flags used by the linker. +CMAKE_EXE_LINKER_FLAGS:STRING= + +//Flags used by the linker during debug builds. +CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during release minsize builds. +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during release builds. +CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during Release with Debug Info builds. +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Enable/Disable output of compile commands during generation. +CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF + +//Install path prefix, prepended onto install directories. +CMAKE_INSTALL_PREFIX:PATH=/usr/local + +//Path to a program. +CMAKE_LINKER:FILEPATH=/usr/bin/ld + +//Path to a program. +CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make + +//Flags used by the linker during the creation of modules. +CMAKE_MODULE_LINKER_FLAGS:STRING= + +//Flags used by the linker during debug builds. +CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during release minsize builds. +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during release builds. +CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during Release with Debug Info builds. +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_NM:FILEPATH=/usr/bin/nm + +//Path to a program. +CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy + +//Path to a program. +CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump + +//Value Computed by CMake +CMAKE_PROJECT_NAME:STATIC=Project + +//Path to a program. +CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib + +//Flags used by the linker during the creation of dll's. +CMAKE_SHARED_LINKER_FLAGS:STRING= + +//Flags used by the linker during debug builds. +CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during release minsize builds. +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during release builds. +CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during Release with Debug Info builds. +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//If set, runtime paths are not added when installing shared libraries, +// but are added when building. +CMAKE_SKIP_INSTALL_RPATH:BOOL=NO + +//If set, runtime paths are not added when using shared libraries. +CMAKE_SKIP_RPATH:BOOL=NO + +//Flags used by the linker during the creation of static libraries. +CMAKE_STATIC_LINKER_FLAGS:STRING= + +//Flags used by the linker during debug builds. +CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during release minsize builds. +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during release builds. +CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during Release with Debug Info builds. +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_STRIP:FILEPATH=/usr/bin/strip + +//If this value is on, makefiles will be generated without the +// .SILENT directive, and all commands will be echoed to the console +// during the make. This is useful for debugging only. With Visual +// Studio IDE projects all commands are done without /nologo. +CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE + +//Value Computed by CMake +Project_BINARY_DIR:STATIC=/home/pi/LCD-show/rpi-fbcp/build + +//Value Computed by CMake +Project_SOURCE_DIR:STATIC=/home/pi/LCD-show/rpi-fbcp + + +######################## +# INTERNAL cache entries +######################## + +//ADVANCED property for variable: CMAKE_AR +CMAKE_AR-ADVANCED:INTERNAL=1 +//This is the directory where this CMakeCache.txt was created +CMAKE_CACHEFILE_DIR:INTERNAL=/home/pi/LCD-show/rpi-fbcp/build +//Major version of cmake used to create the current loaded cache +CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 +//Minor version of cmake used to create the current loaded cache +CMAKE_CACHE_MINOR_VERSION:INTERNAL=7 +//Patch version of cmake used to create the current loaded cache +CMAKE_CACHE_PATCH_VERSION:INTERNAL=2 +//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE +CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1 +//Path to CMake executable. +CMAKE_COMMAND:INTERNAL=/usr/bin/cmake +//Path to cpack program executable. +CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack +//Path to ctest program executable. +CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest +//ADVANCED property for variable: CMAKE_CXX_COMPILER +CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS +CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG +CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL +CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE +CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO +CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_COMPILER +CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS +CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG +CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL +CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE +CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO +CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//Executable file format +CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS +CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG +CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE +CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS +CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 +//Name of external makefile project generator. +CMAKE_EXTRA_GENERATOR:INTERNAL= +//Name of generator. +CMAKE_GENERATOR:INTERNAL=Unix Makefiles +//Name of generator platform. +CMAKE_GENERATOR_PLATFORM:INTERNAL= +//Name of generator toolset. +CMAKE_GENERATOR_TOOLSET:INTERNAL= +//Source directory with the top level CMakeLists.txt file for this +// project +CMAKE_HOME_DIRECTORY:INTERNAL=/home/pi/LCD-show/rpi-fbcp +//Install .so files without execute permission. +CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1 +//ADVANCED property for variable: CMAKE_LINKER +CMAKE_LINKER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MAKE_PROGRAM +CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS +CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG +CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE +CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_NM +CMAKE_NM-ADVANCED:INTERNAL=1 +//number of local generators +CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 +//ADVANCED property for variable: CMAKE_OBJCOPY +CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_OBJDUMP +CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RANLIB +CMAKE_RANLIB-ADVANCED:INTERNAL=1 +//Path to CMake installation. +CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.7 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS +CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG +CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE +CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH +CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_RPATH +CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS +CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG +CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE +CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STRIP +CMAKE_STRIP-ADVANCED:INTERNAL=1 +//uname command +CMAKE_UNAME:INTERNAL=/bin/uname +//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE +CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 + diff --git a/rpi-fbcp/build/CMakeFiles/3.7.2/CMakeCCompiler.cmake b/rpi-fbcp/build/CMakeFiles/3.7.2/CMakeCCompiler.cmake new file mode 100644 index 0000000..ecea756 --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/3.7.2/CMakeCCompiler.cmake @@ -0,0 +1,68 @@ +set(CMAKE_C_COMPILER "/usr/bin/cc") +set(CMAKE_C_COMPILER_ARG1 "") +set(CMAKE_C_COMPILER_ID "GNU") +set(CMAKE_C_COMPILER_VERSION "6.3.0") +set(CMAKE_C_COMPILER_WRAPPER "") +set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") +set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_restrict;c_variadic_macros;c_static_assert") +set(CMAKE_C90_COMPILE_FEATURES "c_function_prototypes") +set(CMAKE_C99_COMPILE_FEATURES "c_restrict;c_variadic_macros") +set(CMAKE_C11_COMPILE_FEATURES "c_static_assert") + +set(CMAKE_C_PLATFORM_ID "Linux") +set(CMAKE_C_SIMULATE_ID "") +set(CMAKE_C_SIMULATE_VERSION "") + +set(CMAKE_AR "/usr/bin/ar") +set(CMAKE_RANLIB "/usr/bin/ranlib") +set(CMAKE_LINKER "/usr/bin/ld") +set(CMAKE_COMPILER_IS_GNUCC 1) +set(CMAKE_C_COMPILER_LOADED 1) +set(CMAKE_C_COMPILER_WORKS TRUE) +set(CMAKE_C_ABI_COMPILED TRUE) +set(CMAKE_COMPILER_IS_MINGW ) +set(CMAKE_COMPILER_IS_CYGWIN ) +if(CMAKE_COMPILER_IS_CYGWIN) + set(CYGWIN 1) + set(UNIX 1) +endif() + +set(CMAKE_C_COMPILER_ENV_VAR "CC") + +if(CMAKE_COMPILER_IS_MINGW) + set(MINGW 1) +endif() +set(CMAKE_C_COMPILER_ID_RUN 1) +set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) +set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) +set(CMAKE_C_LINKER_PREFERENCE 10) + +# Save compiler ABI information. +set(CMAKE_C_SIZEOF_DATA_PTR "4") +set(CMAKE_C_COMPILER_ABI "ELF") +set(CMAKE_C_LIBRARY_ARCHITECTURE "arm-linux-gnueabihf") + +if(CMAKE_C_SIZEOF_DATA_PTR) + set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") +endif() + +if(CMAKE_C_COMPILER_ABI) + set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") +endif() + +if(CMAKE_C_LIBRARY_ARCHITECTURE) + set(CMAKE_LIBRARY_ARCHITECTURE "arm-linux-gnueabihf") +endif() + +set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") +if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) + set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") +endif() + + + + + +set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "c") +set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/arm-linux-gnueabihf/6;/usr/lib/arm-linux-gnueabihf;/usr/lib;/lib/arm-linux-gnueabihf") +set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/rpi-fbcp/build/CMakeFiles/3.7.2/CMakeCXXCompiler.cmake b/rpi-fbcp/build/CMakeFiles/3.7.2/CMakeCXXCompiler.cmake new file mode 100644 index 0000000..71d1bc5 --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/3.7.2/CMakeCXXCompiler.cmake @@ -0,0 +1,69 @@ +set(CMAKE_CXX_COMPILER "/usr/bin/c++") +set(CMAKE_CXX_COMPILER_ARG1 "") +set(CMAKE_CXX_COMPILER_ID "GNU") +set(CMAKE_CXX_COMPILER_VERSION "6.3.0") +set(CMAKE_CXX_COMPILER_WRAPPER "") +set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") +set(CMAKE_CXX_COMPILE_FEATURES "cxx_template_template_parameters;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates") +set(CMAKE_CXX98_COMPILE_FEATURES "cxx_template_template_parameters") +set(CMAKE_CXX11_COMPILE_FEATURES "cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates") +set(CMAKE_CXX14_COMPILE_FEATURES "cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates") + +set(CMAKE_CXX_PLATFORM_ID "Linux") +set(CMAKE_CXX_SIMULATE_ID "") +set(CMAKE_CXX_SIMULATE_VERSION "") + +set(CMAKE_AR "/usr/bin/ar") +set(CMAKE_RANLIB "/usr/bin/ranlib") +set(CMAKE_LINKER "/usr/bin/ld") +set(CMAKE_COMPILER_IS_GNUCXX 1) +set(CMAKE_CXX_COMPILER_LOADED 1) +set(CMAKE_CXX_COMPILER_WORKS TRUE) +set(CMAKE_CXX_ABI_COMPILED TRUE) +set(CMAKE_COMPILER_IS_MINGW ) +set(CMAKE_COMPILER_IS_CYGWIN ) +if(CMAKE_COMPILER_IS_CYGWIN) + set(CYGWIN 1) + set(UNIX 1) +endif() + +set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") + +if(CMAKE_COMPILER_IS_MINGW) + set(MINGW 1) +endif() +set(CMAKE_CXX_COMPILER_ID_RUN 1) +set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) +set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP) +set(CMAKE_CXX_LINKER_PREFERENCE 30) +set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) + +# Save compiler ABI information. +set(CMAKE_CXX_SIZEOF_DATA_PTR "4") +set(CMAKE_CXX_COMPILER_ABI "ELF") +set(CMAKE_CXX_LIBRARY_ARCHITECTURE "arm-linux-gnueabihf") + +if(CMAKE_CXX_SIZEOF_DATA_PTR) + set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") +endif() + +if(CMAKE_CXX_COMPILER_ABI) + set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") +endif() + +if(CMAKE_CXX_LIBRARY_ARCHITECTURE) + set(CMAKE_LIBRARY_ARCHITECTURE "arm-linux-gnueabihf") +endif() + +set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") +if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) + set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") +endif() + + + + + +set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;c") +set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/arm-linux-gnueabihf/6;/usr/lib/arm-linux-gnueabihf;/usr/lib;/lib/arm-linux-gnueabihf") +set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/rpi-fbcp/build/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_C.bin b/rpi-fbcp/build/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_C.bin new file mode 100755 index 0000000..a67974b Binary files /dev/null and b/rpi-fbcp/build/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_C.bin differ diff --git a/rpi-fbcp/build/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_CXX.bin b/rpi-fbcp/build/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_CXX.bin new file mode 100755 index 0000000..26e2bc1 Binary files /dev/null and b/rpi-fbcp/build/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_CXX.bin differ diff --git a/rpi-fbcp/build/CMakeFiles/3.7.2/CMakeSystem.cmake b/rpi-fbcp/build/CMakeFiles/3.7.2/CMakeSystem.cmake new file mode 100644 index 0000000..d979f38 --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/3.7.2/CMakeSystem.cmake @@ -0,0 +1,15 @@ +set(CMAKE_HOST_SYSTEM "Linux-4.9.80-v7+") +set(CMAKE_HOST_SYSTEM_NAME "Linux") +set(CMAKE_HOST_SYSTEM_VERSION "4.9.80-v7+") +set(CMAKE_HOST_SYSTEM_PROCESSOR "armv7l") + + + +set(CMAKE_SYSTEM "Linux-4.9.80-v7+") +set(CMAKE_SYSTEM_NAME "Linux") +set(CMAKE_SYSTEM_VERSION "4.9.80-v7+") +set(CMAKE_SYSTEM_PROCESSOR "armv7l") + +set(CMAKE_CROSSCOMPILING "FALSE") + +set(CMAKE_SYSTEM_LOADED 1) diff --git a/rpi-fbcp/build/CMakeFiles/3.7.2/CompilerIdC/CMakeCCompilerId.c b/rpi-fbcp/build/CMakeFiles/3.7.2/CompilerIdC/CMakeCCompilerId.c new file mode 100644 index 0000000..512e360 --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/3.7.2/CompilerIdC/CMakeCCompilerId.c @@ -0,0 +1,561 @@ +#ifdef __cplusplus +# error "A C++ compiler has been selected for C." +#endif + +#if defined(__18CXX) +# define ID_VOID_MAIN +#endif +#if defined(__CLASSIC_C__) +/* cv-qualifiers did not exist in K&R C */ +# define const +# define volatile +#endif + + +/* Version number components: V=Version, R=Revision, P=Patch + Version date components: YYYY=Year, MM=Month, DD=Day */ + +#if defined(__INTEL_COMPILER) || defined(__ICC) +# define COMPILER_ID "Intel" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif + /* __INTEL_COMPILER = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) +# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) +# if defined(__INTEL_COMPILER_UPDATE) +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) +# else +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) +# endif +# if defined(__INTEL_COMPILER_BUILD_DATE) + /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ +# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) +# endif +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif + +#elif defined(__PATHCC__) +# define COMPILER_ID "PathScale" +# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) +# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) +# if defined(__PATHCC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) +# endif + +#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) +# define COMPILER_ID "Embarcadero" +# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) +# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) +# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) + +#elif defined(__BORLANDC__) +# define COMPILER_ID "Borland" + /* __BORLANDC__ = 0xVRR */ +# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) +# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) + +#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 +# define COMPILER_ID "Watcom" + /* __WATCOMC__ = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__WATCOMC__) +# define COMPILER_ID "OpenWatcom" + /* __WATCOMC__ = VVRP + 1100 */ +# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__SUNPRO_C) +# define COMPILER_ID "SunPro" +# if __SUNPRO_C >= 0x5100 + /* __SUNPRO_C = 0xVRRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) +# else + /* __SUNPRO_CC = 0xVRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) +# endif + +#elif defined(__HP_cc) +# define COMPILER_ID "HP" + /* __HP_cc = VVRRPP */ +# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) +# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) +# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) + +#elif defined(__DECC) +# define COMPILER_ID "Compaq" + /* __DECC_VER = VVRRTPPPP */ +# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) +# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) +# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) + +#elif defined(__IBMC__) && defined(__COMPILER_VER__) +# define COMPILER_ID "zOS" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800 +# define COMPILER_ID "XL" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 +# define COMPILER_ID "VisualAge" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__PGI) +# define COMPILER_ID "PGI" +# define COMPILER_VERSION_MAJOR DEC(__PGIC__) +# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) +# if defined(__PGIC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) +# endif + +#elif defined(_CRAYC) +# define COMPILER_ID "Cray" +# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) +# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) + +#elif defined(__TI_COMPILER_VERSION__) +# define COMPILER_ID "TI" + /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ +# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) +# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) +# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) + +#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version) +# define COMPILER_ID "Fujitsu" + +#elif defined(__TINYC__) +# define COMPILER_ID "TinyCC" + +#elif defined(__BCC__) +# define COMPILER_ID "Bruce" + +#elif defined(__SCO_VERSION__) +# define COMPILER_ID "SCO" + +#elif defined(__clang__) && defined(__apple_build_version__) +# define COMPILER_ID "AppleClang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) + +#elif defined(__clang__) +# define COMPILER_ID "Clang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif + +#elif defined(__GNUC__) +# define COMPILER_ID "GNU" +# define COMPILER_VERSION_MAJOR DEC(__GNUC__) +# if defined(__GNUC_MINOR__) +# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif defined(_MSC_VER) +# define COMPILER_ID "MSVC" + /* _MSC_VER = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) +# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) +# if defined(_MSC_FULL_VER) +# if _MSC_VER >= 1400 + /* _MSC_FULL_VER = VVRRPPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) +# else + /* _MSC_FULL_VER = VVRRPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) +# endif +# endif +# if defined(_MSC_BUILD) +# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) +# endif + +#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) +# define COMPILER_ID "ADSP" +#if defined(__VISUALDSPVERSION__) + /* __VISUALDSPVERSION__ = 0xVVRRPP00 */ +# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24) +# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF) +#endif + +#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC) +# define COMPILER_ID "IAR" + +#elif defined(__ARMCC_VERSION) +# define COMPILER_ID "ARMCC" +#if __ARMCC_VERSION >= 1000000 + /* __ARMCC_VERSION = VRRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#else + /* __ARMCC_VERSION = VRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#endif + + +#elif defined(SDCC) +# define COMPILER_ID "SDCC" + /* SDCC = VRP */ +# define COMPILER_VERSION_MAJOR DEC(SDCC/100) +# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) +# define COMPILER_VERSION_PATCH DEC(SDCC % 10) + +#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION) +# define COMPILER_ID "MIPSpro" +# if defined(_SGI_COMPILER_VERSION) + /* _SGI_COMPILER_VERSION = VRP */ +# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100) +# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10) +# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10) +# else + /* _COMPILER_VERSION = VRP */ +# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100) +# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10) +# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10) +# endif + + +/* These compilers are either not known or too old to define an + identification macro. Try to identify the platform and guess that + it is the native compiler. */ +#elif defined(__sgi) +# define COMPILER_ID "MIPSpro" + +#elif defined(__hpux) || defined(__hpua) +# define COMPILER_ID "HP" + +#else /* unknown compiler */ +# define COMPILER_ID "" +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; +#ifdef SIMULATE_ID +char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; +#endif + +#ifdef __QNXNTO__ +char const* qnxnto = "INFO" ":" "qnxnto[]"; +#endif + +#if defined(__CRAYXE) || defined(__CRAYXC) +char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; +#endif + +#define STRINGIFY_HELPER(X) #X +#define STRINGIFY(X) STRINGIFY_HELPER(X) + +/* Identify known platforms by name. */ +#if defined(__linux) || defined(__linux__) || defined(linux) +# define PLATFORM_ID "Linux" + +#elif defined(__CYGWIN__) +# define PLATFORM_ID "Cygwin" + +#elif defined(__MINGW32__) +# define PLATFORM_ID "MinGW" + +#elif defined(__APPLE__) +# define PLATFORM_ID "Darwin" + +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) +# define PLATFORM_ID "Windows" + +#elif defined(__FreeBSD__) || defined(__FreeBSD) +# define PLATFORM_ID "FreeBSD" + +#elif defined(__NetBSD__) || defined(__NetBSD) +# define PLATFORM_ID "NetBSD" + +#elif defined(__OpenBSD__) || defined(__OPENBSD) +# define PLATFORM_ID "OpenBSD" + +#elif defined(__sun) || defined(sun) +# define PLATFORM_ID "SunOS" + +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) +# define PLATFORM_ID "AIX" + +#elif defined(__sgi) || defined(__sgi__) || defined(_SGI) +# define PLATFORM_ID "IRIX" + +#elif defined(__hpux) || defined(__hpux__) +# define PLATFORM_ID "HP-UX" + +#elif defined(__HAIKU__) +# define PLATFORM_ID "Haiku" + +#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) +# define PLATFORM_ID "BeOS" + +#elif defined(__QNX__) || defined(__QNXNTO__) +# define PLATFORM_ID "QNX" + +#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) +# define PLATFORM_ID "Tru64" + +#elif defined(__riscos) || defined(__riscos__) +# define PLATFORM_ID "RISCos" + +#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) +# define PLATFORM_ID "SINIX" + +#elif defined(__UNIX_SV__) +# define PLATFORM_ID "UNIX_SV" + +#elif defined(__bsdos__) +# define PLATFORM_ID "BSDOS" + +#elif defined(_MPRAS) || defined(MPRAS) +# define PLATFORM_ID "MP-RAS" + +#elif defined(__osf) || defined(__osf__) +# define PLATFORM_ID "OSF1" + +#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) +# define PLATFORM_ID "SCO_SV" + +#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) +# define PLATFORM_ID "ULTRIX" + +#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) +# define PLATFORM_ID "Xenix" + +#elif defined(__WATCOMC__) +# if defined(__LINUX__) +# define PLATFORM_ID "Linux" + +# elif defined(__DOS__) +# define PLATFORM_ID "DOS" + +# elif defined(__OS2__) +# define PLATFORM_ID "OS2" + +# elif defined(__WINDOWS__) +# define PLATFORM_ID "Windows3x" + +# else /* unknown platform */ +# define PLATFORM_ID +# endif + +#else /* unknown platform */ +# define PLATFORM_ID + +#endif + +/* For windows compilers MSVC and Intel we can determine + the architecture of the compiler being used. This is because + the compilers do not have flags that can change the architecture, + but rather depend on which compiler is being used +*/ +#if defined(_WIN32) && defined(_MSC_VER) +# if defined(_M_IA64) +# define ARCHITECTURE_ID "IA64" + +# elif defined(_M_X64) || defined(_M_AMD64) +# define ARCHITECTURE_ID "x64" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# elif defined(_M_ARM) +# if _M_ARM == 4 +# define ARCHITECTURE_ID "ARMV4I" +# elif _M_ARM == 5 +# define ARCHITECTURE_ID "ARMV5I" +# else +# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) +# endif + +# elif defined(_M_MIPS) +# define ARCHITECTURE_ID "MIPS" + +# elif defined(_M_SH) +# define ARCHITECTURE_ID "SHx" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__WATCOMC__) +# if defined(_M_I86) +# define ARCHITECTURE_ID "I86" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#else +# define ARCHITECTURE_ID +#endif + +/* Convert integer to decimal digit literals. */ +#define DEC(n) \ + ('0' + (((n) / 10000000)%10)), \ + ('0' + (((n) / 1000000)%10)), \ + ('0' + (((n) / 100000)%10)), \ + ('0' + (((n) / 10000)%10)), \ + ('0' + (((n) / 1000)%10)), \ + ('0' + (((n) / 100)%10)), \ + ('0' + (((n) / 10)%10)), \ + ('0' + ((n) % 10)) + +/* Convert integer to hex digit literals. */ +#define HEX(n) \ + ('0' + ((n)>>28 & 0xF)), \ + ('0' + ((n)>>24 & 0xF)), \ + ('0' + ((n)>>20 & 0xF)), \ + ('0' + ((n)>>16 & 0xF)), \ + ('0' + ((n)>>12 & 0xF)), \ + ('0' + ((n)>>8 & 0xF)), \ + ('0' + ((n)>>4 & 0xF)), \ + ('0' + ((n) & 0xF)) + +/* Construct a string literal encoding the version number components. */ +#ifdef COMPILER_VERSION_MAJOR +char const info_version[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', + COMPILER_VERSION_MAJOR, +# ifdef COMPILER_VERSION_MINOR + '.', COMPILER_VERSION_MINOR, +# ifdef COMPILER_VERSION_PATCH + '.', COMPILER_VERSION_PATCH, +# ifdef COMPILER_VERSION_TWEAK + '.', COMPILER_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct a string literal encoding the version number components. */ +#ifdef SIMULATE_VERSION_MAJOR +char const info_simulate_version[] = { + 'I', 'N', 'F', 'O', ':', + 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', + SIMULATE_VERSION_MAJOR, +# ifdef SIMULATE_VERSION_MINOR + '.', SIMULATE_VERSION_MINOR, +# ifdef SIMULATE_VERSION_PATCH + '.', SIMULATE_VERSION_PATCH, +# ifdef SIMULATE_VERSION_TWEAK + '.', SIMULATE_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; +char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; + + + + +#if !defined(__STDC__) +# if defined(_MSC_VER) && !defined(__clang__) +# define C_DIALECT "90" +# else +# define C_DIALECT +# endif +#elif __STDC_VERSION__ >= 201000L +# define C_DIALECT "11" +#elif __STDC_VERSION__ >= 199901L +# define C_DIALECT "99" +#else +# define C_DIALECT "90" +#endif +const char* info_language_dialect_default = + "INFO" ":" "dialect_default[" C_DIALECT "]"; + +/*--------------------------------------------------------------------------*/ + +#ifdef ID_VOID_MAIN +void main() {} +#else +# if defined(__CLASSIC_C__) +int main(argc, argv) int argc; char *argv[]; +# else +int main(int argc, char* argv[]) +# endif +{ + int require = 0; + require += info_compiler[argc]; + require += info_platform[argc]; + require += info_arch[argc]; +#ifdef COMPILER_VERSION_MAJOR + require += info_version[argc]; +#endif +#ifdef SIMULATE_ID + require += info_simulate[argc]; +#endif +#ifdef SIMULATE_VERSION_MAJOR + require += info_simulate_version[argc]; +#endif +#if defined(__CRAYXE) || defined(__CRAYXC) + require += info_cray[argc]; +#endif + require += info_language_dialect_default[argc]; + (void)argv; + return require; +} +#endif diff --git a/rpi-fbcp/build/CMakeFiles/3.7.2/CompilerIdC/a.out b/rpi-fbcp/build/CMakeFiles/3.7.2/CompilerIdC/a.out new file mode 100755 index 0000000..c15b035 Binary files /dev/null and b/rpi-fbcp/build/CMakeFiles/3.7.2/CompilerIdC/a.out differ diff --git a/rpi-fbcp/build/CMakeFiles/3.7.2/CompilerIdCXX/CMakeCXXCompilerId.cpp b/rpi-fbcp/build/CMakeFiles/3.7.2/CompilerIdCXX/CMakeCXXCompilerId.cpp new file mode 100644 index 0000000..a6e6bed --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/3.7.2/CompilerIdCXX/CMakeCXXCompilerId.cpp @@ -0,0 +1,533 @@ +/* This source file must have a .cpp extension so that all C++ compilers + recognize the extension without flags. Borland does not know .cxx for + example. */ +#ifndef __cplusplus +# error "A C compiler has been selected for C++." +#endif + + +/* Version number components: V=Version, R=Revision, P=Patch + Version date components: YYYY=Year, MM=Month, DD=Day */ + +#if defined(__COMO__) +# define COMPILER_ID "Comeau" + /* __COMO_VERSION__ = VRR */ +# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100) +# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100) + +#elif defined(__INTEL_COMPILER) || defined(__ICC) +# define COMPILER_ID "Intel" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif + /* __INTEL_COMPILER = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) +# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) +# if defined(__INTEL_COMPILER_UPDATE) +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) +# else +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) +# endif +# if defined(__INTEL_COMPILER_BUILD_DATE) + /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ +# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) +# endif +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif + +#elif defined(__PATHCC__) +# define COMPILER_ID "PathScale" +# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) +# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) +# if defined(__PATHCC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) +# endif + +#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) +# define COMPILER_ID "Embarcadero" +# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) +# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) +# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) + +#elif defined(__BORLANDC__) +# define COMPILER_ID "Borland" + /* __BORLANDC__ = 0xVRR */ +# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) +# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) + +#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 +# define COMPILER_ID "Watcom" + /* __WATCOMC__ = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__WATCOMC__) +# define COMPILER_ID "OpenWatcom" + /* __WATCOMC__ = VVRP + 1100 */ +# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__SUNPRO_CC) +# define COMPILER_ID "SunPro" +# if __SUNPRO_CC >= 0x5100 + /* __SUNPRO_CC = 0xVRRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) +# else + /* __SUNPRO_CC = 0xVRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) +# endif + +#elif defined(__HP_aCC) +# define COMPILER_ID "HP" + /* __HP_aCC = VVRRPP */ +# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) +# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) +# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) + +#elif defined(__DECCXX) +# define COMPILER_ID "Compaq" + /* __DECCXX_VER = VVRRTPPPP */ +# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) +# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) +# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) + +#elif defined(__IBMCPP__) && defined(__COMPILER_VER__) +# define COMPILER_ID "zOS" + /* __IBMCPP__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) + +#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800 +# define COMPILER_ID "XL" + /* __IBMCPP__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) + +#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800 +# define COMPILER_ID "VisualAge" + /* __IBMCPP__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) + +#elif defined(__PGI) +# define COMPILER_ID "PGI" +# define COMPILER_VERSION_MAJOR DEC(__PGIC__) +# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) +# if defined(__PGIC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) +# endif + +#elif defined(_CRAYC) +# define COMPILER_ID "Cray" +# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) +# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) + +#elif defined(__TI_COMPILER_VERSION__) +# define COMPILER_ID "TI" + /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ +# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) +# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) +# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) + +#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version) +# define COMPILER_ID "Fujitsu" + +#elif defined(__SCO_VERSION__) +# define COMPILER_ID "SCO" + +#elif defined(__clang__) && defined(__apple_build_version__) +# define COMPILER_ID "AppleClang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) + +#elif defined(__clang__) +# define COMPILER_ID "Clang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif + +#elif defined(__GNUC__) +# define COMPILER_ID "GNU" +# define COMPILER_VERSION_MAJOR DEC(__GNUC__) +# if defined(__GNUC_MINOR__) +# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif defined(_MSC_VER) +# define COMPILER_ID "MSVC" + /* _MSC_VER = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) +# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) +# if defined(_MSC_FULL_VER) +# if _MSC_VER >= 1400 + /* _MSC_FULL_VER = VVRRPPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) +# else + /* _MSC_FULL_VER = VVRRPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) +# endif +# endif +# if defined(_MSC_BUILD) +# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) +# endif + +#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) +# define COMPILER_ID "ADSP" +#if defined(__VISUALDSPVERSION__) + /* __VISUALDSPVERSION__ = 0xVVRRPP00 */ +# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24) +# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF) +#endif + +#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC) +# define COMPILER_ID "IAR" + +#elif defined(__ARMCC_VERSION) +# define COMPILER_ID "ARMCC" +#if __ARMCC_VERSION >= 1000000 + /* __ARMCC_VERSION = VRRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#else + /* __ARMCC_VERSION = VRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#endif + + +#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION) +# define COMPILER_ID "MIPSpro" +# if defined(_SGI_COMPILER_VERSION) + /* _SGI_COMPILER_VERSION = VRP */ +# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100) +# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10) +# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10) +# else + /* _COMPILER_VERSION = VRP */ +# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100) +# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10) +# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10) +# endif + + +/* These compilers are either not known or too old to define an + identification macro. Try to identify the platform and guess that + it is the native compiler. */ +#elif defined(__sgi) +# define COMPILER_ID "MIPSpro" + +#elif defined(__hpux) || defined(__hpua) +# define COMPILER_ID "HP" + +#else /* unknown compiler */ +# define COMPILER_ID "" +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; +#ifdef SIMULATE_ID +char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; +#endif + +#ifdef __QNXNTO__ +char const* qnxnto = "INFO" ":" "qnxnto[]"; +#endif + +#if defined(__CRAYXE) || defined(__CRAYXC) +char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; +#endif + +#define STRINGIFY_HELPER(X) #X +#define STRINGIFY(X) STRINGIFY_HELPER(X) + +/* Identify known platforms by name. */ +#if defined(__linux) || defined(__linux__) || defined(linux) +# define PLATFORM_ID "Linux" + +#elif defined(__CYGWIN__) +# define PLATFORM_ID "Cygwin" + +#elif defined(__MINGW32__) +# define PLATFORM_ID "MinGW" + +#elif defined(__APPLE__) +# define PLATFORM_ID "Darwin" + +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) +# define PLATFORM_ID "Windows" + +#elif defined(__FreeBSD__) || defined(__FreeBSD) +# define PLATFORM_ID "FreeBSD" + +#elif defined(__NetBSD__) || defined(__NetBSD) +# define PLATFORM_ID "NetBSD" + +#elif defined(__OpenBSD__) || defined(__OPENBSD) +# define PLATFORM_ID "OpenBSD" + +#elif defined(__sun) || defined(sun) +# define PLATFORM_ID "SunOS" + +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) +# define PLATFORM_ID "AIX" + +#elif defined(__sgi) || defined(__sgi__) || defined(_SGI) +# define PLATFORM_ID "IRIX" + +#elif defined(__hpux) || defined(__hpux__) +# define PLATFORM_ID "HP-UX" + +#elif defined(__HAIKU__) +# define PLATFORM_ID "Haiku" + +#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) +# define PLATFORM_ID "BeOS" + +#elif defined(__QNX__) || defined(__QNXNTO__) +# define PLATFORM_ID "QNX" + +#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) +# define PLATFORM_ID "Tru64" + +#elif defined(__riscos) || defined(__riscos__) +# define PLATFORM_ID "RISCos" + +#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) +# define PLATFORM_ID "SINIX" + +#elif defined(__UNIX_SV__) +# define PLATFORM_ID "UNIX_SV" + +#elif defined(__bsdos__) +# define PLATFORM_ID "BSDOS" + +#elif defined(_MPRAS) || defined(MPRAS) +# define PLATFORM_ID "MP-RAS" + +#elif defined(__osf) || defined(__osf__) +# define PLATFORM_ID "OSF1" + +#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) +# define PLATFORM_ID "SCO_SV" + +#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) +# define PLATFORM_ID "ULTRIX" + +#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) +# define PLATFORM_ID "Xenix" + +#elif defined(__WATCOMC__) +# if defined(__LINUX__) +# define PLATFORM_ID "Linux" + +# elif defined(__DOS__) +# define PLATFORM_ID "DOS" + +# elif defined(__OS2__) +# define PLATFORM_ID "OS2" + +# elif defined(__WINDOWS__) +# define PLATFORM_ID "Windows3x" + +# else /* unknown platform */ +# define PLATFORM_ID +# endif + +#else /* unknown platform */ +# define PLATFORM_ID + +#endif + +/* For windows compilers MSVC and Intel we can determine + the architecture of the compiler being used. This is because + the compilers do not have flags that can change the architecture, + but rather depend on which compiler is being used +*/ +#if defined(_WIN32) && defined(_MSC_VER) +# if defined(_M_IA64) +# define ARCHITECTURE_ID "IA64" + +# elif defined(_M_X64) || defined(_M_AMD64) +# define ARCHITECTURE_ID "x64" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# elif defined(_M_ARM) +# if _M_ARM == 4 +# define ARCHITECTURE_ID "ARMV4I" +# elif _M_ARM == 5 +# define ARCHITECTURE_ID "ARMV5I" +# else +# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) +# endif + +# elif defined(_M_MIPS) +# define ARCHITECTURE_ID "MIPS" + +# elif defined(_M_SH) +# define ARCHITECTURE_ID "SHx" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__WATCOMC__) +# if defined(_M_I86) +# define ARCHITECTURE_ID "I86" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#else +# define ARCHITECTURE_ID +#endif + +/* Convert integer to decimal digit literals. */ +#define DEC(n) \ + ('0' + (((n) / 10000000)%10)), \ + ('0' + (((n) / 1000000)%10)), \ + ('0' + (((n) / 100000)%10)), \ + ('0' + (((n) / 10000)%10)), \ + ('0' + (((n) / 1000)%10)), \ + ('0' + (((n) / 100)%10)), \ + ('0' + (((n) / 10)%10)), \ + ('0' + ((n) % 10)) + +/* Convert integer to hex digit literals. */ +#define HEX(n) \ + ('0' + ((n)>>28 & 0xF)), \ + ('0' + ((n)>>24 & 0xF)), \ + ('0' + ((n)>>20 & 0xF)), \ + ('0' + ((n)>>16 & 0xF)), \ + ('0' + ((n)>>12 & 0xF)), \ + ('0' + ((n)>>8 & 0xF)), \ + ('0' + ((n)>>4 & 0xF)), \ + ('0' + ((n) & 0xF)) + +/* Construct a string literal encoding the version number components. */ +#ifdef COMPILER_VERSION_MAJOR +char const info_version[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', + COMPILER_VERSION_MAJOR, +# ifdef COMPILER_VERSION_MINOR + '.', COMPILER_VERSION_MINOR, +# ifdef COMPILER_VERSION_PATCH + '.', COMPILER_VERSION_PATCH, +# ifdef COMPILER_VERSION_TWEAK + '.', COMPILER_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct a string literal encoding the version number components. */ +#ifdef SIMULATE_VERSION_MAJOR +char const info_simulate_version[] = { + 'I', 'N', 'F', 'O', ':', + 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', + SIMULATE_VERSION_MAJOR, +# ifdef SIMULATE_VERSION_MINOR + '.', SIMULATE_VERSION_MINOR, +# ifdef SIMULATE_VERSION_PATCH + '.', SIMULATE_VERSION_PATCH, +# ifdef SIMULATE_VERSION_TWEAK + '.', SIMULATE_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; +char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; + + + + +const char* info_language_dialect_default = "INFO" ":" "dialect_default[" +#if __cplusplus >= 201402L + "14" +#elif __cplusplus >= 201103L + "11" +#else + "98" +#endif +"]"; + +/*--------------------------------------------------------------------------*/ + +int main(int argc, char* argv[]) +{ + int require = 0; + require += info_compiler[argc]; + require += info_platform[argc]; +#ifdef COMPILER_VERSION_MAJOR + require += info_version[argc]; +#endif +#ifdef SIMULATE_ID + require += info_simulate[argc]; +#endif +#ifdef SIMULATE_VERSION_MAJOR + require += info_simulate_version[argc]; +#endif +#if defined(__CRAYXE) || defined(__CRAYXC) + require += info_cray[argc]; +#endif + require += info_language_dialect_default[argc]; + (void)argv; + return require; +} diff --git a/rpi-fbcp/build/CMakeFiles/3.7.2/CompilerIdCXX/a.out b/rpi-fbcp/build/CMakeFiles/3.7.2/CompilerIdCXX/a.out new file mode 100755 index 0000000..2c3be7f Binary files /dev/null and b/rpi-fbcp/build/CMakeFiles/3.7.2/CompilerIdCXX/a.out differ diff --git a/rpi-fbcp/build/CMakeFiles/CMakeDirectoryInformation.cmake b/rpi-fbcp/build/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 0000000..6d02558 --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/CMakeDirectoryInformation.cmake @@ -0,0 +1,16 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.7 + +# Relative path conversion top directories. +set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/pi/LCD-show/rpi-fbcp") +set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/pi/LCD-show/rpi-fbcp/build") + +# Force unix paths in dependencies. +set(CMAKE_FORCE_UNIX_PATHS 1) + + +# The C and CXX include file regular expressions for this directory. +set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") +set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") +set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) +set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) diff --git a/rpi-fbcp/build/CMakeFiles/CMakeOutput.log b/rpi-fbcp/build/CMakeFiles/CMakeOutput.log new file mode 100644 index 0000000..290162a --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/CMakeOutput.log @@ -0,0 +1,542 @@ +The system is: Linux - 4.9.80-v7+ - armv7l +Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. +Compiler: /usr/bin/cc +Build flags: +Id flags: + +The output was: +0 + + +Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" + +The C compiler identification is GNU, found in "/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/3.7.2/CompilerIdC/a.out" + +Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. +Compiler: /usr/bin/c++ +Build flags: +Id flags: + +The output was: +0 + + +Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" + +The CXX compiler identification is GNU, found in "/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/3.7.2/CompilerIdCXX/a.out" + +Determining if the C compiler works passed with the following output: +Change Dir: /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make" "cmTC_084a0/fast" +/usr/bin/make -f CMakeFiles/cmTC_084a0.dir/build.make CMakeFiles/cmTC_084a0.dir/build +make[1]: Entering directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_084a0.dir/testCCompiler.c.o +/usr/bin/cc -o CMakeFiles/cmTC_084a0.dir/testCCompiler.c.o -c /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp/testCCompiler.c +Linking C executable cmTC_084a0 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_084a0.dir/link.txt --verbose=1 +/usr/bin/cc CMakeFiles/cmTC_084a0.dir/testCCompiler.c.o -o cmTC_084a0 -rdynamic +make[1]: Leaving directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' + + +Detecting C compiler ABI info compiled with the following output: +Change Dir: /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make" "cmTC_19f09/fast" +/usr/bin/make -f CMakeFiles/cmTC_19f09.dir/build.make CMakeFiles/cmTC_19f09.dir/build +make[1]: Entering directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_19f09.dir/CMakeCCompilerABI.c.o +/usr/bin/cc -o CMakeFiles/cmTC_19f09.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.7/Modules/CMakeCCompilerABI.c +Linking C executable cmTC_19f09 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_19f09.dir/link.txt --verbose=1 +/usr/bin/cc -v CMakeFiles/cmTC_19f09.dir/CMakeCCompilerABI.c.o -o cmTC_19f09 -rdynamic +Using built-in specs. +COLLECT_GCC=/usr/bin/cc +COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper +Target: arm-linux-gnueabihf +Configured with: ../src/configure -v --with-pkgversion='Raspbian 6.3.0-18+rpi1+deb9u1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-armhf/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-armhf --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-armhf --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf +Thread model: posix +gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1+deb9u1) +COMPILER_PATH=/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/ +LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/6/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_19f09' '-rdynamic' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' + /usr/lib/gcc/arm-linux-gnueabihf/6/collect2 -plugin /usr/lib/gcc/arm-linux-gnueabihf/6/liblto_plugin.so -plugin-opt=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper -plugin-opt=-fresolution=/tmp/ccDfodn2.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=gnu -m armelf_linux_eabi -o cmTC_19f09 /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crt1.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabihf/6 -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf CMakeFiles/cmTC_19f09.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/arm-linux-gnueabihf/6/crtend.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crtn.o +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_19f09' '-rdynamic' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' +make[1]: Leaving directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' + + +Parsed C implicit link information from above output: + link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)] + ignore line: [Change Dir: /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp] + ignore line: [] + ignore line: [Run Build Command:"/usr/bin/make" "cmTC_19f09/fast"] + ignore line: [/usr/bin/make -f CMakeFiles/cmTC_19f09.dir/build.make CMakeFiles/cmTC_19f09.dir/build] + ignore line: [make[1]: Entering directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp'] + ignore line: [Building C object CMakeFiles/cmTC_19f09.dir/CMakeCCompilerABI.c.o] + ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_19f09.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.7/Modules/CMakeCCompilerABI.c] + ignore line: [Linking C executable cmTC_19f09] + ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_19f09.dir/link.txt --verbose=1] + ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_19f09.dir/CMakeCCompilerABI.c.o -o cmTC_19f09 -rdynamic ] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/cc] + ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper] + ignore line: [Target: arm-linux-gnueabihf] + ignore line: [Configured with: ../src/configure -v --with-pkgversion='Raspbian 6.3.0-18+rpi1+deb9u1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-armhf/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-armhf --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-armhf --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf] + ignore line: [Thread model: posix] + ignore line: [gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1+deb9u1) ] + ignore line: [COMPILER_PATH=/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/6/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_19f09' '-rdynamic' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu'] + link line: [ /usr/lib/gcc/arm-linux-gnueabihf/6/collect2 -plugin /usr/lib/gcc/arm-linux-gnueabihf/6/liblto_plugin.so -plugin-opt=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper -plugin-opt=-fresolution=/tmp/ccDfodn2.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=gnu -m armelf_linux_eabi -o cmTC_19f09 /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crt1.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabihf/6 -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf CMakeFiles/cmTC_19f09.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/arm-linux-gnueabihf/6/crtend.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crtn.o] + arg [/usr/lib/gcc/arm-linux-gnueabihf/6/collect2] ==> ignore + arg [-plugin] ==> ignore + arg [/usr/lib/gcc/arm-linux-gnueabihf/6/liblto_plugin.so] ==> ignore + arg [-plugin-opt=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper] ==> ignore + arg [-plugin-opt=-fresolution=/tmp/ccDfodn2.res] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [-plugin-opt=-pass-through=-lc] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [--sysroot=/] ==> ignore + arg [--build-id] ==> ignore + arg [--eh-frame-hdr] ==> ignore + arg [-export-dynamic] ==> ignore + arg [-dynamic-linker] ==> ignore + arg [/lib/ld-linux-armhf.so.3] ==> ignore + arg [-X] ==> ignore + arg [--hash-style=gnu] ==> ignore + arg [-m] ==> ignore + arg [armelf_linux_eabi] ==> ignore + arg [-o] ==> ignore + arg [cmTC_19f09] ==> ignore + arg [/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crt1.o] ==> ignore + arg [/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crti.o] ==> ignore + arg [/usr/lib/gcc/arm-linux-gnueabihf/6/crtbegin.o] ==> ignore + arg [-L/usr/lib/gcc/arm-linux-gnueabihf/6] ==> dir [/usr/lib/gcc/arm-linux-gnueabihf/6] + arg [-L/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf] ==> dir [/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf] + arg [-L/usr/lib/gcc/arm-linux-gnueabihf/6/../../..] ==> dir [/usr/lib/gcc/arm-linux-gnueabihf/6/../../..] + arg [-L/lib/arm-linux-gnueabihf] ==> dir [/lib/arm-linux-gnueabihf] + arg [-L/usr/lib/arm-linux-gnueabihf] ==> dir [/usr/lib/arm-linux-gnueabihf] + arg [CMakeFiles/cmTC_19f09.dir/CMakeCCompilerABI.c.o] ==> ignore + arg [-lgcc] ==> lib [gcc] + arg [--as-needed] ==> ignore + arg [-lgcc_s] ==> lib [gcc_s] + arg [--no-as-needed] ==> ignore + arg [-lc] ==> lib [c] + arg [-lgcc] ==> lib [gcc] + arg [--as-needed] ==> ignore + arg [-lgcc_s] ==> lib [gcc_s] + arg [--no-as-needed] ==> ignore + arg [/usr/lib/gcc/arm-linux-gnueabihf/6/crtend.o] ==> ignore + arg [/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crtn.o] ==> ignore + remove lib [gcc] + remove lib [gcc_s] + remove lib [gcc] + remove lib [gcc_s] + collapse library dir [/usr/lib/gcc/arm-linux-gnueabihf/6] ==> [/usr/lib/gcc/arm-linux-gnueabihf/6] + collapse library dir [/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf] ==> [/usr/lib/arm-linux-gnueabihf] + collapse library dir [/usr/lib/gcc/arm-linux-gnueabihf/6/../../..] ==> [/usr/lib] + collapse library dir [/lib/arm-linux-gnueabihf] ==> [/lib/arm-linux-gnueabihf] + collapse library dir [/usr/lib/arm-linux-gnueabihf] ==> [/usr/lib/arm-linux-gnueabihf] + implicit libs: [c] + implicit dirs: [/usr/lib/gcc/arm-linux-gnueabihf/6;/usr/lib/arm-linux-gnueabihf;/usr/lib;/lib/arm-linux-gnueabihf] + implicit fwks: [] + + + + +Detecting C [-std=c11] compiler features compiled with the following output: +Change Dir: /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make" "cmTC_9b594/fast" +/usr/bin/make -f CMakeFiles/cmTC_9b594.dir/build.make CMakeFiles/cmTC_9b594.dir/build +make[1]: Entering directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_9b594.dir/feature_tests.c.o +/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_9b594.dir/feature_tests.c.o -c /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/feature_tests.c +Linking C executable cmTC_9b594 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9b594.dir/link.txt --verbose=1 +/usr/bin/cc CMakeFiles/cmTC_9b594.dir/feature_tests.c.o -o cmTC_9b594 -rdynamic +make[1]: Leaving directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' + + + Feature record: C_FEATURE:1c_function_prototypes + Feature record: C_FEATURE:1c_restrict + Feature record: C_FEATURE:1c_static_assert + Feature record: C_FEATURE:1c_variadic_macros + + +Detecting C [-std=c99] compiler features compiled with the following output: +Change Dir: /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make" "cmTC_d9883/fast" +/usr/bin/make -f CMakeFiles/cmTC_d9883.dir/build.make CMakeFiles/cmTC_d9883.dir/build +make[1]: Entering directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_d9883.dir/feature_tests.c.o +/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_d9883.dir/feature_tests.c.o -c /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/feature_tests.c +Linking C executable cmTC_d9883 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d9883.dir/link.txt --verbose=1 +/usr/bin/cc CMakeFiles/cmTC_d9883.dir/feature_tests.c.o -o cmTC_d9883 -rdynamic +make[1]: Leaving directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' + + + Feature record: C_FEATURE:1c_function_prototypes + Feature record: C_FEATURE:1c_restrict + Feature record: C_FEATURE:0c_static_assert + Feature record: C_FEATURE:1c_variadic_macros + + +Detecting C [-std=c90] compiler features compiled with the following output: +Change Dir: /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make" "cmTC_57b4c/fast" +/usr/bin/make -f CMakeFiles/cmTC_57b4c.dir/build.make CMakeFiles/cmTC_57b4c.dir/build +make[1]: Entering directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_57b4c.dir/feature_tests.c.o +/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_57b4c.dir/feature_tests.c.o -c /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/feature_tests.c +Linking C executable cmTC_57b4c +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_57b4c.dir/link.txt --verbose=1 +/usr/bin/cc CMakeFiles/cmTC_57b4c.dir/feature_tests.c.o -o cmTC_57b4c -rdynamic +make[1]: Leaving directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' + + + Feature record: C_FEATURE:1c_function_prototypes + Feature record: C_FEATURE:0c_restrict + Feature record: C_FEATURE:0c_static_assert + Feature record: C_FEATURE:0c_variadic_macros +Determining if the CXX compiler works passed with the following output: +Change Dir: /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make" "cmTC_0245c/fast" +/usr/bin/make -f CMakeFiles/cmTC_0245c.dir/build.make CMakeFiles/cmTC_0245c.dir/build +make[1]: Entering directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' +Building CXX object CMakeFiles/cmTC_0245c.dir/testCXXCompiler.cxx.o +/usr/bin/c++ -o CMakeFiles/cmTC_0245c.dir/testCXXCompiler.cxx.o -c /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx +Linking CXX executable cmTC_0245c +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0245c.dir/link.txt --verbose=1 +/usr/bin/c++ CMakeFiles/cmTC_0245c.dir/testCXXCompiler.cxx.o -o cmTC_0245c -rdynamic +make[1]: Leaving directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' + + +Detecting CXX compiler ABI info compiled with the following output: +Change Dir: /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make" "cmTC_3f3cf/fast" +/usr/bin/make -f CMakeFiles/cmTC_3f3cf.dir/build.make CMakeFiles/cmTC_3f3cf.dir/build +make[1]: Entering directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' +Building CXX object CMakeFiles/cmTC_3f3cf.dir/CMakeCXXCompilerABI.cpp.o +/usr/bin/c++ -o CMakeFiles/cmTC_3f3cf.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.7/Modules/CMakeCXXCompilerABI.cpp +Linking CXX executable cmTC_3f3cf +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3f3cf.dir/link.txt --verbose=1 +/usr/bin/c++ -v CMakeFiles/cmTC_3f3cf.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_3f3cf -rdynamic +Using built-in specs. +COLLECT_GCC=/usr/bin/c++ +COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper +Target: arm-linux-gnueabihf +Configured with: ../src/configure -v --with-pkgversion='Raspbian 6.3.0-18+rpi1+deb9u1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-armhf/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-armhf --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-armhf --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf +Thread model: posix +gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1+deb9u1) +COMPILER_PATH=/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/ +LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/6/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_3f3cf' '-rdynamic' '-shared-libgcc' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' + /usr/lib/gcc/arm-linux-gnueabihf/6/collect2 -plugin /usr/lib/gcc/arm-linux-gnueabihf/6/liblto_plugin.so -plugin-opt=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper -plugin-opt=-fresolution=/tmp/cc8odeKS.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=gnu -m armelf_linux_eabi -o cmTC_3f3cf /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crt1.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabihf/6 -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf CMakeFiles/cmTC_3f3cf.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/arm-linux-gnueabihf/6/crtend.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crtn.o +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_3f3cf' '-rdynamic' '-shared-libgcc' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' +make[1]: Leaving directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' + + +Parsed CXX implicit link information from above output: + link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)] + ignore line: [Change Dir: /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp] + ignore line: [] + ignore line: [Run Build Command:"/usr/bin/make" "cmTC_3f3cf/fast"] + ignore line: [/usr/bin/make -f CMakeFiles/cmTC_3f3cf.dir/build.make CMakeFiles/cmTC_3f3cf.dir/build] + ignore line: [make[1]: Entering directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp'] + ignore line: [Building CXX object CMakeFiles/cmTC_3f3cf.dir/CMakeCXXCompilerABI.cpp.o] + ignore line: [/usr/bin/c++ -o CMakeFiles/cmTC_3f3cf.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.7/Modules/CMakeCXXCompilerABI.cpp] + ignore line: [Linking CXX executable cmTC_3f3cf] + ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3f3cf.dir/link.txt --verbose=1] + ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_3f3cf.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_3f3cf -rdynamic ] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/c++] + ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper] + ignore line: [Target: arm-linux-gnueabihf] + ignore line: [Configured with: ../src/configure -v --with-pkgversion='Raspbian 6.3.0-18+rpi1+deb9u1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-armhf/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-armhf --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-armhf --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf] + ignore line: [Thread model: posix] + ignore line: [gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1+deb9u1) ] + ignore line: [COMPILER_PATH=/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabihf/6/:/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/:/usr/lib/gcc/arm-linux-gnueabihf/6/../../../:/lib/arm-linux-gnueabihf/:/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_3f3cf' '-rdynamic' '-shared-libgcc' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu'] + link line: [ /usr/lib/gcc/arm-linux-gnueabihf/6/collect2 -plugin /usr/lib/gcc/arm-linux-gnueabihf/6/liblto_plugin.so -plugin-opt=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper -plugin-opt=-fresolution=/tmp/cc8odeKS.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -export-dynamic -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=gnu -m armelf_linux_eabi -o cmTC_3f3cf /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crt1.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabihf/6 -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/6/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf CMakeFiles/cmTC_3f3cf.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/arm-linux-gnueabihf/6/crtend.o /usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crtn.o] + arg [/usr/lib/gcc/arm-linux-gnueabihf/6/collect2] ==> ignore + arg [-plugin] ==> ignore + arg [/usr/lib/gcc/arm-linux-gnueabihf/6/liblto_plugin.so] ==> ignore + arg [-plugin-opt=/usr/lib/gcc/arm-linux-gnueabihf/6/lto-wrapper] ==> ignore + arg [-plugin-opt=-fresolution=/tmp/cc8odeKS.res] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [-plugin-opt=-pass-through=-lc] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [--sysroot=/] ==> ignore + arg [--build-id] ==> ignore + arg [--eh-frame-hdr] ==> ignore + arg [-export-dynamic] ==> ignore + arg [-dynamic-linker] ==> ignore + arg [/lib/ld-linux-armhf.so.3] ==> ignore + arg [-X] ==> ignore + arg [--hash-style=gnu] ==> ignore + arg [-m] ==> ignore + arg [armelf_linux_eabi] ==> ignore + arg [-o] ==> ignore + arg [cmTC_3f3cf] ==> ignore + arg [/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crt1.o] ==> ignore + arg [/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crti.o] ==> ignore + arg [/usr/lib/gcc/arm-linux-gnueabihf/6/crtbegin.o] ==> ignore + arg [-L/usr/lib/gcc/arm-linux-gnueabihf/6] ==> dir [/usr/lib/gcc/arm-linux-gnueabihf/6] + arg [-L/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf] ==> dir [/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf] + arg [-L/usr/lib/gcc/arm-linux-gnueabihf/6/../../..] ==> dir [/usr/lib/gcc/arm-linux-gnueabihf/6/../../..] + arg [-L/lib/arm-linux-gnueabihf] ==> dir [/lib/arm-linux-gnueabihf] + arg [-L/usr/lib/arm-linux-gnueabihf] ==> dir [/usr/lib/arm-linux-gnueabihf] + arg [CMakeFiles/cmTC_3f3cf.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore + arg [-lstdc++] ==> lib [stdc++] + arg [-lm] ==> lib [m] + arg [-lgcc_s] ==> lib [gcc_s] + arg [-lgcc] ==> lib [gcc] + arg [-lc] ==> lib [c] + arg [-lgcc_s] ==> lib [gcc_s] + arg [-lgcc] ==> lib [gcc] + arg [/usr/lib/gcc/arm-linux-gnueabihf/6/crtend.o] ==> ignore + arg [/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/crtn.o] ==> ignore + remove lib [gcc_s] + remove lib [gcc] + remove lib [gcc_s] + remove lib [gcc] + collapse library dir [/usr/lib/gcc/arm-linux-gnueabihf/6] ==> [/usr/lib/gcc/arm-linux-gnueabihf/6] + collapse library dir [/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf] ==> [/usr/lib/arm-linux-gnueabihf] + collapse library dir [/usr/lib/gcc/arm-linux-gnueabihf/6/../../..] ==> [/usr/lib] + collapse library dir [/lib/arm-linux-gnueabihf] ==> [/lib/arm-linux-gnueabihf] + collapse library dir [/usr/lib/arm-linux-gnueabihf] ==> [/usr/lib/arm-linux-gnueabihf] + implicit libs: [stdc++;m;c] + implicit dirs: [/usr/lib/gcc/arm-linux-gnueabihf/6;/usr/lib/arm-linux-gnueabihf;/usr/lib;/lib/arm-linux-gnueabihf] + implicit fwks: [] + + + + +Detecting CXX [-std=c++14] compiler features compiled with the following output: +Change Dir: /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make" "cmTC_1d327/fast" +/usr/bin/make -f CMakeFiles/cmTC_1d327.dir/build.make CMakeFiles/cmTC_1d327.dir/build +make[1]: Entering directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' +Building CXX object CMakeFiles/cmTC_1d327.dir/feature_tests.cxx.o +/usr/bin/c++ -std=c++14 -o CMakeFiles/cmTC_1d327.dir/feature_tests.cxx.o -c /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/feature_tests.cxx +Linking CXX executable cmTC_1d327 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1d327.dir/link.txt --verbose=1 +/usr/bin/c++ CMakeFiles/cmTC_1d327.dir/feature_tests.cxx.o -o cmTC_1d327 -rdynamic +make[1]: Leaving directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' + + + Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers + Feature record: CXX_FEATURE:1cxx_alias_templates + Feature record: CXX_FEATURE:1cxx_alignas + Feature record: CXX_FEATURE:1cxx_alignof + Feature record: CXX_FEATURE:1cxx_attributes + Feature record: CXX_FEATURE:1cxx_attribute_deprecated + Feature record: CXX_FEATURE:1cxx_auto_type + Feature record: CXX_FEATURE:1cxx_binary_literals + Feature record: CXX_FEATURE:1cxx_constexpr + Feature record: CXX_FEATURE:1cxx_contextual_conversions + Feature record: CXX_FEATURE:1cxx_decltype + Feature record: CXX_FEATURE:1cxx_decltype_auto + Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types + Feature record: CXX_FEATURE:1cxx_default_function_template_args + Feature record: CXX_FEATURE:1cxx_defaulted_functions + Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers + Feature record: CXX_FEATURE:1cxx_delegating_constructors + Feature record: CXX_FEATURE:1cxx_deleted_functions + Feature record: CXX_FEATURE:1cxx_digit_separators + Feature record: CXX_FEATURE:1cxx_enum_forward_declarations + Feature record: CXX_FEATURE:1cxx_explicit_conversions + Feature record: CXX_FEATURE:1cxx_extended_friend_declarations + Feature record: CXX_FEATURE:1cxx_extern_templates + Feature record: CXX_FEATURE:1cxx_final + Feature record: CXX_FEATURE:1cxx_func_identifier + Feature record: CXX_FEATURE:1cxx_generalized_initializers + Feature record: CXX_FEATURE:1cxx_generic_lambdas + Feature record: CXX_FEATURE:1cxx_inheriting_constructors + Feature record: CXX_FEATURE:1cxx_inline_namespaces + Feature record: CXX_FEATURE:1cxx_lambdas + Feature record: CXX_FEATURE:1cxx_lambda_init_captures + Feature record: CXX_FEATURE:1cxx_local_type_template_args + Feature record: CXX_FEATURE:1cxx_long_long_type + Feature record: CXX_FEATURE:1cxx_noexcept + Feature record: CXX_FEATURE:1cxx_nonstatic_member_init + Feature record: CXX_FEATURE:1cxx_nullptr + Feature record: CXX_FEATURE:1cxx_override + Feature record: CXX_FEATURE:1cxx_range_for + Feature record: CXX_FEATURE:1cxx_raw_string_literals + Feature record: CXX_FEATURE:1cxx_reference_qualified_functions + Feature record: CXX_FEATURE:1cxx_relaxed_constexpr + Feature record: CXX_FEATURE:1cxx_return_type_deduction + Feature record: CXX_FEATURE:1cxx_right_angle_brackets + Feature record: CXX_FEATURE:1cxx_rvalue_references + Feature record: CXX_FEATURE:1cxx_sizeof_member + Feature record: CXX_FEATURE:1cxx_static_assert + Feature record: CXX_FEATURE:1cxx_strong_enums + Feature record: CXX_FEATURE:1cxx_template_template_parameters + Feature record: CXX_FEATURE:1cxx_thread_local + Feature record: CXX_FEATURE:1cxx_trailing_return_types + Feature record: CXX_FEATURE:1cxx_unicode_literals + Feature record: CXX_FEATURE:1cxx_uniform_initialization + Feature record: CXX_FEATURE:1cxx_unrestricted_unions + Feature record: CXX_FEATURE:1cxx_user_literals + Feature record: CXX_FEATURE:1cxx_variable_templates + Feature record: CXX_FEATURE:1cxx_variadic_macros + Feature record: CXX_FEATURE:1cxx_variadic_templates + + +Detecting CXX [-std=c++11] compiler features compiled with the following output: +Change Dir: /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make" "cmTC_859ac/fast" +/usr/bin/make -f CMakeFiles/cmTC_859ac.dir/build.make CMakeFiles/cmTC_859ac.dir/build +make[1]: Entering directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' +Building CXX object CMakeFiles/cmTC_859ac.dir/feature_tests.cxx.o +/usr/bin/c++ -std=c++11 -o CMakeFiles/cmTC_859ac.dir/feature_tests.cxx.o -c /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/feature_tests.cxx +Linking CXX executable cmTC_859ac +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_859ac.dir/link.txt --verbose=1 +/usr/bin/c++ CMakeFiles/cmTC_859ac.dir/feature_tests.cxx.o -o cmTC_859ac -rdynamic +make[1]: Leaving directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' + + + Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers + Feature record: CXX_FEATURE:1cxx_alias_templates + Feature record: CXX_FEATURE:1cxx_alignas + Feature record: CXX_FEATURE:1cxx_alignof + Feature record: CXX_FEATURE:1cxx_attributes + Feature record: CXX_FEATURE:0cxx_attribute_deprecated + Feature record: CXX_FEATURE:1cxx_auto_type + Feature record: CXX_FEATURE:0cxx_binary_literals + Feature record: CXX_FEATURE:1cxx_constexpr + Feature record: CXX_FEATURE:0cxx_contextual_conversions + Feature record: CXX_FEATURE:1cxx_decltype + Feature record: CXX_FEATURE:0cxx_decltype_auto + Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types + Feature record: CXX_FEATURE:1cxx_default_function_template_args + Feature record: CXX_FEATURE:1cxx_defaulted_functions + Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers + Feature record: CXX_FEATURE:1cxx_delegating_constructors + Feature record: CXX_FEATURE:1cxx_deleted_functions + Feature record: CXX_FEATURE:0cxx_digit_separators + Feature record: CXX_FEATURE:1cxx_enum_forward_declarations + Feature record: CXX_FEATURE:1cxx_explicit_conversions + Feature record: CXX_FEATURE:1cxx_extended_friend_declarations + Feature record: CXX_FEATURE:1cxx_extern_templates + Feature record: CXX_FEATURE:1cxx_final + Feature record: CXX_FEATURE:1cxx_func_identifier + Feature record: CXX_FEATURE:1cxx_generalized_initializers + Feature record: CXX_FEATURE:0cxx_generic_lambdas + Feature record: CXX_FEATURE:1cxx_inheriting_constructors + Feature record: CXX_FEATURE:1cxx_inline_namespaces + Feature record: CXX_FEATURE:1cxx_lambdas + Feature record: CXX_FEATURE:0cxx_lambda_init_captures + Feature record: CXX_FEATURE:1cxx_local_type_template_args + Feature record: CXX_FEATURE:1cxx_long_long_type + Feature record: CXX_FEATURE:1cxx_noexcept + Feature record: CXX_FEATURE:1cxx_nonstatic_member_init + Feature record: CXX_FEATURE:1cxx_nullptr + Feature record: CXX_FEATURE:1cxx_override + Feature record: CXX_FEATURE:1cxx_range_for + Feature record: CXX_FEATURE:1cxx_raw_string_literals + Feature record: CXX_FEATURE:1cxx_reference_qualified_functions + Feature record: CXX_FEATURE:0cxx_relaxed_constexpr + Feature record: CXX_FEATURE:0cxx_return_type_deduction + Feature record: CXX_FEATURE:1cxx_right_angle_brackets + Feature record: CXX_FEATURE:1cxx_rvalue_references + Feature record: CXX_FEATURE:1cxx_sizeof_member + Feature record: CXX_FEATURE:1cxx_static_assert + Feature record: CXX_FEATURE:1cxx_strong_enums + Feature record: CXX_FEATURE:1cxx_template_template_parameters + Feature record: CXX_FEATURE:1cxx_thread_local + Feature record: CXX_FEATURE:1cxx_trailing_return_types + Feature record: CXX_FEATURE:1cxx_unicode_literals + Feature record: CXX_FEATURE:1cxx_uniform_initialization + Feature record: CXX_FEATURE:1cxx_unrestricted_unions + Feature record: CXX_FEATURE:1cxx_user_literals + Feature record: CXX_FEATURE:0cxx_variable_templates + Feature record: CXX_FEATURE:1cxx_variadic_macros + Feature record: CXX_FEATURE:1cxx_variadic_templates + + +Detecting CXX [-std=c++98] compiler features compiled with the following output: +Change Dir: /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make" "cmTC_cf016/fast" +/usr/bin/make -f CMakeFiles/cmTC_cf016.dir/build.make CMakeFiles/cmTC_cf016.dir/build +make[1]: Entering directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' +Building CXX object CMakeFiles/cmTC_cf016.dir/feature_tests.cxx.o +/usr/bin/c++ -std=c++98 -o CMakeFiles/cmTC_cf016.dir/feature_tests.cxx.o -c /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/feature_tests.cxx +Linking CXX executable cmTC_cf016 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cf016.dir/link.txt --verbose=1 +/usr/bin/c++ CMakeFiles/cmTC_cf016.dir/feature_tests.cxx.o -o cmTC_cf016 -rdynamic +make[1]: Leaving directory '/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/CMakeTmp' + + + Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers + Feature record: CXX_FEATURE:0cxx_alias_templates + Feature record: CXX_FEATURE:0cxx_alignas + Feature record: CXX_FEATURE:0cxx_alignof + Feature record: CXX_FEATURE:0cxx_attributes + Feature record: CXX_FEATURE:0cxx_attribute_deprecated + Feature record: CXX_FEATURE:0cxx_auto_type + Feature record: CXX_FEATURE:0cxx_binary_literals + Feature record: CXX_FEATURE:0cxx_constexpr + Feature record: CXX_FEATURE:0cxx_contextual_conversions + Feature record: CXX_FEATURE:0cxx_decltype + Feature record: CXX_FEATURE:0cxx_decltype_auto + Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types + Feature record: CXX_FEATURE:0cxx_default_function_template_args + Feature record: CXX_FEATURE:0cxx_defaulted_functions + Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers + Feature record: CXX_FEATURE:0cxx_delegating_constructors + Feature record: CXX_FEATURE:0cxx_deleted_functions + Feature record: CXX_FEATURE:0cxx_digit_separators + Feature record: CXX_FEATURE:0cxx_enum_forward_declarations + Feature record: CXX_FEATURE:0cxx_explicit_conversions + Feature record: CXX_FEATURE:0cxx_extended_friend_declarations + Feature record: CXX_FEATURE:0cxx_extern_templates + Feature record: CXX_FEATURE:0cxx_final + Feature record: CXX_FEATURE:0cxx_func_identifier + Feature record: CXX_FEATURE:0cxx_generalized_initializers + Feature record: CXX_FEATURE:0cxx_generic_lambdas + Feature record: CXX_FEATURE:0cxx_inheriting_constructors + Feature record: CXX_FEATURE:0cxx_inline_namespaces + Feature record: CXX_FEATURE:0cxx_lambdas + Feature record: CXX_FEATURE:0cxx_lambda_init_captures + Feature record: CXX_FEATURE:0cxx_local_type_template_args + Feature record: CXX_FEATURE:0cxx_long_long_type + Feature record: CXX_FEATURE:0cxx_noexcept + Feature record: CXX_FEATURE:0cxx_nonstatic_member_init + Feature record: CXX_FEATURE:0cxx_nullptr + Feature record: CXX_FEATURE:0cxx_override + Feature record: CXX_FEATURE:0cxx_range_for + Feature record: CXX_FEATURE:0cxx_raw_string_literals + Feature record: CXX_FEATURE:0cxx_reference_qualified_functions + Feature record: CXX_FEATURE:0cxx_relaxed_constexpr + Feature record: CXX_FEATURE:0cxx_return_type_deduction + Feature record: CXX_FEATURE:0cxx_right_angle_brackets + Feature record: CXX_FEATURE:0cxx_rvalue_references + Feature record: CXX_FEATURE:0cxx_sizeof_member + Feature record: CXX_FEATURE:0cxx_static_assert + Feature record: CXX_FEATURE:0cxx_strong_enums + Feature record: CXX_FEATURE:1cxx_template_template_parameters + Feature record: CXX_FEATURE:0cxx_thread_local + Feature record: CXX_FEATURE:0cxx_trailing_return_types + Feature record: CXX_FEATURE:0cxx_unicode_literals + Feature record: CXX_FEATURE:0cxx_uniform_initialization + Feature record: CXX_FEATURE:0cxx_unrestricted_unions + Feature record: CXX_FEATURE:0cxx_user_literals + Feature record: CXX_FEATURE:0cxx_variable_templates + Feature record: CXX_FEATURE:0cxx_variadic_macros + Feature record: CXX_FEATURE:0cxx_variadic_templates diff --git a/rpi-fbcp/build/CMakeFiles/Makefile.cmake b/rpi-fbcp/build/CMakeFiles/Makefile.cmake new file mode 100644 index 0000000..c764848 --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/Makefile.cmake @@ -0,0 +1,45 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.7 + +# The generator used is: +set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles") + +# The top level Makefile was generated from the following files: +set(CMAKE_MAKEFILE_DEPENDS + "CMakeCache.txt" + "../CMakeLists.txt" + "CMakeFiles/3.7.2/CMakeCCompiler.cmake" + "CMakeFiles/3.7.2/CMakeCXXCompiler.cmake" + "CMakeFiles/3.7.2/CMakeSystem.cmake" + "/usr/share/cmake-3.7/Modules/CMakeCInformation.cmake" + "/usr/share/cmake-3.7/Modules/CMakeCXXInformation.cmake" + "/usr/share/cmake-3.7/Modules/CMakeCommonLanguageInclude.cmake" + "/usr/share/cmake-3.7/Modules/CMakeGenericSystem.cmake" + "/usr/share/cmake-3.7/Modules/CMakeLanguageInformation.cmake" + "/usr/share/cmake-3.7/Modules/CMakeSystemSpecificInformation.cmake" + "/usr/share/cmake-3.7/Modules/CMakeSystemSpecificInitialize.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/GNU-C.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/GNU-CXX.cmake" + "/usr/share/cmake-3.7/Modules/Compiler/GNU.cmake" + "/usr/share/cmake-3.7/Modules/Platform/Linux-GNU-C.cmake" + "/usr/share/cmake-3.7/Modules/Platform/Linux-GNU-CXX.cmake" + "/usr/share/cmake-3.7/Modules/Platform/Linux-GNU.cmake" + "/usr/share/cmake-3.7/Modules/Platform/Linux.cmake" + "/usr/share/cmake-3.7/Modules/Platform/UnixPaths.cmake" + ) + +# The corresponding makefile is: +set(CMAKE_MAKEFILE_OUTPUTS + "Makefile" + "CMakeFiles/cmake.check_cache" + ) + +# Byproducts of CMake generate step: +set(CMAKE_MAKEFILE_PRODUCTS + "CMakeFiles/CMakeDirectoryInformation.cmake" + ) + +# Dependency information for all targets: +set(CMAKE_DEPEND_INFO_FILES + "CMakeFiles/fbcp.dir/DependInfo.cmake" + ) diff --git a/rpi-fbcp/build/CMakeFiles/Makefile2 b/rpi-fbcp/build/CMakeFiles/Makefile2 new file mode 100644 index 0000000..1a53a49 --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/Makefile2 @@ -0,0 +1,108 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.7 + +# Default target executed when no arguments are given to make. +default_target: all + +.PHONY : default_target + +# The main recursive all target +all: + +.PHONY : all + +# The main recursive preinstall target +preinstall: + +.PHONY : preinstall + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + + +# A target that is always out of date. +cmake_force: + +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/pi/LCD-show/rpi-fbcp + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/pi/LCD-show/rpi-fbcp/build + +#============================================================================= +# Target rules for target CMakeFiles/fbcp.dir + +# All Build rule for target. +CMakeFiles/fbcp.dir/all: + $(MAKE) -f CMakeFiles/fbcp.dir/build.make CMakeFiles/fbcp.dir/depend + $(MAKE) -f CMakeFiles/fbcp.dir/build.make CMakeFiles/fbcp.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles --progress-num=1,2 "Built target fbcp" +.PHONY : CMakeFiles/fbcp.dir/all + +# Include target in all. +all: CMakeFiles/fbcp.dir/all + +.PHONY : all + +# Build rule for subdir invocation for target. +CMakeFiles/fbcp.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles 2 + $(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/fbcp.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles 0 +.PHONY : CMakeFiles/fbcp.dir/rule + +# Convenience name for target. +fbcp: CMakeFiles/fbcp.dir/rule + +.PHONY : fbcp + +# clean rule for target. +CMakeFiles/fbcp.dir/clean: + $(MAKE) -f CMakeFiles/fbcp.dir/build.make CMakeFiles/fbcp.dir/clean +.PHONY : CMakeFiles/fbcp.dir/clean + +# clean rule for target. +clean: CMakeFiles/fbcp.dir/clean + +.PHONY : clean + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/rpi-fbcp/build/CMakeFiles/TargetDirectories.txt b/rpi-fbcp/build/CMakeFiles/TargetDirectories.txt new file mode 100644 index 0000000..f4ad2c4 --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/TargetDirectories.txt @@ -0,0 +1,3 @@ +/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/rebuild_cache.dir +/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/edit_cache.dir +/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/fbcp.dir diff --git a/rpi-fbcp/build/CMakeFiles/cmake.check_cache b/rpi-fbcp/build/CMakeFiles/cmake.check_cache new file mode 100644 index 0000000..3dccd73 --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/cmake.check_cache @@ -0,0 +1 @@ +# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/rpi-fbcp/build/CMakeFiles/fbcp.dir/C.includecache b/rpi-fbcp/build/CMakeFiles/fbcp.dir/C.includecache new file mode 100644 index 0000000..6bcf3b3 --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/fbcp.dir/C.includecache @@ -0,0 +1,512 @@ +#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">]) + +#IncludeRegexScan: ^.*$ + +#IncludeRegexComplain: ^$ + +#IncludeRegexTransform: + +/home/pi/LCD-show/rpi-fbcp/main.c +stdio.h +- +syslog.h +- +fcntl.h +- +linux/fb.h +- +sys/mman.h +- +bcm_host.h +- + +/opt/vc/include/bcm_host.h +stdint.h +- +interface/vmcs_host/vc_dispmanx.h +/opt/vc/include/interface/vmcs_host/vc_dispmanx.h +interface/vmcs_host/vc_tvservice.h +/opt/vc/include/interface/vmcs_host/vc_tvservice.h +interface/vmcs_host/vc_cec.h +/opt/vc/include/interface/vmcs_host/vc_cec.h +interface/vmcs_host/vc_cecservice.h +/opt/vc/include/interface/vmcs_host/vc_cecservice.h +interface/vmcs_host/vcgencmd.h +/opt/vc/include/interface/vmcs_host/vcgencmd.h + +/opt/vc/include/interface/vchi/connections/connection.h +interface/vchi/vchi_cfg_internal.h +/opt/vc/include/interface/vchi/connections/interface/vchi/vchi_cfg_internal.h +interface/vchi/vchi_common.h +/opt/vc/include/interface/vchi/connections/interface/vchi/vchi_common.h +interface/vchi/message_drivers/message.h +/opt/vc/include/interface/vchi/connections/interface/vchi/message_drivers/message.h + +/opt/vc/include/interface/vchi/message_drivers/message.h +interface/vchi/vchi_cfg_internal.h +/opt/vc/include/interface/vchi/message_drivers/interface/vchi/vchi_cfg_internal.h +interface/vcos/vcos.h +/opt/vc/include/interface/vchi/message_drivers/interface/vcos/vcos.h +interface/vchi/vchi_common.h +/opt/vc/include/interface/vchi/message_drivers/interface/vchi/vchi_common.h + +/opt/vc/include/interface/vchi/vchi.h +interface/vcos/vcos.h +/opt/vc/include/interface/vchi/interface/vcos/vcos.h +interface/vchi/vchi_cfg.h +/opt/vc/include/interface/vchi/interface/vchi/vchi_cfg.h +interface/vchi/vchi_common.h +/opt/vc/include/interface/vchi/interface/vchi/vchi_common.h +interface/vchi/connections/connection.h +/opt/vc/include/interface/vchi/interface/vchi/connections/connection.h +vchi_mh.h +/opt/vc/include/interface/vchi/vchi_mh.h + +/opt/vc/include/interface/vchi/vchi_cfg.h + +/opt/vc/include/interface/vchi/vchi_cfg_internal.h + +/opt/vc/include/interface/vchi/vchi_common.h + +/opt/vc/include/interface/vchi/vchi_mh.h +interface/vcos/vcos.h +- + +/opt/vc/include/interface/vcos/generic/vcos_common.h + +/opt/vc/include/interface/vcos/generic/vcos_generic_blockpool.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/generic/interface/vcos/vcos_types.h + +/opt/vc/include/interface/vcos/generic/vcos_generic_event_flags.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/generic/interface/vcos/vcos_types.h + +/opt/vc/include/interface/vcos/generic/vcos_generic_named_sem.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/generic/interface/vcos/vcos_types.h + +/opt/vc/include/interface/vcos/generic/vcos_generic_quickslow_mutex.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/generic/interface/vcos/vcos_types.h + +/opt/vc/include/interface/vcos/generic/vcos_generic_reentrant_mtx.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/generic/interface/vcos/vcos_types.h + +/opt/vc/include/interface/vcos/generic/vcos_mem_from_malloc.h + +/opt/vc/include/interface/vcos/pthreads/vcos_futex_mutex.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/pthreads/interface/vcos/vcos_types.h +vcos_platform.h +/opt/vc/include/interface/vcos/pthreads/vcos_platform.h + +/opt/vc/include/interface/vcos/pthreads/vcos_platform.h +pthread.h +- +semaphore.h +- +unistd.h +- +sys/types.h +- +sched.h +- +errno.h +- +unistd.h +- +string.h +- +strings.h +- +time.h +- +signal.h +- +stddef.h +- +stdlib.h +- +dlfcn.h +- +vcos_futex_mutex.h +/opt/vc/include/interface/vcos/pthreads/vcos_futex_mutex.h +interface/vcos/generic/vcos_generic_event_flags.h +/opt/vc/include/interface/vcos/pthreads/interface/vcos/generic/vcos_generic_event_flags.h +interface/vcos/generic/vcos_generic_blockpool.h +/opt/vc/include/interface/vcos/pthreads/interface/vcos/generic/vcos_generic_blockpool.h +interface/vcos/generic/vcos_mem_from_malloc.h +/opt/vc/include/interface/vcos/pthreads/interface/vcos/generic/vcos_mem_from_malloc.h +interface/vcos/generic/vcos_generic_reentrant_mtx.h +/opt/vc/include/interface/vcos/pthreads/interface/vcos/generic/vcos_generic_reentrant_mtx.h +interface/vcos/generic/vcos_generic_named_sem.h +/opt/vc/include/interface/vcos/pthreads/interface/vcos/generic/vcos_generic_named_sem.h +interface/vcos/generic/vcos_generic_quickslow_mutex.h +/opt/vc/include/interface/vcos/pthreads/interface/vcos/generic/vcos_generic_quickslow_mutex.h +interface/vcos/generic/vcos_common.h +/opt/vc/include/interface/vcos/pthreads/interface/vcos/generic/vcos_common.h + +/opt/vc/include/interface/vcos/pthreads/vcos_platform_types.h +interface/vcos/vcos_inttypes.h +/opt/vc/include/interface/vcos/pthreads/interface/vcos/vcos_inttypes.h + +/opt/vc/include/interface/vcos/user_nodefs.h + +/opt/vc/include/interface/vcos/vcos.h +interface/vcos/vcos_assert.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_assert.h +vcos_types.h +/opt/vc/include/interface/vcos/vcos_types.h +interface/vcos/pthreads/vcos_platform.h +/opt/vc/include/interface/vcos/interface/vcos/pthreads/vcos_platform.h +vcos_platform.h +/opt/vc/include/interface/vcos/vcos_platform.h +interface/vcos/vcos_init.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_init.h +interface/vcos/vcos_semaphore.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_semaphore.h +interface/vcos/vcos_thread.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_thread.h +interface/vcos/vcos_mutex.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_mutex.h +interface/vcos/vcos_mem.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_mem.h +interface/vcos/vcos_logging.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_logging.h +interface/vcos/vcos_string.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_string.h +interface/vcos/vcos_event.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_event.h +interface/vcos/vcos_thread_attr.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_thread_attr.h +interface/vcos/vcos_tls.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_tls.h +interface/vcos/vcos_reentrant_mutex.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_reentrant_mutex.h +interface/vcos/vcos_named_semaphore.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_named_semaphore.h +interface/vcos/vcos_quickslow_mutex.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_quickslow_mutex.h +interface/vcos/vcos_event_flags.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_event_flags.h +interface/vcos/vcos_queue.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_queue.h +interface/vcos/vcos_legacy_isr.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_legacy_isr.h +interface/vcos/vcos_timer.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_timer.h +interface/vcos/vcos_mempool.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_mempool.h +interface/vcos/vcos_isr.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_isr.h +interface/vcos/vcos_atomic_flags.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_atomic_flags.h +interface/vcos/vcos_once.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_once.h +interface/vcos/vcos_blockpool.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_blockpool.h +interface/vcos/vcos_file.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_file.h +interface/vcos/vcos_cfg.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_cfg.h +interface/vcos/vcos_cmd.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_cmd.h + +/opt/vc/include/interface/vcos/vcos_assert.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +interface/vcos/user_nodefs.h +/opt/vc/include/interface/vcos/interface/vcos/user_nodefs.h +assert.h +/opt/vc/include/interface/vcos/assert.h + +/opt/vc/include/interface/vcos/vcos_atomic_flags.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_attr.h + +/opt/vc/include/interface/vcos/vcos_blockpool.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_cfg.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_cmd.h +interface/vcos/vcos.h +/opt/vc/include/interface/vcos/interface/vcos/vcos.h +interface/vcos/vcos_stdint.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_stdint.h + +/opt/vc/include/interface/vcos/vcos_event.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_event_flags.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_init.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_inttypes.h +inttypes.h +- + +/opt/vc/include/interface/vcos/vcos_isr.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_legacy_isr.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_logging.h +stdarg.h +- +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h +vcos_logging_control.h +/opt/vc/include/interface/vcos/vcos_logging_control.h +interface/vcos/vcos_cmd.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_cmd.h + +/opt/vc/include/interface/vcos/vcos_logging_control.h + +/opt/vc/include/interface/vcos/vcos_mem.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_mempool.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_mutex.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_named_semaphore.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_once.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_queue.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_quickslow_mutex.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_reentrant_mutex.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_semaphore.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_stdint.h +limits.h +- +stdint.h +- + +/opt/vc/include/interface/vcos/vcos_string.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h +linux/string.h +- +string.h +- + +/opt/vc/include/interface/vcos/vcos_thread.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_thread_attr.h + +/opt/vc/include/interface/vcos/vcos_timer.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_tls.h +interface/vcos/vcos_types.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_types.h +vcos.h +/opt/vc/include/interface/vcos/vcos.h + +/opt/vc/include/interface/vcos/vcos_types.h +stddef.h +- +interface/vcos/pthreads/vcos_platform_types.h +/opt/vc/include/interface/vcos/interface/vcos/pthreads/vcos_platform_types.h +vcos_platform_types.h +/opt/vc/include/interface/vcos/vcos_platform_types.h +interface/vcos/vcos_attr.h +/opt/vc/include/interface/vcos/interface/vcos/vcos_attr.h + +/opt/vc/include/interface/vctypes/vc_display_types.h + +/opt/vc/include/interface/vctypes/vc_image_types.h +interface/vcos/vcos_stdint.h +/opt/vc/include/interface/vctypes/interface/vcos/vcos_stdint.h + +/opt/vc/include/interface/vmcs_host/linux/vchost_config.h +interface/vcos/vcos.h +/opt/vc/include/interface/vmcs_host/linux/interface/vcos/vcos.h + +/opt/vc/include/interface/vmcs_host/vc_cec.h + +/opt/vc/include/interface/vmcs_host/vc_cecservice.h +vcinclude/common.h +/opt/vc/include/interface/vmcs_host/vcinclude/common.h +interface/vcos/vcos.h +/opt/vc/include/interface/vmcs_host/interface/vcos/vcos.h +interface/vchi/vchi.h +/opt/vc/include/interface/vmcs_host/interface/vchi/vchi.h +interface/vmcs_host/vc_cecservice_defs.h +/opt/vc/include/interface/vmcs_host/interface/vmcs_host/vc_cecservice_defs.h +interface/vmcs_host/vc_cec.h +/opt/vc/include/interface/vmcs_host/interface/vmcs_host/vc_cec.h + +/opt/vc/include/interface/vmcs_host/vc_cecservice_defs.h +vcinclude/common.h +/opt/vc/include/interface/vmcs_host/vcinclude/common.h +interface/vcos/vcos.h +/opt/vc/include/interface/vmcs_host/interface/vcos/vcos.h +interface/vcos/vcos_logging.h +/opt/vc/include/interface/vmcs_host/interface/vcos/vcos_logging.h +interface/vchi/message_drivers/message.h +/opt/vc/include/interface/vmcs_host/interface/vchi/message_drivers/message.h + +/opt/vc/include/interface/vmcs_host/vc_dispmanx.h +interface/vcos/vcos.h +/opt/vc/include/interface/vmcs_host/interface/vcos/vcos.h +interface/vctypes/vc_image_types.h +/opt/vc/include/interface/vmcs_host/interface/vctypes/vc_image_types.h +vc_dispservice_x_defs.h +/opt/vc/include/interface/vmcs_host/vc_dispservice_x_defs.h +interface/vmcs_host/vc_dispmanx_types.h +/opt/vc/include/interface/vmcs_host/interface/vmcs_host/vc_dispmanx_types.h +interface/vchi/vchi.h +/opt/vc/include/interface/vmcs_host/interface/vchi/vchi.h + +/opt/vc/include/interface/vmcs_host/vc_dispmanx_types.h +interface/vctypes/vc_image_types.h +/opt/vc/include/interface/vmcs_host/interface/vctypes/vc_image_types.h +interface/vctypes/vc_display_types.h +/opt/vc/include/interface/vmcs_host/interface/vctypes/vc_display_types.h + +/opt/vc/include/interface/vmcs_host/vc_dispservice_x_defs.h +interface/vctypes/vc_image_types.h +/opt/vc/include/interface/vmcs_host/interface/vctypes/vc_image_types.h + +/opt/vc/include/interface/vmcs_host/vc_hdmi.h +vc_hdmi_property.h +/opt/vc/include/interface/vmcs_host/vc_hdmi_property.h + +/opt/vc/include/interface/vmcs_host/vc_hdmi_property.h +vcinclude/common.h +/opt/vc/include/interface/vmcs_host/vcinclude/common.h + +/opt/vc/include/interface/vmcs_host/vc_sdtv.h + +/opt/vc/include/interface/vmcs_host/vc_tvservice.h +vcinclude/common.h +/opt/vc/include/interface/vmcs_host/vcinclude/common.h +interface/vcos/vcos.h +/opt/vc/include/interface/vmcs_host/interface/vcos/vcos.h +interface/vchi/vchi.h +/opt/vc/include/interface/vmcs_host/interface/vchi/vchi.h +interface/vmcs_host/vc_tvservice_defs.h +/opt/vc/include/interface/vmcs_host/interface/vmcs_host/vc_tvservice_defs.h +interface/vmcs_host/vc_hdmi.h +/opt/vc/include/interface/vmcs_host/interface/vmcs_host/vc_hdmi.h +interface/vmcs_host/vc_sdtv.h +/opt/vc/include/interface/vmcs_host/interface/vmcs_host/vc_sdtv.h + +/opt/vc/include/interface/vmcs_host/vc_tvservice_defs.h +vcinclude/common.h +/opt/vc/include/interface/vmcs_host/vcinclude/common.h +interface/vchi/message_drivers/message.h +/opt/vc/include/interface/vmcs_host/interface/vchi/message_drivers/message.h +vc_hdmi.h +/opt/vc/include/interface/vmcs_host/vc_hdmi.h +vc_sdtv.h +/opt/vc/include/interface/vmcs_host/vc_sdtv.h + +/opt/vc/include/interface/vmcs_host/vcgencmd.h +vchost_platform_config.h +/opt/vc/include/interface/vmcs_host/vchost_platform_config.h +interface/vchi/vchi.h +/opt/vc/include/interface/vmcs_host/interface/vchi/vchi.h + +/opt/vc/include/interface/vmcs_host/vchost_platform_config.h +linux/vchost_config.h +/opt/vc/include/interface/vmcs_host/linux/vchost_config.h +vchost_config.h +/opt/vc/include/interface/vmcs_host/vchost_config.h + +/opt/vc/include/vcinclude/common.h +interface/vcos/vcos_stdint.h +/opt/vc/include/vcinclude/interface/vcos/vcos_stdint.h +interface/vctypes/vc_image_types.h +/opt/vc/include/vcinclude/interface/vctypes/vc_image_types.h +vc/intrinsics.h +- +limits.h +- +limits.h +- + diff --git a/rpi-fbcp/build/CMakeFiles/fbcp.dir/DependInfo.cmake b/rpi-fbcp/build/CMakeFiles/fbcp.dir/DependInfo.cmake new file mode 100644 index 0000000..368085e --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/fbcp.dir/DependInfo.cmake @@ -0,0 +1,24 @@ +# The set of languages for which implicit dependencies are needed: +set(CMAKE_DEPENDS_LANGUAGES + "C" + ) +# The set of files for implicit dependencies of each language: +set(CMAKE_DEPENDS_CHECK_C + "/home/pi/LCD-show/rpi-fbcp/main.c" "/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/fbcp.dir/main.c.o" + ) +set(CMAKE_C_COMPILER_ID "GNU") + +# The include file search paths: +set(CMAKE_C_TARGET_INCLUDE_PATH + "/opt/vc/include" + "/opt/vc/include/interface/vcos/pthreads" + "/opt/vc/include/interface/vmcs_host" + "/opt/vc/include/interface/vmcs_host/linux" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/rpi-fbcp/build/CMakeFiles/fbcp.dir/build.make b/rpi-fbcp/build/CMakeFiles/fbcp.dir/build.make new file mode 100644 index 0000000..d7c4325 --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/fbcp.dir/build.make @@ -0,0 +1,113 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.7 + +# Delete rule output on recipe failure. +.DELETE_ON_ERROR: + + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + + +# A target that is always out of date. +cmake_force: + +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/pi/LCD-show/rpi-fbcp + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/pi/LCD-show/rpi-fbcp/build + +# Include any dependencies generated for this target. +include CMakeFiles/fbcp.dir/depend.make + +# Include the progress variables for this target. +include CMakeFiles/fbcp.dir/progress.make + +# Include the compile flags for this target's objects. +include CMakeFiles/fbcp.dir/flags.make + +CMakeFiles/fbcp.dir/main.c.o: CMakeFiles/fbcp.dir/flags.make +CMakeFiles/fbcp.dir/main.c.o: ../main.c + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object CMakeFiles/fbcp.dir/main.c.o" + /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/fbcp.dir/main.c.o -c /home/pi/LCD-show/rpi-fbcp/main.c + +CMakeFiles/fbcp.dir/main.c.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/fbcp.dir/main.c.i" + /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/pi/LCD-show/rpi-fbcp/main.c > CMakeFiles/fbcp.dir/main.c.i + +CMakeFiles/fbcp.dir/main.c.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/fbcp.dir/main.c.s" + /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/pi/LCD-show/rpi-fbcp/main.c -o CMakeFiles/fbcp.dir/main.c.s + +CMakeFiles/fbcp.dir/main.c.o.requires: + +.PHONY : CMakeFiles/fbcp.dir/main.c.o.requires + +CMakeFiles/fbcp.dir/main.c.o.provides: CMakeFiles/fbcp.dir/main.c.o.requires + $(MAKE) -f CMakeFiles/fbcp.dir/build.make CMakeFiles/fbcp.dir/main.c.o.provides.build +.PHONY : CMakeFiles/fbcp.dir/main.c.o.provides + +CMakeFiles/fbcp.dir/main.c.o.provides.build: CMakeFiles/fbcp.dir/main.c.o + + +# Object files for target fbcp +fbcp_OBJECTS = \ +"CMakeFiles/fbcp.dir/main.c.o" + +# External object files for target fbcp +fbcp_EXTERNAL_OBJECTS = + +fbcp: CMakeFiles/fbcp.dir/main.c.o +fbcp: CMakeFiles/fbcp.dir/build.make +fbcp: CMakeFiles/fbcp.dir/link.txt + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/pi/LCD-show/rpi-fbcp/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking C executable fbcp" + $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/fbcp.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +CMakeFiles/fbcp.dir/build: fbcp + +.PHONY : CMakeFiles/fbcp.dir/build + +CMakeFiles/fbcp.dir/requires: CMakeFiles/fbcp.dir/main.c.o.requires + +.PHONY : CMakeFiles/fbcp.dir/requires + +CMakeFiles/fbcp.dir/clean: + $(CMAKE_COMMAND) -P CMakeFiles/fbcp.dir/cmake_clean.cmake +.PHONY : CMakeFiles/fbcp.dir/clean + +CMakeFiles/fbcp.dir/depend: + cd /home/pi/LCD-show/rpi-fbcp/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/pi/LCD-show/rpi-fbcp /home/pi/LCD-show/rpi-fbcp /home/pi/LCD-show/rpi-fbcp/build /home/pi/LCD-show/rpi-fbcp/build /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/fbcp.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : CMakeFiles/fbcp.dir/depend + diff --git a/rpi-fbcp/build/CMakeFiles/fbcp.dir/cmake_clean.cmake b/rpi-fbcp/build/CMakeFiles/fbcp.dir/cmake_clean.cmake new file mode 100644 index 0000000..35434a7 --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/fbcp.dir/cmake_clean.cmake @@ -0,0 +1,10 @@ +file(REMOVE_RECURSE + "CMakeFiles/fbcp.dir/main.c.o" + "fbcp.pdb" + "fbcp" +) + +# Per-language clean rules from dependency scanning. +foreach(lang C) + include(CMakeFiles/fbcp.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/rpi-fbcp/build/CMakeFiles/fbcp.dir/depend.internal b/rpi-fbcp/build/CMakeFiles/fbcp.dir/depend.internal new file mode 100644 index 0000000..68ac7aa --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/fbcp.dir/depend.internal @@ -0,0 +1,72 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.7 + +CMakeFiles/fbcp.dir/main.c.o + /home/pi/LCD-show/rpi-fbcp/main.c + /opt/vc/include/bcm_host.h + /opt/vc/include/interface/vchi/connections/connection.h + /opt/vc/include/interface/vchi/message_drivers/message.h + /opt/vc/include/interface/vchi/vchi.h + /opt/vc/include/interface/vchi/vchi_cfg.h + /opt/vc/include/interface/vchi/vchi_cfg_internal.h + /opt/vc/include/interface/vchi/vchi_common.h + /opt/vc/include/interface/vchi/vchi_mh.h + /opt/vc/include/interface/vcos/generic/vcos_common.h + /opt/vc/include/interface/vcos/generic/vcos_generic_blockpool.h + /opt/vc/include/interface/vcos/generic/vcos_generic_event_flags.h + /opt/vc/include/interface/vcos/generic/vcos_generic_named_sem.h + /opt/vc/include/interface/vcos/generic/vcos_generic_quickslow_mutex.h + /opt/vc/include/interface/vcos/generic/vcos_generic_reentrant_mtx.h + /opt/vc/include/interface/vcos/generic/vcos_mem_from_malloc.h + /opt/vc/include/interface/vcos/pthreads/vcos_futex_mutex.h + /opt/vc/include/interface/vcos/pthreads/vcos_platform.h + /opt/vc/include/interface/vcos/pthreads/vcos_platform_types.h + /opt/vc/include/interface/vcos/user_nodefs.h + /opt/vc/include/interface/vcos/vcos.h + /opt/vc/include/interface/vcos/vcos_assert.h + /opt/vc/include/interface/vcos/vcos_atomic_flags.h + /opt/vc/include/interface/vcos/vcos_attr.h + /opt/vc/include/interface/vcos/vcos_blockpool.h + /opt/vc/include/interface/vcos/vcos_cfg.h + /opt/vc/include/interface/vcos/vcos_cmd.h + /opt/vc/include/interface/vcos/vcos_event.h + /opt/vc/include/interface/vcos/vcos_event_flags.h + /opt/vc/include/interface/vcos/vcos_init.h + /opt/vc/include/interface/vcos/vcos_inttypes.h + /opt/vc/include/interface/vcos/vcos_isr.h + /opt/vc/include/interface/vcos/vcos_legacy_isr.h + /opt/vc/include/interface/vcos/vcos_logging.h + /opt/vc/include/interface/vcos/vcos_logging_control.h + /opt/vc/include/interface/vcos/vcos_mem.h + /opt/vc/include/interface/vcos/vcos_mempool.h + /opt/vc/include/interface/vcos/vcos_mutex.h + /opt/vc/include/interface/vcos/vcos_named_semaphore.h + /opt/vc/include/interface/vcos/vcos_once.h + /opt/vc/include/interface/vcos/vcos_queue.h + /opt/vc/include/interface/vcos/vcos_quickslow_mutex.h + /opt/vc/include/interface/vcos/vcos_reentrant_mutex.h + /opt/vc/include/interface/vcos/vcos_semaphore.h + /opt/vc/include/interface/vcos/vcos_stdint.h + /opt/vc/include/interface/vcos/vcos_string.h + /opt/vc/include/interface/vcos/vcos_thread.h + /opt/vc/include/interface/vcos/vcos_thread_attr.h + /opt/vc/include/interface/vcos/vcos_timer.h + /opt/vc/include/interface/vcos/vcos_tls.h + /opt/vc/include/interface/vcos/vcos_types.h + /opt/vc/include/interface/vctypes/vc_display_types.h + /opt/vc/include/interface/vctypes/vc_image_types.h + /opt/vc/include/interface/vmcs_host/linux/vchost_config.h + /opt/vc/include/interface/vmcs_host/vc_cec.h + /opt/vc/include/interface/vmcs_host/vc_cecservice.h + /opt/vc/include/interface/vmcs_host/vc_cecservice_defs.h + /opt/vc/include/interface/vmcs_host/vc_dispmanx.h + /opt/vc/include/interface/vmcs_host/vc_dispmanx_types.h + /opt/vc/include/interface/vmcs_host/vc_dispservice_x_defs.h + /opt/vc/include/interface/vmcs_host/vc_hdmi.h + /opt/vc/include/interface/vmcs_host/vc_hdmi_property.h + /opt/vc/include/interface/vmcs_host/vc_sdtv.h + /opt/vc/include/interface/vmcs_host/vc_tvservice.h + /opt/vc/include/interface/vmcs_host/vc_tvservice_defs.h + /opt/vc/include/interface/vmcs_host/vcgencmd.h + /opt/vc/include/interface/vmcs_host/vchost_platform_config.h + /opt/vc/include/vcinclude/common.h diff --git a/rpi-fbcp/build/CMakeFiles/fbcp.dir/depend.make b/rpi-fbcp/build/CMakeFiles/fbcp.dir/depend.make new file mode 100644 index 0000000..fa4bc1e --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/fbcp.dir/depend.make @@ -0,0 +1,72 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.7 + +CMakeFiles/fbcp.dir/main.c.o: ../main.c +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/bcm_host.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vchi/connections/connection.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vchi/message_drivers/message.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vchi/vchi.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vchi/vchi_cfg.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vchi/vchi_cfg_internal.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vchi/vchi_common.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vchi/vchi_mh.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/generic/vcos_common.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/generic/vcos_generic_blockpool.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/generic/vcos_generic_event_flags.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/generic/vcos_generic_named_sem.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/generic/vcos_generic_quickslow_mutex.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/generic/vcos_generic_reentrant_mtx.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/generic/vcos_mem_from_malloc.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/pthreads/vcos_futex_mutex.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/pthreads/vcos_platform.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/pthreads/vcos_platform_types.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/user_nodefs.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_assert.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_atomic_flags.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_attr.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_blockpool.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_cfg.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_cmd.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_event.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_event_flags.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_init.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_inttypes.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_isr.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_legacy_isr.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_logging.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_logging_control.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_mem.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_mempool.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_mutex.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_named_semaphore.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_once.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_queue.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_quickslow_mutex.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_reentrant_mutex.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_semaphore.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_stdint.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_string.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_thread.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_thread_attr.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_timer.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_tls.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vcos/vcos_types.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vctypes/vc_display_types.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vctypes/vc_image_types.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vmcs_host/linux/vchost_config.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vmcs_host/vc_cec.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vmcs_host/vc_cecservice.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vmcs_host/vc_cecservice_defs.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vmcs_host/vc_dispmanx.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vmcs_host/vc_dispmanx_types.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vmcs_host/vc_dispservice_x_defs.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vmcs_host/vc_hdmi.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vmcs_host/vc_hdmi_property.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vmcs_host/vc_sdtv.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vmcs_host/vc_tvservice.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vmcs_host/vc_tvservice_defs.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vmcs_host/vcgencmd.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/interface/vmcs_host/vchost_platform_config.h +CMakeFiles/fbcp.dir/main.c.o: /opt/vc/include/vcinclude/common.h + diff --git a/rpi-fbcp/build/CMakeFiles/fbcp.dir/flags.make b/rpi-fbcp/build/CMakeFiles/fbcp.dir/flags.make new file mode 100644 index 0000000..d041e17 --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/fbcp.dir/flags.make @@ -0,0 +1,10 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.7 + +# compile C with /usr/bin/cc +C_FLAGS = + +C_DEFINES = + +C_INCLUDES = -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host -I/opt/vc/include/interface/vmcs_host/linux + diff --git a/rpi-fbcp/build/CMakeFiles/fbcp.dir/link.txt b/rpi-fbcp/build/CMakeFiles/fbcp.dir/link.txt new file mode 100644 index 0000000..b3a9fec --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/fbcp.dir/link.txt @@ -0,0 +1 @@ +/usr/bin/cc CMakeFiles/fbcp.dir/main.c.o -o fbcp -L/opt/vc/lib -Wl,-rpath,/opt/vc/lib -rdynamic -lbcm_host diff --git a/rpi-fbcp/build/CMakeFiles/fbcp.dir/main.c.o b/rpi-fbcp/build/CMakeFiles/fbcp.dir/main.c.o new file mode 100644 index 0000000..a6410db Binary files /dev/null and b/rpi-fbcp/build/CMakeFiles/fbcp.dir/main.c.o differ diff --git a/rpi-fbcp/build/CMakeFiles/fbcp.dir/progress.make b/rpi-fbcp/build/CMakeFiles/fbcp.dir/progress.make new file mode 100644 index 0000000..abadeb0 --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/fbcp.dir/progress.make @@ -0,0 +1,3 @@ +CMAKE_PROGRESS_1 = 1 +CMAKE_PROGRESS_2 = 2 + diff --git a/rpi-fbcp/build/CMakeFiles/feature_tests.bin b/rpi-fbcp/build/CMakeFiles/feature_tests.bin new file mode 100755 index 0000000..24cc895 Binary files /dev/null and b/rpi-fbcp/build/CMakeFiles/feature_tests.bin differ diff --git a/rpi-fbcp/build/CMakeFiles/feature_tests.c b/rpi-fbcp/build/CMakeFiles/feature_tests.c new file mode 100644 index 0000000..6590dde --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/feature_tests.c @@ -0,0 +1,34 @@ + + const char features[] = {"\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 +"1" +#else +"0" +#endif +"c_function_prototypes\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +"1" +#else +"0" +#endif +"c_restrict\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L +"1" +#else +"0" +#endif +"c_static_assert\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +"1" +#else +"0" +#endif +"c_variadic_macros\n" + +}; + +int main(int argc, char** argv) { (void)argv; return features[argc]; } diff --git a/rpi-fbcp/build/CMakeFiles/feature_tests.cxx b/rpi-fbcp/build/CMakeFiles/feature_tests.cxx new file mode 100644 index 0000000..b93418c --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/feature_tests.cxx @@ -0,0 +1,405 @@ + + const char features[] = {"\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L +"1" +#else +"0" +#endif +"cxx_aggregate_default_initializers\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_alias_templates\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_alignas\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_alignof\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_attributes\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_attribute_deprecated\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_auto_type\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_binary_literals\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_constexpr\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_contextual_conversions\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_decltype\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_decltype_auto\n" +"CXX_FEATURE:" +#if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_decltype_incomplete_return_types\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_default_function_template_args\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_defaulted_functions\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_defaulted_move_initializers\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_delegating_constructors\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_deleted_functions\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_digit_separators\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_enum_forward_declarations\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_explicit_conversions\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_extended_friend_declarations\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_extern_templates\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_final\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_func_identifier\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_generalized_initializers\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_generic_lambdas\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_inheriting_constructors\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_inline_namespaces\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_lambdas\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_lambda_init_captures\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_local_type_template_args\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_long_long_type\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_noexcept\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_nonstatic_member_init\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_nullptr\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_override\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_range_for\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_raw_string_literals\n" +"CXX_FEATURE:" +#if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_reference_qualified_functions\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L +"1" +#else +"0" +#endif +"cxx_relaxed_constexpr\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +"1" +#else +"0" +#endif +"cxx_return_type_deduction\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_right_angle_brackets\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_rvalue_references\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_sizeof_member\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_static_assert\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_strong_enums\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && __cplusplus +"1" +#else +"0" +#endif +"cxx_template_template_parameters\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_thread_local\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_trailing_return_types\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_unicode_literals\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_uniform_initialization\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_unrestricted_unions\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +"1" +#else +"0" +#endif +"cxx_user_literals\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L +"1" +#else +"0" +#endif +"cxx_variable_templates\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_variadic_macros\n" +"CXX_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +"1" +#else +"0" +#endif +"cxx_variadic_templates\n" + +}; + +int main(int argc, char** argv) { (void)argv; return features[argc]; } diff --git a/rpi-fbcp/build/CMakeFiles/progress.marks b/rpi-fbcp/build/CMakeFiles/progress.marks new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/rpi-fbcp/build/CMakeFiles/progress.marks @@ -0,0 +1 @@ +2 diff --git a/rpi-fbcp/build/Makefile b/rpi-fbcp/build/Makefile new file mode 100644 index 0000000..00fe000 --- /dev/null +++ b/rpi-fbcp/build/Makefile @@ -0,0 +1,178 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.7 + +# Default target executed when no arguments are given to make. +default_target: all + +.PHONY : default_target + +# Allow only one "make -f Makefile2" at a time, but pass parallelism. +.NOTPARALLEL: + + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + + +# A target that is always out of date. +cmake_force: + +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/pi/LCD-show/rpi-fbcp + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/pi/LCD-show/rpi-fbcp/build + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache + +.PHONY : rebuild_cache/fast + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..." + /usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available. +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache + +.PHONY : edit_cache/fast + +# The main all target +all: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles/progress.marks + $(MAKE) -f CMakeFiles/Makefile2 all + $(CMAKE_COMMAND) -E cmake_progress_start /home/pi/LCD-show/rpi-fbcp/build/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + $(MAKE) -f CMakeFiles/Makefile2 clean +.PHONY : clean + +# The main clean target +clean/fast: clean + +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + $(MAKE) -f CMakeFiles/Makefile2 preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + $(MAKE) -f CMakeFiles/Makefile2 preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +#============================================================================= +# Target rules for targets named fbcp + +# Build rule for target. +fbcp: cmake_check_build_system + $(MAKE) -f CMakeFiles/Makefile2 fbcp +.PHONY : fbcp + +# fast build rule for target. +fbcp/fast: + $(MAKE) -f CMakeFiles/fbcp.dir/build.make CMakeFiles/fbcp.dir/build +.PHONY : fbcp/fast + +main.o: main.c.o + +.PHONY : main.o + +# target to build an object file +main.c.o: + $(MAKE) -f CMakeFiles/fbcp.dir/build.make CMakeFiles/fbcp.dir/main.c.o +.PHONY : main.c.o + +main.i: main.c.i + +.PHONY : main.i + +# target to preprocess a source file +main.c.i: + $(MAKE) -f CMakeFiles/fbcp.dir/build.make CMakeFiles/fbcp.dir/main.c.i +.PHONY : main.c.i + +main.s: main.c.s + +.PHONY : main.s + +# target to generate assembly for a file +main.c.s: + $(MAKE) -f CMakeFiles/fbcp.dir/build.make CMakeFiles/fbcp.dir/main.c.s +.PHONY : main.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... rebuild_cache" + @echo "... edit_cache" + @echo "... fbcp" + @echo "... main.o" + @echo "... main.i" + @echo "... main.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/rpi-fbcp/build/cmake_install.cmake b/rpi-fbcp/build/cmake_install.cmake new file mode 100644 index 0000000..f3c84e7 --- /dev/null +++ b/rpi-fbcp/build/cmake_install.cmake @@ -0,0 +1,44 @@ +# Install script for directory: /home/pi/LCD-show/rpi-fbcp + +# Set the install prefix +if(NOT DEFINED CMAKE_INSTALL_PREFIX) + set(CMAKE_INSTALL_PREFIX "/usr/local") +endif() +string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") + +# Set the install configuration name. +if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) + if(BUILD_TYPE) + string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" + CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") + else() + set(CMAKE_INSTALL_CONFIG_NAME "") + endif() + message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") +endif() + +# Set the component getting installed. +if(NOT CMAKE_INSTALL_COMPONENT) + if(COMPONENT) + message(STATUS "Install component: \"${COMPONENT}\"") + set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") + else() + set(CMAKE_INSTALL_COMPONENT) + endif() +endif() + +# Install shared libraries without execute permission? +if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) + set(CMAKE_INSTALL_SO_NO_EXE "1") +endif() + +if(CMAKE_INSTALL_COMPONENT) + set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") +else() + set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") +endif() + +string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT + "${CMAKE_INSTALL_MANIFEST_FILES}") +file(WRITE "/home/pi/LCD-show/rpi-fbcp/build/${CMAKE_INSTALL_MANIFEST}" + "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git a/rpi-fbcp/build/fbcp b/rpi-fbcp/build/fbcp new file mode 100755 index 0000000..802521c Binary files /dev/null and b/rpi-fbcp/build/fbcp differ diff --git a/rpi-fbcp/main.c b/rpi-fbcp/main.c new file mode 100644 index 0000000..7fb0d78 --- /dev/null +++ b/rpi-fbcp/main.c @@ -0,0 +1,95 @@ + +#include +#include +#include +#include +#include + +#include + +int process() { + DISPMANX_DISPLAY_HANDLE_T display; + DISPMANX_MODEINFO_T display_info; + DISPMANX_RESOURCE_HANDLE_T screen_resource; + VC_IMAGE_TRANSFORM_T transform; + uint32_t image_prt; + VC_RECT_T rect1; + int ret; + int fbfd = 0; + char *fbp = 0; + + struct fb_var_screeninfo vinfo; + struct fb_fix_screeninfo finfo; + + + bcm_host_init(); + + display = vc_dispmanx_display_open(0); + if (!display) { + syslog(LOG_ERR, "Unable to open primary display"); + return -1; + } + ret = vc_dispmanx_display_get_info(display, &display_info); + if (ret) { + syslog(LOG_ERR, "Unable to get primary display information"); + return -1; + } + syslog(LOG_INFO, "Primary display is %d x %d", display_info.width, display_info.height); + + + fbfd = open("/dev/fb1", O_RDWR); + if (fbfd == -1) { + syslog(LOG_ERR, "Unable to open secondary display"); + return -1; + } + if (ioctl(fbfd, FBIOGET_FSCREENINFO, &finfo)) { + syslog(LOG_ERR, "Unable to get secondary display information"); + return -1; + } + if (ioctl(fbfd, FBIOGET_VSCREENINFO, &vinfo)) { + syslog(LOG_ERR, "Unable to get secondary display information"); + return -1; + } + + syslog(LOG_INFO, "Second display is %d x %d %dbps\n", vinfo.xres, vinfo.yres, vinfo.bits_per_pixel); + + screen_resource = vc_dispmanx_resource_create(VC_IMAGE_RGB565, vinfo.xres, vinfo.yres, &image_prt); + if (!screen_resource) { + syslog(LOG_ERR, "Unable to create screen buffer"); + close(fbfd); + vc_dispmanx_display_close(display); + return -1; + } + + fbp = (char*) mmap(0, finfo.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fbfd, 0); + if (fbp <= 0) { + syslog(LOG_ERR, "Unable to create mamory mapping"); + close(fbfd); + ret = vc_dispmanx_resource_delete(screen_resource); + vc_dispmanx_display_close(display); + return -1; + } + + vc_dispmanx_rect_set(&rect1, 0, 0, vinfo.xres, vinfo.yres); + + while (1) { + ret = vc_dispmanx_snapshot(display, screen_resource, 0); + vc_dispmanx_resource_read_data(screen_resource, &rect1, fbp, vinfo.xres * vinfo.bits_per_pixel / 8); + usleep(25 * 1000); + } + + munmap(fbp, finfo.smem_len); + close(fbfd); + ret = vc_dispmanx_resource_delete(screen_resource); + vc_dispmanx_display_close(display); +} + +int main(int argc, char **argv) { + setlogmask(LOG_UPTO(LOG_DEBUG)); + openlog("fbcp", LOG_NDELAY | LOG_PID, LOG_USER); + + return process(); +} + + + diff --git a/usr/share/X11/xorg.conf.d/45-evdev.conf b/usr/share/X11/xorg.conf.d/45-evdev.conf new file mode 100644 index 0000000..cc83ab2 --- /dev/null +++ b/usr/share/X11/xorg.conf.d/45-evdev.conf @@ -0,0 +1,40 @@ +# +# Catch-all evdev loader for udev-based systems +# We don't simply match on any device since that also adds accelerometers +# and other devices that we don't really want to use. The list below +# matches everything but joysticks. + +Section "InputClass" + Identifier "evdev pointer catchall" + MatchIsPointer "on" + MatchDevicePath "/dev/input/event*" + Driver "evdev" +EndSection + +Section "InputClass" + Identifier "evdev keyboard catchall" + MatchIsKeyboard "on" + MatchDevicePath "/dev/input/event*" + Driver "evdev" +EndSection + +Section "InputClass" + Identifier "evdev touchpad catchall" + MatchIsTouchpad "on" + MatchDevicePath "/dev/input/event*" + Driver "evdev" +EndSection + +Section "InputClass" + Identifier "evdev tablet catchall" + MatchIsTablet "on" + MatchDevicePath "/dev/input/event*" + Driver "evdev" +EndSection + +Section "InputClass" + Identifier "evdev touchscreen catchall" + MatchIsTouchscreen "on" + MatchDevicePath "/dev/input/event*" + Driver "evdev" +EndSection diff --git a/usr/share/X11/xorg.conf.d/99-fbturbo.conf b/usr/share/X11/xorg.conf.d/99-fbturbo.conf new file mode 100755 index 0000000..05f746a --- /dev/null +++ b/usr/share/X11/xorg.conf.d/99-fbturbo.conf @@ -0,0 +1,17 @@ +# This is a minimal sample config file, which can be copied to +# /etc/X11/xorg.conf in order to make the Xorg server pick up +# and load xf86-video-fbturbo driver installed in the system. +# +# When troubleshooting, check /var/log/Xorg.0.log for the debugging +# output and error messages. +#The driver is made by Waveshare&Spotpear +# Run "man fbturbo" to get additional information about the extra +# configuration options for tuning the driver. + +Section "Device" + Identifier "Allwinner A10/A13 FBDEV" + Driver "fbturbo" + Option "fbdev" "/dev/fb1" + + Option "SwapbuffersWait" "true" +EndSection diff --git a/usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI b/usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI new file mode 100755 index 0000000..617fae0 --- /dev/null +++ b/usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI @@ -0,0 +1,17 @@ +# This is a minimal sample config file, which can be copied to +# /etc/X11/xorg.conf in order to make the Xorg server pick up +# and load xf86-video-fbturbo driver installed in the system. +# +# When troubleshooting, check /var/log/Xorg.0.log for the debugging +# output and error messages. +#The driver is made by Waveshare&Spotpear +# Run "man fbturbo" to get additional information about the extra +# configuration options for tuning the driver. + +Section "Device" + Identifier "Allwinner A10/A13 FBDEV" + Driver "fbturbo" + Option "fbdev" "/dev/fb0" + + Option "SwapbuffersWait" "true" +EndSection diff --git a/usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali b/usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali new file mode 100755 index 0000000..c78415d --- /dev/null +++ b/usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali @@ -0,0 +1,16 @@ +# This is a minimal sample config file, which can be copied to +# /etc/X11/xorg.conf in order to make the Xorg server pick up +# and load xf86-video-fbturbo driver installed in the system. +# +# When troubleshooting, check /var/log/Xorg.0.log for the debugging +# output and error messages. +#The driver is made by Waveshare&Spotpear +# Run "man fbturbo" to get additional information about the extra +# configuration options for tuning the driver. + +Section "Device" + Identifier "Allwinner A10/A13/A20 FBDEV" + Driver "fbdev" + Option "fbdev" "/dev/fb1" +EndSection + diff --git a/usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali-HDMI b/usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali-HDMI new file mode 100755 index 0000000..c74a194 --- /dev/null +++ b/usr/share/X11/xorg.conf.d/99-fbturbo.conf-kali-HDMI @@ -0,0 +1,16 @@ +# This is a minimal sample config file, which can be copied to +# /etc/X11/xorg.conf in order to make the Xorg server pick up +# and load xf86-video-fbturbo driver installed in the system. +# +# When troubleshooting, check /var/log/Xorg.0.log for the debugging +# output and error messages. +#The driver is made by Waveshare&Spotpear +# Run "man fbturbo" to get additional information about the extra +# configuration options for tuning the driver. + +Section "Device" + Identifier "Allwinner A10/A13/A20 FBDEV" + Driver "fbdev" + Option "fbdev" "/dev/fb0" +EndSection + diff --git a/waveshare32b-overlay.dtb b/waveshare32b-overlay.dtb new file mode 100755 index 0000000..2d33aa5 Binary files /dev/null and b/waveshare32b-overlay.dtb differ diff --git a/waveshare32c-overlay.dtb b/waveshare32c-overlay.dtb new file mode 100755 index 0000000..105a599 Binary files /dev/null and b/waveshare32c-overlay.dtb differ diff --git a/waveshare35a-overlay.dtb b/waveshare35a-overlay.dtb new file mode 100755 index 0000000..6da27e1 Binary files /dev/null and b/waveshare35a-overlay.dtb differ diff --git a/waveshare35b-overlay.dtb b/waveshare35b-overlay.dtb new file mode 100755 index 0000000..69d4f9a Binary files /dev/null and b/waveshare35b-overlay.dtb differ diff --git a/waveshare35b-v2-overlay.dtb b/waveshare35b-v2-overlay.dtb new file mode 100755 index 0000000..73d5e6b Binary files /dev/null and b/waveshare35b-v2-overlay.dtb differ diff --git a/waveshare35c-overlay.dtb b/waveshare35c-overlay.dtb new file mode 100755 index 0000000..8e983db Binary files /dev/null and b/waveshare35c-overlay.dtb differ diff --git a/waveshare4c-overlay.dtb b/waveshare4c-overlay.dtb new file mode 100755 index 0000000..f5576c3 Binary files /dev/null and b/waveshare4c-overlay.dtb differ diff --git a/xinput-calibrator_0.7.5-1_armhf.deb b/xinput-calibrator_0.7.5-1_armhf.deb new file mode 100755 index 0000000..bc5f57b Binary files /dev/null and b/xinput-calibrator_0.7.5-1_armhf.deb differ