diff --git a/README.md b/README.md index fc70fa73b..8680aa949 100644 --- a/README.md +++ b/README.md @@ -424,12 +424,10 @@ DietPi is a lightweight operating system based Debian (just like Raspbian). It is compatible with a range of ARM based SBC-s. Check it out on: [dietpi.com](https://dietpi.com) -This guide was tested on: +Issues: +* Setup is not automated yet - more steps required than running on Raspbian. +* There is no LCD support yet on DietPi. -* Odroid HC1 -* Odroid HC2 (the same board except it accommodates a 3.5" 12V HDD) +See the instructions using DietPi for multiple kind of hardware: [dietpi/README.md](dietpi/README.md) - see the instructions: [dietpi/README.md](dietpi/README.md) - (after installing DietPi and buliding the SDcard the setup continues from [Documentation](#documentation)) - -* hoping to extend this list with more compatible boards especially the ROCK64 \ No newline at end of file +after installing DietPi and buliding the SDcard the setup continues from [Documentation](#documentation)) \ No newline at end of file diff --git a/build.sdcard/raspbianStretchDesktop.sh b/build.sdcard/raspbianStretchDesktop.sh index 0ed7b5c98..95a6a9d54 100644 --- a/build.sdcard/raspbianStretchDesktop.sh +++ b/build.sdcard/raspbianStretchDesktop.sh @@ -547,61 +547,66 @@ echo "" echo "IMPORTANT IF WANT TO MAKE A RELEASE IMAGE FROM THIS BUILD:" echo "login once after reboot without HDD and run 'XXprepareRelease.sh'" echo "" -echo "Press ENTER to install LCD and reboot ..." -read key +echo "to continue reboot with `sudo shutdown -r now` and login with admin" -# give Raspi a default hostname (optional) -sudo raspi-config nonint do_hostname "RaspiBlitz" +# install LCD only on an rPI running Raspbian +if [ "${baseImage}" = "raspbian" ]; then + echo "Press ENTER to install LCD and reboot ..." + read key -# *** 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 -defaultDisplay=$? + # give Raspi a default hostname (optional) + sudo raspi-config nonint do_hostname "RaspiBlitz" -if [[ $defaultDisplay -eq 0 ]] -then - # *** 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 - cd /home/admin/ - sudo apt-mark hold raspberrypi-bootloader - git clone https://github.com/goodtft/LCD-show.git - sudo chmod -R 755 LCD-show - sudo chown -R admin:admin LCD-show - cd LCD-show/ - sudo ./LCD35-show -else - # Download and install the driver - # based on http://www.raspberrypiwiki.com/index.php/3.5_inch_TFT_800x480@60fps + # *** 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 + defaultDisplay=$? - cd /boot - 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 - cat <> config.txt + if [[ $defaultDisplay -eq 0 ]] + then + # *** 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 + cd /home/admin/ + sudo apt-mark hold raspberrypi-bootloader + git clone https://github.com/goodtft/LCD-show.git + sudo chmod -R 755 LCD-show + sudo chown -R admin:admin LCD-show + cd LCD-show/ + sudo ./LCD35-show + else + # Download and install the driver + # based on http://www.raspberrypiwiki.com/index.php/3.5_inch_TFT_800x480@60fps -dtparam=spi=off -dtparam=i2c_arm=off + cd /boot + 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 + cat <> config.txt -# Set screen size and any overscan required -overscan_left=0 -overscan_right=0 -overscan_top=0 -overscan_bottom=0 -framebuffer_width=800 -framebuffer_height=480 + dtparam=spi=off + dtparam=i2c_arm=off + + # Set screen size and any overscan required + overscan_left=0 + overscan_right=0 + overscan_top=0 + overscan_bottom=0 + framebuffer_width=800 + framebuffer_height=480 -enable_dpi_lcd=1 -display_default_lcd=1 -dpi_group=2 -dpi_mode=87 -dpi_output_format=0x6f015 + enable_dpi_lcd=1 + display_default_lcd=1 + dpi_group=2 + dpi_mode=87 + dpi_output_format=0x6f015 -# set up the size to 800x480 -hdmi_timings=480 0 16 16 24 800 0 4 2 2 0 0 0 60 0 32000000 6 + # set up the size to 800x480 + hdmi_timings=480 0 16 16 24 800 0 4 2 2 0 0 0 60 0 32000000 6 -#rotate screen -display_rotate=3 + #rotate screen + display_rotate=3 -dtoverlay=i2c-gpio,i2c_gpio_scl=24,i2c_gpio_sda=23 -EOF - init 6 + dtoverlay=i2c-gpio,i2c_gpio_scl=24,i2c_gpio_sda=23 + EOF + init 6 + fi fi \ No newline at end of file diff --git a/dietpi/README.md b/dietpi/README.md index 65552fad7..b320b3125 100644 --- a/dietpi/README.md +++ b/dietpi/README.md @@ -1,7 +1,16 @@ # ⚡️ RaspiBlitz on DietPi ⚡️ # A hardware agnostic platform -First tested on an Odroid HC1. It has no connection for an LCD, but the [hardware specs](hw_comparison.md) make up for it. + +This guide was tested on: + +* Odroid HC1 +* Odroid HC2 (the same board except it accommodates a 3.5" 12V HDD) +* Raspberry Pi 3 B Plus - no LCD support so far +* hoping to extend this list with more compatible boards especially the ROCK64 + +See the hardware specs: [hardware specs](hw_comparison.md). + ![](pictures/DroidBlitz.jpg) @@ -93,8 +102,6 @@ password: raspiblitz ### The setup continues as described in the RaspiBlitz setup [README.md](/README.md#documentation) - - ### Examples of copying the blockchain data from a HDD using a powered USB to SATA adapter ![copy the blockchain from a HDD of a Raspiblitz](pictures/5_options_to_copy.png) @@ -114,6 +121,8 @@ To test a new configuration run XXcleanHDD.sh and strictly restart `sudo journalctl -f -u lnd` `./home/admin/XXdebugLogs.sh` - debug log collection on the raspiblitz +--- + Currently the DietPi update process has a bug causing bootloop if left alone. Will be sorted once the current, >6.2 version is uploaded as the starting image. Here find some excerpts from the deafult dietpi.txt (https://github.com/Fourdee/DietPi/blob/master/dietpi.txt) to be used once the automatic install is feasible: