PiZeroW + volumio-2.907-2021-07-02-pi.img => NR1-UI/install-buildfix.sh , after reboot, green led on board is lightning, but volumio don’t start too
In both variants was disabled:
- Spectrum/VU-Meter
- Album-Art-Tool for NR1-UI-Remote
- LED-Wiring
- Standby-Circuit
Perhaps, my logs will help you (@Maschine2501 ) to understand were is problem with Pi3.
Summary
volumio@volumio:~$ git clone https://github.com/Maschine2501/NR1-UI.git
Cloning into 'NR1-UI'...
remote: Enumerating objects: 2390, done.
remote: Counting objects: 100% (84/84), done.
remote: Compressing objects: 100% (84/84), done.
remote: Total 2390 (delta 43), reused 0 (delta 0), pack-reused 2306
Receiving objects: 100% (2390/2390), 132.06 MiB | 1.45 MiB/s, done.
Resolving deltas: 100% (1427/1427), done.
Checking connectivity... done.
Checking out files: 100% (137/137), done.
volumio@volumio:~$ bash NR1-UI/install-buildfix.sh
_ ______ ___ __ ______
/ | / / __ < / / / / / _/
/ |/ / /_/ / /_____/ / / // /
/ /| / _, _/ /_____/ /_/ // /
/_/ |_/_/ |_/_/ \____/___/
Seting up...
_________________________________________________________
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for volumio:
Get:1 http://archive.volumio.org jessie InRelease [14.9 kB]
Get:2 http://archive.volumio.org jessie InRelease [22.9 kB]
Get:3 http://raspbian.raspberrypi.org stretch InRelease [15.0 kB]
Get:4 http://archive.volumio.org jessie/main Sources [7762 kB]
Get:5 http://raspbian.raspberrypi.org stretch/main armhf Packages [11.7 MB]
Get:6 http://archive.volumio.org jessie/contrib Sources [64.5 kB]
Get:7 http://archive.volumio.org jessie/non-free Sources [113 kB]
Get:8 http://archive.volumio.org jessie/rpi Sources [1132 B]
Get:9 http://archive.volumio.org jessie/main armhf Packages [9539 kB]
Get:10 http://raspbian.raspberrypi.org stretch/contrib armhf Packages [56.9 kB]
Get:11 http://raspbian.raspberrypi.org stretch/non-free armhf Packages [98.9 kB]
Get:12 http://raspbian.raspberrypi.org stretch/rpi armhf Packages [1360 B]
Ign http://raspbian.raspberrypi.org stretch/contrib Translation-en
Ign http://raspbian.raspberrypi.org stretch/main Translation-en
Ign http://raspbian.raspberrypi.org stretch/non-free Translation-en
Ign http://raspbian.raspberrypi.org stretch/rpi Translation-en
Get:13 http://archive.volumio.org jessie/contrib armhf Packages [43.3 kB]
Get:14 http://archive.volumio.org jessie/non-free armhf Packages [88.1 kB]
Get:15 http://archive.volumio.org jessie/rpi armhf Packages [1356 B]
Get:16 http://archive.volumio.org jessie/main Sources [57.1 kB]
Get:17 http://archive.volumio.org jessie/ui Sources [17.4 kB]
Get:18 http://archive.volumio.org jessie/main armhf Packages [171 kB]
Get:19 http://archive.volumio.org jessie/ui armhf Packages [58.9 kB]
Ign http://archive.volumio.org jessie/contrib Translation-en
Ign http://archive.volumio.org jessie/main Translation-en
Ign http://archive.volumio.org jessie/non-free Translation-en
Ign http://archive.volumio.org jessie/rpi Translation-en
Ign http://archive.volumio.org jessie/main Translation-en
Ign http://archive.volumio.org jessie/ui Translation-en
Fetched 29.8 MB in 1min 52s (264 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libffi6
The following NEW packages will be installed:
libffi-dev
The following packages will be upgraded:
libffi6
1 upgraded, 1 newly installed, 0 to remove and 434 not upgraded.
Need to get 177 kB of archives.
After this operation, 345 kB of additional disk space will be used.
Get:1 http://raspbian.raspberrypi.org/raspbian/ stretch/main libffi6 armhf 3.2.1-6 [18.7 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian/ stretch/main libffi-dev armhf 3.2.1-6 [159 kB]
Fetched 177 kB in 0s (319 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 25154 files and directories currently installed.)
Preparing to unpack .../libffi6_3.2.1-6_armhf.deb ...
Unpacking libffi6:armhf (3.2.1-6) over (3.1-2+deb8u1) ...
Selecting previously unselected package libffi-dev:armhf.
Preparing to unpack .../libffi-dev_3.2.1-6_armhf.deb ...
Unpacking libffi-dev:armhf (3.2.1-6) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up libffi6:armhf (3.2.1-6) ...
Setting up libffi-dev:armhf (3.2.1-6) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
binutils-doc
The following NEW packages will be installed:
binutils
0 upgraded, 1 newly installed, 0 to remove and 434 not upgraded.
Need to get 3613 kB of archives.
After this operation, 20.6 MB of additional disk space will be used.
Get:1 http://raspbian.raspberrypi.org/raspbian/ stretch/main binutils armhf 2.28-5 [3613 kB]
Fetched 3613 kB in 2s (1724 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package binutils.
dpkg: unrecoverable fatal error, aborting:
files list file for package 'liblocale-gettext-perl' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
gcc-4.9-base libasan1 libatomic1 libgcc-4.9-dev libgcc1 libgfortran3 libgomp1 libubsan0
Suggested packages:
libstdc++-4.9-doc
The following NEW packages will be installed:
libasan1 libatomic1 libgcc-4.9-dev libstdc++-4.9-dev libubsan0
The following packages will be upgraded:
gcc-4.9-base libgcc1 libgfortran3 libgomp1
4 upgraded, 5 newly installed, 0 to remove and 430 not upgraded.
Need to get 2177 kB of archives.
After this operation, 16.6 MB of additional disk space will be used.
Get:1 http://raspbian.raspberrypi.org/raspbian/ stretch/main libgcc1 armhf 1:6.3.0-18+rpi1+deb9u1 [38.3 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian/ stretch/main libgomp1 armhf 6.3.0-18+rpi1+deb9u1 [63.9 kB]
Get:3 http://raspbian.raspberrypi.org/raspbian/ stretch/main libgfortran3 armhf 6.3.0-18+rpi1+deb9u1 [166 kB]
Get:4 http://raspbian.raspberrypi.org/raspbian/ stretch/main gcc-4.9-base armhf 4.9.3-14 [163 kB]
Get:5 http://raspbian.raspberrypi.org/raspbian/ stretch/main libasan1 armhf 4.9.3-14 [164 kB]
Get:6 http://raspbian.raspberrypi.org/raspbian/ stretch/main libatomic1 armhf 6.3.0-18+rpi1+deb9u1 [6856 B]
Get:7 http://raspbian.raspberrypi.org/raspbian/ stretch/main libubsan0 armhf 6.3.0-18+rpi1+deb9u1 [91.7 kB]
Get:8 http://raspbian.raspberrypi.org/raspbian/ stretch/main libgcc-4.9-dev armhf 4.9.3-14 [356 kB]
Get:9 http://raspbian.raspberrypi.org/raspbian/ stretch/main libstdc++-4.9-dev armhf 4.9.3-14 [1127 kB]
Fetched 2177 kB in 2s (903 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
dpkg: unrecoverable fatal error, aborting:
files list file for package 'liblocale-gettext-perl' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
binutils build-essential bzip2 cpp cpp-4.9 cpp-6 dpkg fakeroot g++-6 gcc-4.9-base gcc-6 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan1
libasan3 libatomic1 libbz2-1.0 libcc1-0 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.9-dev libgcc-6-dev libgcc1 libgfortran3 libgomp1 libisl15
liblocale-gettext-perl liblzma5 libmpc3 libmpfr4 libperl5.24 libstdc++-4.9-dev libstdc++-6-dev libtext-charwidth-perl libtext-iconv-perl libubsan0 make patch perl perl-base
perl-modules-5.24 tar
Suggested packages:
binutils-doc bzip2-doc cpp-doc gcc-4.9-locales gcc-6-locales debsig-verify debian-keyring gcc-4.9-doc libstdc++6-4.9-dbg gcc-6-doc libstdc++6-6-dbg gcc-multilib autoconf
automake libtool flex bison gdb gcc-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan1-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg
libquadmath0-dbg libasan3-dbg libmpx2-dbg libstdc++-4.9-doc libstdc++-6-doc make-doc ed diffutils-doc perl-doc libterm-readline-gnu-perl libterm-readline-perl-perl
ncompress tar-scripts
Recommended packages:
rename
The following packages will be REMOVED:
perl-modules
The following NEW packages will be installed:
binutils build-essential bzip2 cpp cpp-4.9 cpp-6 dpkg-dev fakeroot g++ g++-4.9 g++-6 gcc gcc-4.9 gcc-6 libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libasan1 libasan3 libatomic1 libcc1-0 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.9-dev libgcc-6-dev libisl15 libmpc3 libmpfr4
libperl5.24 libstdc++-4.9-dev libstdc++-6-dev libubsan0 make patch perl-modules-5.24
The following packages will be upgraded:
dpkg gcc-4.9-base libbz2-1.0 libgcc1 libgfortran3 libgomp1 liblocale-gettext-perl liblzma5 libtext-charwidth-perl libtext-iconv-perl perl perl-base tar
13 upgraded, 36 newly installed, 1 to remove and 421 not upgraded.
E: The package index files are corrupted. No Filename: field for package cpp-6.
Hit http://archive.volumio.org jessie InRelease
Hit http://archive.volumio.org jessie InRelease
Hit http://archive.volumio.org jessie/main Sources
Hit http://archive.volumio.org jessie/contrib Sources
Hit http://archive.volumio.org jessie/non-free Sources
Hit http://archive.volumio.org jessie/rpi Sources
Hit http://archive.volumio.org jessie/main armhf Packages
Hit http://archive.volumio.org jessie/contrib armhf Packages
Hit http://archive.volumio.org jessie/non-free armhf Packages
Hit http://archive.volumio.org jessie/rpi armhf Packages
Hit http://archive.volumio.org jessie/main Sources
Hit http://archive.volumio.org jessie/ui Sources
Hit http://archive.volumio.org jessie/main armhf Packages
Hit http://archive.volumio.org jessie/ui armhf Packages
Ign http://archive.volumio.org jessie/contrib Translation-en
Ign http://archive.volumio.org jessie/main Translation-en
Ign http://archive.volumio.org jessie/non-free Translation-en
Ign http://archive.volumio.org jessie/rpi Translation-en
Ign http://archive.volumio.org jessie/main Translation-en
Ign http://archive.volumio.org jessie/ui Translation-en
W: Failed to fetch http://archive.volumio.org/raspbian/dists/jessie/main/source/Sources Hash Sum mismatch
W: Failed to fetch http://archive.volumio.org/raspbian/dists/jessie/rpi/source/Sources Hash Sum mismatch
W: Failed to fetch http://archive.volumio.org/raspbian/dists/jessie/main/binary-armhf/Packages Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
Current default time zone: 'Europe/Kiev'
Local time is now: Fri Jul 2 14:07:41 EEST 2021.
Universal Time is now: Fri Jul 2 11:07:41 UTC 2021.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package build-essential is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'build-essential' has no installation candidate
E: Unable to locate package libbz2-dev
E: Unable to locate package libexpat1-dev
E: Unable to locate package liblzma-dev
E: Unable to locate package libncurses5-dev
E: Unable to locate package libncursesw5-dev
E: Unable to locate package libreadline6-dev
E: Unable to locate package libdb5.3-dev
E: Couldn't find any package by regex 'libdb5.3-dev'
E: Unable to locate package libgdbm-dev
E: Unable to locate package libsqlite3-dev
E: Unable to locate package libssl-dev
_________________________________________________________________
_ ______ ___ __ ______
/ | / / __ < / / / / / _/
/ |/ / /_/ / /_____/ / / // /
/ /| / _, _/ /_____/ /_/ // /
/_/ |_/_/ |_/_/ \____/___/
Configuration Part 1...
Do you want to deactivate (onboard-)Bluetooth?
______________________
Valid selections are:
1 -> Yes
2 -> No
--->
Enter your decision: 2
(onboard-) Bluetooth stays active...
_______________________________________________
Do you want to deactivate (onboard-) WiFi?
______________________
Valid selections are:
1 -> Yes
2 -> No
--->
Enter your decision: 2
(onboard-) WiFi stays active...
_______________________________________________________
Do you want to activate Touch-Display-Support?
Needed for "unofficial" displays...
---> Touchdisplay Plugin in Volumio needed!!!
------> Please install Plugin after Setup.
______________________
Valid selections are:
1 -> 5-Inch / 800x480 Pixel
2 -> 7-Inch / 1024x600 Pixel
3 -> No Touchscreen
--->
Enter your decision: 3
Touch-Display-Support disabled...
_________________________________________________________
Do you want to use Spectrum/VU-Meter?
(This enables two CAVA instances)
---> This needs some resources!!!
-> Better use Pi3 or above.
______________________
Valid selections are:
1 -> Yes
2 -> No
--->
Enter your decision: 2
CAVA/Spectrum won't be installed...
________________________________________________________________________
Do you want to activate Album-Art-Tool for NR1-UI-Remote?
More informations under: https://github.com/Maschine2501/NR1-UI-Remote
If you select YES you'll get a promt, select: "Standalone"
______________________
Valid selections are:
1 -> Yes
2 -> No
--->
Enter your decision: 2
Album-Art-Tool is not active...
Installing OpenSSL 1.1.1b
converted 'https://www.openssl.org/source/openssl-1.1.1b.tar.gz' (ANSI_X3.4-1968) -> 'https://www.openssl.org/source/openssl-1.1.1b.tar.gz' (UTF-8)
--2021-07-02 14:08:15-- https://www.openssl.org/source/openssl-1.1.1b.tar.gz
Resolving www.openssl.org (www.openssl.org)... 104.81.117.195, 2a02:26f0:d8:380::c1e, 2a02:26f0:d8:390::c1e
Connecting to www.openssl.org (www.openssl.org)|104.81.117.195|:443... connected.
ERROR: The certificate of 'www.openssl.org' is not trusted.
ERROR: The certificate of 'www.openssl.org' is not yet activated.
The certificate has not yet been activated
tar: openssl-1.1.1b.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
NR1-UI/install-buildfix.sh: line 241: ./config: No such file or directory
Installing 3.8.5 and related modules
converted 'https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tar.xz' (ANSI_X3.4-1968) -> 'https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tar.xz' (UTF-8)
--2021-07-02 14:08:16-- https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tar.xz
Resolving www.python.org (www.python.org)... 151.101.112.223, 2a04:4e42:1b::223
Connecting to www.python.org (www.python.org)|151.101.112.223|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18019640 (17M) [application/octet-stream]
Saving to: 'Python-3.8.5.tar.xz'
Python-3.8.5.tar.xz 100%[=============================================================================================>] 17.18M 2.59MB/s in 8.8s
2021-07-02 14:08:25 (1.95 MB/s) - 'Python-3.8.5.tar.xz' saved [18019640/18019640]
checking build system type... armv6l-unknown-linux-gnueabihf
checking host system type... armv6l-unknown-linux-gnueabihf
checking for python3.8... no
checking for python3... no
checking for python... python
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking MACHDEP... "linux"
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/volumio/src/python/Python-3.8.5':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
sudo: /home/volumio/src/Python-3.8.5/bin/pip3.8: command not found
sudo: /home/volumio/src/Python-3.8.5/bin/pip3.8: command not found
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package make is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
make-doc
Package autoconf is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package libtool is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package libfftw3-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package libcurl4-openssl-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package libpulse-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package python3-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package python3-dev
E: Unable to locate package python3-setuptools
E: Package 'python3-pip' has no installation candidate
E: Unable to locate package libjpeg-dev
E: Package 'libcurl4-openssl-dev' has no installation candidate
E: Unable to locate package libssl-dev
E: Package 'autoconf' has no installation candidate
E: Package 'make' has no installation candidate
E: Package 'libtool' has no installation candidate
E: Package 'libfftw3-dev' has no installation candidate
E: Unable to locate package libncursesw5-dev
E: Package 'libpulse-dev' has no installation candidate
E: Package 'libtool' has no installation candidate
sudo: /home/volumio/src/Python-3.8.5/bin/pip3.8: command not found
sudo: /home/volumio/src/Python-3.8.5/bin/pip3.8: command not found
sudo: /home/volumio/src/Python-3.8.5/bin/pip3.8: command not found
All Python related modules are installed...
Installing NR1-UI...
Created symlink from /etc/systemd/system/multi-user.target.wants/nr1ui.service to /lib/systemd/system/nr1ui.service.
_________________________________________________________________
_ ______ ___ __ ______
/ | / / __ < / / / / / _/
/ |/ / /_/ / /_____/ / / // /
/ /| / _, _/ /_____/ /_/ // /
/_/ |_/_/ |_/_/ \____/___/
Configuration Part 2...
Please select your Display-Type.
_____________________
Valid selections are:
1 -> for ssd1306
2 -> for ssd1322
3 -> for Braun-specific
4 -> for ssd1351
5 -> for st7735
--->
Enter your decision: 2
Set Display-Type as ssd1322
_________________________________________________________________
_________________________________________________________________
Should the Display be rotated?
_____________________
Valid selections are:
1 -> Display not rotated
2 -> Display rotated 180 degrees
--->
Enter your decision: 1
Set Display-Rotation to zero Rotation.
_________________________________________________________________
Do you use LED's?
More informations here:
https://github.com/Maschine2501/NR1-UI/wiki/LED-Wiring
_____________________
Valid selections are:
1 -> Yes
2 -> No
--->
Enter your decision: 2
Deactivated LED-Option
_________________________________________________________________
Do you use the Standby-Circuit?
More informations here:
https://github.com/Maschine2501/NR1-UI/wiki/Standby-Module
WARNING: Do not select YES if you do not have connected the circuit!!!
______________________
Valid selections are:
1 -> Yes
2 -> No
---->
Enter your decision: 2
Deactivated Standby-Function
_________________________________________________________________
Please select your Button- / Rotary- configuration
*standard*-configuration means a conection like this:
https://raw.githubusercontent.com/Maschine2501/NR1-UI/master/wiki/wiring/Wiring.jpg
_____________________
Valid selections are:
1 -> standard
2 -> custom
--->
Enter your decision: 1
Set standard-buttonlayout
_________________________________________________________________
Please enter a Value for Pause -> to -> Stop -Time.
Value is in Seconds = 15 = 15 Seconds.
After this time, while playback is paused, player will Stop and return to Standby-Screen.
____________________________________________
Valid values are numbers between 1 and 86400
86400 seconds are 24 hours...
Enter a Time (in seconds): 15
Set Play-to-Pause timer to 15 seconds
Configuration has finished, congratulations!
Please have a look in the Installation instructions to finish setup.
https://github.com/Maschine2501/NR1-UI/wiki/Installation-Steps-(for-Python3.8.5-Version---Bash-Script)
If you use CAVA/Spectrum:
Please set Audio-Output to HDMI or Headphones and save setting.
Now Select your DAC/Playback device and save aggain.
volumio@volumio:~$ reboot
===================================================
Dear, @Maschine2501
UPD 22/09/2021
I changed Raspberry board and added Encoder + 4Buttons,
so my results of the performance check on the Raspberry 4 (2Gb RAM):
- volumio-2.907 = installation was successful, functionality works;
- Volumiobuster-3.083-2021-08-16 = installation was successful, all functionality works;
- Volumiobuster-3.101-2021-09-08 = after update from 3.083-2021-08-16, OLED didn’t display any info & I lost all my music from internal storage;
- Volumiobuster-3.103-2021-09-22 = after update from 3.083-2021-08-16, installation was successful, all functionality works.
And I had a question regarding the removal of the encoder functionality as a volume control:
“removed Volume Screen and Volume interactions completely”
perhaps there is some opportunity (or will be in the future) to activate it for use who has a need for this?
Because Entering the playlist - by pressing the encoder is intuitively clear, as is the rotation of the encoder - to adjust the volume.
======================= UPDATE 14/12/2021 =======================
Hi, everyone!
Volumio-3.173-2021-12-08-pi + Volumio Buster (Beta) Installation + headphones jack on a boad = installation was successful, all functionality works;
Volumio-3.173-2021-12-08-pi + Volumio Buster (Beta) Installation + select I2S DAC 5122 (DAC Model: HiFiBerry Amp2 OR HiFiBerry DAC) = the display works, the sound is heard for 3 seconds, then it starts to loop, and there is no way to stop it in the WEB UI, only a reboot helps;
Without script NR1-UI / installbuster.sh, - DAC 5122 works (DAC Model: HiFiBerry Amp2 OR HiFiBerry DAC).
@Maschine2501 Are you planning to further develop this project?