Skip to content

Commit

Permalink
v6.18
Browse files Browse the repository at this point in the history
 - General | NanoPi Fire3: Resolved an issue with blank HDMI output. Device is now switched to tty2 during boot, as a workaround/fix due to tty1 failing: https://github.com/Fourdee/DietPi/issues/2225
  • Loading branch information
Daniel Knight committed Nov 8, 2018
1 parent ee9202a commit 9aad8db
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Changes / Improvements / Optimisations:

Bug Fixes:
- PREP: Resolved failed rootFS resize: https://github.com/Fourdee/DietPi/issues/2181#issuecomment-433715556
- General | NanoPi Fire3: Resolved an issue with blank HDMI output. Device is now switched to tty2 during boot, as a workaround/fix due to tty1 failing: https://github.com/Fourdee/DietPi/issues/2225
- DietPi-Config | Locale: Resolved an issue where DietPi would always display en_GB as the current locale: https://github.com/Fourdee/DietPi/issues/2216#issuecomment-435599419
- DietPi-Automation | CONFIG_NTP_MODE is now applied after APT cache, and, initial time sync is updated. Due to packages required for some modes: https://github.com/Fourdee/DietPi/issues/2181#issuecomment-433444882
- DietPi-Software | Roon Bridge: Resolved an issue where the remote update would fail due to underpriv permissions: https://community.roonlabs.com/t/dietpi-allo-units-not-getting-the-roonbridge-b167-update-from-b164/52503/6
Expand Down
12 changes: 11 additions & 1 deletion dietpi/boot
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,17 @@
Apply_DietPi_FirstRun_Settings(){

#----------------------------------------------------------------
echo 0 > /dev/null
#Workarounds
# - Workaround for NanoPi Fire3 with tty1 disabled: https://github.com/Fourdee/DietPi/issues/2225
if (( $G_HW_MODEL == 62 )) && dmesg | grep -qi 'NanoPi Fire3'; then

chvt 2
cat << _EOF_ > /var/lib/dietpi/postboot.d/fire3_tty2
#!/bin/bash
chvt 2
_EOF_

fi
#----------------------------------------------------------------

}
Expand Down
12 changes: 12 additions & 0 deletions dietpi/patch_file
Original file line number Diff line number Diff line change
Expand Up @@ -1272,6 +1272,18 @@ _EOF_

elif (( $G_DIETPI_VERSION_SUB == 17 )); then

#-------------------------------------------------------------------------------
#Workarounds
# - Workaround for NanoPi Fire3 with tty1 disabled: https://github.com/Fourdee/DietPi/issues/2225
if (( $G_HW_MODEL == 62 )) && dmesg | grep -qi 'NanoPi Fire3'; then

chvt 2
cat << _EOF_ > /var/lib/dietpi/postboot.d/fire3_tty2
#!/bin/bash
chvt 2
_EOF_

fi
#-------------------------------------------------------------------------------
#Reinstalls:
# OMPD: https://github.com/Fourdee/DietPi/issues/2156#issue-372201367
Expand Down

0 comments on commit 9aad8db

Please sign in to comment.