Browse Source

revert LCD install befiore testing DietPi on rPI

dev
openoms 6 years ago
parent
commit
d58de5c4d7
  1. 45
      build.sdcard/raspbianStretchDesktop.sh
  2. 2
      dietpi/README.md
  3. 4
      dietpi/boot/dietpi.txt
  4. 0
      dietpi/boot/dietpi.txt.sample
  5. 0
      dietpi/logs/HC1_sdcard_build_output

45
build.sdcard/raspbianStretchDesktop.sh

@ -548,37 +548,34 @@ echo "IMPORTANT IF WANT TO MAKE A RELEASE IMAGE FROM THIS BUILD:"
echo "login once after reboot without HDD and run 'XXprepareRelease.sh'" echo "login once after reboot without HDD and run 'XXprepareRelease.sh'"
echo "" echo ""
echo "Press ENTER to install LCD and reboot ..." echo "Press ENTER to install LCD and reboot ..."
# don`t stop automatic install read key
# read key
# give Raspi a default hostname (optional) # give Raspi a default hostname (optional)
sudo raspi-config nonint do_hostname "RaspiBlitz" sudo raspi-config nonint do_hostname "RaspiBlitz"
# *** Display selection *** # *** Display selection ***
#dialog --title "Display" --yesno "Are you using the default display available from Amazon?\nSelect 'No' if you are using the Swiss version from play-zone.ch!" 6 80 dialog --title "Display" --yesno "Are you using the default display available from Amazon?\nSelect 'No' if you are using the Swiss version from play-zone.ch!" 6 80
#defaultDisplay=$? defaultDisplay=$?
# choosing between LCD-s during install makes dietpi automation stop - procedd with default LCD if [[ $defaultDisplay -eq 0 ]]
then
#if [[ $defaultDisplay -eq 0 ]]
#then
# *** RASPIBLITZ / LCD (at last - because makes a reboot) *** # *** RASPIBLITZ / LCD (at last - because makes a reboot) ***
# based on https://www.elegoo.com/tutorial/Elegoo%203.5%20inch%20Touch%20Screen%20User%20Manual%20V1.00.2017.10.09.zip # based on https://www.elegoo.com/tutorial/Elegoo%203.5%20inch%20Touch%20Screen%20User%20Manual%20V1.00.2017.10.09.zip
cd /home/admin/ cd /home/admin/
sudo apt-mark hold raspberrypi-bootloader sudo apt-mark hold raspberrypi-bootloader
git clone https://github.com/goodtft/LCD-show.git git clone https://github.com/goodtft/LCD-show.git
sudo chmod -R 755 LCD-show sudo chmod -R 755 LCD-show
sudo chown -R admin:admin LCD-show sudo chown -R admin:admin LCD-show
cd LCD-show/ cd LCD-show/
sudo ./LCD35-show sudo ./LCD35-show
#else else
# # Download and install the driver # Download and install the driver
# # based on http://www.raspberrypiwiki.com/index.php/3.5_inch_TFT_800x480@60fps # based on http://www.raspberrypiwiki.com/index.php/3.5_inch_TFT_800x480@60fps
#
# cd /boot cd /boot
# sudo wget http://www.raspberrypiwiki.com/download/RPI-HD-35-INCH-TFT/dt-blob-For-3B-plus.bin sudo wget http://www.raspberrypiwiki.com/download/RPI-HD-35-INCH-TFT/dt-blob-For-3B-plus.bin
# sudo mv dt-blob-For-3B-plus.bin dt-blob.bin sudo mv dt-blob-For-3B-plus.bin dt-blob.bin
# cat <<EOF >> config.txt cat <<EOF >> config.txt
dtparam=spi=off dtparam=spi=off
dtparam=i2c_arm=off dtparam=i2c_arm=off
@ -607,4 +604,4 @@ display_rotate=3
dtoverlay=i2c-gpio,i2c_gpio_scl=24,i2c_gpio_sda=23 dtoverlay=i2c-gpio,i2c_gpio_scl=24,i2c_gpio_sda=23
EOF EOF
init 6 init 6
#fi fi

2
dietpi/README.md

@ -86,7 +86,7 @@ if you intend to use @openoms`s forked version:
`wget https://raw.githubusercontent.com/openoms/raspiblitz/raspiblitz-dev/build.sdcard/raspbianStretchDesktop.sh && sudo bash raspbianStretchDesktop.sh raspiblitz-dev openoms` `wget https://raw.githubusercontent.com/openoms/raspiblitz/raspiblitz-dev/build.sdcard/raspbianStretchDesktop.sh && sudo bash raspbianStretchDesktop.sh raspiblitz-dev openoms`
See my example output: [sdcard_build_output](DietPi/sdcard_build_output) See my example output on the Odorid HC1: [HC1_sdcard_build_output](logs/HC1_sdcard_build_output)
`ssh admin@[IP-OF-DROIDBLITZ]` `ssh admin@[IP-OF-DROIDBLITZ]`
password: raspiblitz password: raspiblitz

4
dietpi/boot/dietpi.txt

@ -173,7 +173,7 @@ CONFIG_PROXY_PASSWORD=
CONFIG_BOOT_WAIT_FOR_NETWORK=2 CONFIG_BOOT_WAIT_FOR_NETWORK=2
#DietPi checks for updates (allows dietpi to check for updates on a daily basis and boot using a <1kb file download.) #DietPi checks for updates (allows dietpi to check for updates on a daily basis and boot using a <1kb file download.)
CONFIG_CHECK_DIETPI_UPDATES=0 CONFIG_CHECK_DIETPI_UPDATES=1
# Optional: Automatically update DietPi when updates are available. | requires CONFIG_CHECK_DIETPI_UPDATES=1 # Optional: Automatically update DietPi when updates are available. | requires CONFIG_CHECK_DIETPI_UPDATES=1
CONFIG_AUTO_DIETPI_UPDATES=0 CONFIG_AUTO_DIETPI_UPDATES=0
@ -261,4 +261,4 @@ DEV_GITOWNER=Fourdee
#------------------------------------------------------------------------------------------------------ #------------------------------------------------------------------------------------------------------
# D I E T - P I # D I E T - P I
# Settings, automatically added by dietpi-update # Settings, automatically added by dietpi-update
#------------------------------------------------------------------------------------------------------ #------------------------------------------------------------------------------------------------------

0
dietpi/dietpi_sample.txt → dietpi/boot/dietpi.txt.sample

0
dietpi/build_sdcard_output → dietpi/logs/HC1_sdcard_build_output

Loading…
Cancel
Save