Volumio 2 on NanoPi Neo

Hi Nikkov, very thanks for your hep. It was 2 errors, the first was the clolck and I changed to master, the second was the supply voltage to 4.3V on usb. Changing adapter everyting start good.
very thanks…

another information, can we know info about the output format of i2S? I explane what.
I loaded spotify plugin on volumio, it work with radio and I can listen the music, but when I pass input to spotify, the output format change.
If I configure some pins for know the format, i can configure the dac from microcontroller.
There is some gpio or serial data to create this function?
thanks

Hi,
It is used in combination with nano Pi Neo and nano hat pcm5102a.
I downloaded and used “Volumio 2.916-2021-10-14-nanopineo.7z” the other day.
In order to turn on I2S, I rewrote “user_overlays = sun8i-h3-i2s0-slave” in “armbianEnv.txt” to “user_overlays = sun8i-h3-i2s0-master” and started it.
At that time, the maximum value of the FLAC file that can be played will be up to 48KHz / 24bit.
How can I make more sound?

Hi @nikkov

any chance you can create a Volumio3 image for NanoPi?

I built the image some time ago, but without myvolumio it is impossible to install plugins and the new version looks less functional. So i don’t know why use volumio 3 instead v.2.

hi @nikkov

the plugins can be installed manually on Volumio3 without myvolumio, the reason I’m asking is because the plugin FusionDSP can’t work on Volumio2.

For me this is a big advantage for moving to Volumio3 on my NanoPi

I built image Volumio3 for nanopi neo2 you can find it on google drive . I tested only that it boot and show web-interface.

1 Like

Hi @nikkov

I tried your image, playback works fine but WiFi does not work.

I think it’s due to the name of the wireless interface, Volumio is expecting wlan0, but the dongle name is wlx7cdd9072dd12

volumio@volumio-neo2:~$ journalctl -xe
May 07 09:50:38 volumio-neo2 hostapd[6856]: nl80211: Driver does not support authentication/association or connect commands
May 07 09:50:38 volumio-neo2 hostapd[6856]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
May 07 09:50:38 volumio-neo2 hostapd[6856]: Could not read interface wlan0 flags: No such device
May 07 09:50:38 volumio-neo2 hostapd[6856]: nl80211 driver initialization failed.
May 07 09:50:38 volumio-neo2 hostapd[6856]: wlan0: interface state UNINITIALIZED->DISABLED
May 07 09:50:38 volumio-neo2 hostapd[6856]: wlan0: AP-DISABLED
May 07 09:50:38 volumio-neo2 hostapd[6856]: wlan0: CTRL-EVENT-TERMINATING
May 07 09:50:38 volumio-neo2 hostapd[6856]: hostapd_free_hapd_data: Interface wlan0 wasn't started
May 07 09:50:38 volumio-neo2 systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- An ExecStart= process belonging to unit hostapd.service has exited.
-- 
-- The process' exit code is 'exited' and its exit status is 1.
May 07 09:50:38 volumio-neo2 systemd[1]: hostapd.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- The unit hostapd.service has entered the 'failed' state with result 'exit-code'.
May 07 09:50:38 volumio-neo2 systemd[1]: Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.
-- Subject: A start job for unit hostapd.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A start job for unit hostapd.service has finished with a failure.
-- 
-- The job identifier is 20314 and the job result is failed.
May 07 09:50:38 volumio-neo2 systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
-- Subject: A start job for unit dnsmasq.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A start job for unit dnsmasq.service has begun execution.
-- 
-- The job identifier is 20379.
May 07 09:50:38 volumio-neo2 dnsmasq[6863]: dnsmasq: syntax check OK.
May 07 09:50:38 volumio-neo2 dnsmasq[6869]: started, version 2.80 cachesize 150
May 07 09:50:38 volumio-neo2 dnsmasq[6869]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify dumpfile
May 07 09:50:38 volumio-neo2 dnsmasq[6869]: warning: interface wlan0 does not currently exist
May 07 09:50:38 volumio-neo2 dnsmasq-dhcp[6869]: DHCP, IP range 192.168.211.100 -- 192.168.211.200, lease time 1d
May 07 09:50:38 volumio-neo2 dnsmasq[6869]: reading /etc/resolv.conf
May 07 09:50:38 volumio-neo2 dnsmasq[6869]: using nameserver 192.168.1.1#53
May 07 09:50:38 volumio-neo2 dnsmasq[6869]: using nameserver 192.168.1.1#53
May 07 09:50:38 volumio-neo2 dnsmasq[6869]: using nameserver 208.67.222.222#53
May 07 09:50:38 volumio-neo2 dnsmasq[6869]: using nameserver 208.67.220.220#53
May 07 09:50:38 volumio-neo2 dnsmasq[6869]: using nameserver 208.67.222.222#53
May 07 09:50:38 volumio-neo2 dnsmasq[6869]: using nameserver 208.67.220.220#53
May 07 09:50:38 volumio-neo2 dnsmasq[6869]: read /etc/hosts - 1 addresses
May 07 09:50:38 volumio-neo2 systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.
-- Subject: A start job for unit dnsmasq.service has finished successfully
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A start job for unit dnsmasq.service has finished successfully.
volumio@volumio-neo2:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 02:01:0c:3e:d0:1c brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.107/24 brd 192.168.1.255 scope global noprefixroute eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::1:cff:fe3e:d01c/64 scope link 
       valid_lft forever preferred_lft forever
3: wlx7cdd9072dd12: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 7c:dd:90:72:dd:12 brd ff:ff:ff:ff:ff:ff

there is a way to use predictable names for the wireless interface?

found it, the argument net.ifnames=0 must be added to extraargs=

original:

extraargs=imgpart=/dev/mmcblk0p2 imgfile=/volumio_current.sqsh

fixed

extraargs=imgpart=/dev/mmcblk0p2 imgfile=/volumio_current.sqsh net.ifnames=0

Dear @nikkov,

any chance of getting an updated image for NanoPi NEO2?

I still have two NanoPi NEO2 at home, I’m not using them since long time so I designed a dedicated shield, to build two Volumio systems, to give as a present to friends.



I will release this hobby project as open-source soon!

Hi. Now I built fresh image for neo2, but I not tested it yet.

1 Like

Thank you!

it works like a charm! thanks again!