Volumio 2 on Rock64

Volumio portings supported by community members

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

Volumio 2 on Rock64

Postby gkkpch » Tue Mar 27 2018 14:11

This thread offers people the opportunity to discuss the Rock64 board version maintained by me.
These images will not be released on the download page.
Anyone willing to help maintaining the Rock64 platform is very welcome.

New images will be built at regular times to follow up on finished Volumio development cycles.
They will also be built on request (if there is appropriate demand for it).

This opening post will hold links to generated Rock64 image versions.

Current and previous links to downloads

***Current "myVolumio" version***
volumio-2.528-2019-01-12-rock64
Changelog
- Added support for a range of DSD-direct (native) capable USB Audio devices.

Previous versions
volumio-2.507-2018-11-30-rock64
Changelog
- As 2.504, but with "myVolumio" enabled

volumio-2.504-2018-11-29-rock64
Changelog
- Added support for device tree overlay
- Script enhanced for building myVolumio for Rock64 (coming next)

volumio-2.462-2018-09-29-rock64
Changelog
- Fixed soft reboot issue
- Support for additional wifi dongles

volumio-2.424-2018-07-20-rock64
Changelog
- Added support for Realtek RT5370

volumio-2.390-2018-03-27-rock64
Initial version
- supports booting from eMMC and SD card
- supports a select number of simple I2S DACS
- currently output formats are limited, drivers in the Rockchip kernel are still WIP

Tested with the Rock64 DAC HAT and a wired ES9023 DAC module.
Many old PI/PI2+ DACs should work (provided they do not need I2C for control).
Volumio OS Developer

You like my work? Then what about buying me a beer :)
User avatar
gkkpch
Moderator
 
Posts: 1618
Joined: Mon Dec 29 2014 22:38
Location: Bodensee, Switzerland

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


Volumio 2 on Rock64

Postby joseph_lin » Wed Mar 28 2018 20:31

I am trying to compile 8812au driver for Rock64, can you let me know where do I get the linux-kernel for Volumio? It is missing in the image.
Random avatar
joseph_lin
Fresh off the boat
Fresh off the boat
 
Posts: 5
Joined: Thu Oct 26 2017 01:36


Volumio 2 on Rock64

Postby gkkpch » Wed Mar 28 2018 21:12

Excuse me, but you are wrong, I do declare all the resources, which is what we expect from all contributors.
I'm using Ayufan's kernel, which is clearly stated in the README.md of the platform git repo.
Go and check it out, you will find all you need.
https://github.com/ayufan-rock64
Volumio OS Developer

You like my work? Then what about buying me a beer :)
User avatar
gkkpch
Moderator
 
Posts: 1618
Joined: Mon Dec 29 2014 22:38
Location: Bodensee, Switzerland


Volumio 2 on Rock64

Postby joseph_lin » Wed Mar 28 2018 21:24

gkkpch wrote:Excuse me, but you are wrong, I do declare all the resources, which is what we expect from all contributors.
I'm using Ayufan's kernel, which is clearly stated in the README.md of the platform git repo.
Go and check it out, you will find all you need.
https://github.com/ayufan-rock64


I am sorry, I am new to development. I do not intent to offend anyone.

Thank you for the link, I'll check it out.
Random avatar
joseph_lin
Fresh off the boat
Fresh off the boat
 
Posts: 5
Joined: Thu Oct 26 2017 01:36


Volumio 2 on Rock64

Postby gkkpch » Wed Mar 28 2018 21:38

In case you are new to development, I recommend not to start building.
It may not be as easy as it may seem and we do not offer step-by-step instructions.

The Realtek 8812au driver is not in Ayufan's kernel sources, adding it is something you have to work out with him.
There is nothing much I can help you with in this case as this is outside our scope.
Volumio OS Developer

You like my work? Then what about buying me a beer :)
User avatar
gkkpch
Moderator
 
Posts: 1618
Joined: Mon Dec 29 2014 22:38
Location: Bodensee, Switzerland


Volumio 2 on Rock64

Postby ardentmusician » Sun Apr 15 2018 03:00

I can't get this image to work (volumio-2.390-2018-03-27-rock64.img nor volumio-2.299-2017-10-29-rock64.img) on my brand new ROCK64 1G.

I took the image, wrote it to a brand new MicroSD card with Win32DiskImager (and also Etcher), put it in my Rock64, and connected the power. The green power light and the ethernet light came on, as well as a red and a white light on the other end. The white light stayed on for a few seconds, then went out. I let it sit around for over an hour, and nothing happened. When I look at the card, the basic setup is still there, it did not expand to use the whole drive, it appears that nothing at all happened. I tried this with two different cards and with two different ROCK64 SBCs, with and without the ROCK64 DAC HiFi Shield (ESS ES9023 DAC chip), and with and without a WiFi dongle. I tried ayufan-rock64 Android 7.1 and it booted up with no trouble.

Any ideas? I'd love to help troubleshoot if you can direct me.

Thanks.
Random avatar
ardentmusician
Sunday DIYer
Sunday DIYer
 
Posts: 10
Joined: Sun Apr 15 2018 01:47


Volumio 2 on Rock64

Postby ardentmusician » Sun Apr 15 2018 04:38

Well, I officially feel like an idiot. I had expected it to act like the normal Volumio install (like on my C2) with it showing up on WiFi, etc. :oops:

I did the crazy thing of hooking it up to a monitor and finding a nice command prompt waiting for me /facepalm
I got the newest version running and have successfully played FLAC, MP3, and WAV files, from a USB drive and from my DLNA server. Lots of win!

After lots of tweaking, I got some audio out of the HDMI (still don't know how), and also finally discovered that I needed to move jumper J3 on the DAC to use the analog outputs. AC/DC is now rattling my walls.

I can't seem to get WiFi running, is that because I am doing something wrong, lack of drivers for my dongle, or is it not up and working yet? When I turn on WiFi, the slider goes to on, but it doesn't give me an option to look for a network or put in a key or name.

Thanks for building this, btw. I really appreciate it. Looking at the feature requests, Volumio seems to be coming along great!
Random avatar
ardentmusician
Sunday DIYer
Sunday DIYer
 
Posts: 10
Joined: Sun Apr 15 2018 01:47


Volumio 2 on Rock64

Postby gkkpch » Sun Apr 15 2018 15:36

Very well possible that it is a dongle issue, not all of them work.

In case you know how to use SSH (http://volumio.local/dev dev page, button "enable") please do
Code: Select all
sudo lsusb
after you plugged in.
If it was plugged in, just take it our and reinsert, then do 'lsusb'.
Curious to see the output, I could then tell you if that dongle is supported.
Volumio OS Developer

You like my work? Then what about buying me a beer :)
User avatar
gkkpch
Moderator
 
Posts: 1618
Joined: Mon Dec 29 2014 22:38
Location: Bodensee, Switzerland


Volumio 2 on Rock64

Postby ardentmusician » Sun Apr 15 2018 19:21

Well, this exact same adapter (the WiFi 0 from Ameridroid) works perfectly on my Volumio install on my C2.

Code: Select all
Bus 001 Device 002: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter


Enabling the WiFi in the Network page doesn't bring up any configuration options. About 30 seconds after hitting save, the Volumio dropped off the network. The wired connection is still up, but no longer has an IP. Setting a static IP in the Network settings also killed the network. I was able to manually set up the IP (or enable DHCP) from the CLI, but that is not all that useful.

Trying to enable WiFi, whether there is a dongle or not, wipes out the IP Address of eth0, even if I have set it manually. This is very strange. Bouncing eth0 doesn't work, either. When I rebooted after setting the manual IP, then enabling WiFi, I still didn't have an IP. I was able to set it manually (or enable DHCP) from the CLI. Strangely, even though I have enabled DHCP, etc., the Volumio web interface is still telling me that I have a static IP set up (the Status is correct, but the settings below are not). I set it back to Automatic IP, hit Save, and my network is wiped out again. This is very odd.

What next? Is there some logging I can enable? I checked /var/log, but didn't find much useful. This snippet from volumio.log might have something?

Code: Select all
2018-04-15T19:11:17.910Z - info: mDNS: Found device Volumio-2
2018-04-15T19:11:50.196Z - info: CoreCommandRouter::volumioGetState
2018-04-15T19:11:50.198Z - info: CoreStateMachine::getState
2018-04-15T19:11:50.199Z - info: CorePlayQueue::getTrack 0
2018-04-15T19:11:50.341Z - info: CoreCommandRouter::executeOnPlugin: appearance , getUiSettings
2018-04-15T19:11:50.409Z - info: CoreCommandRouter::executeOnPlugin: wizard , getShowWizard
2018-04-15T19:11:50.410Z - info: CoreCommandRouter::executeOnPlugin: system , getShowWizard
2018-04-15T19:11:50.418Z - info: CoreCommandRouter::executeOnPlugin: multiroom , getMultiroom
2018-04-15T19:11:50.424Z - info: Listing playlists
2018-04-15T19:11:53.583Z - info: CoreCommandRouter::getUIConfigOnPlugin
2018-04-15T19:11:53.807Z - info: CoreCommandRouter::executeOnPlugin: network , getInfoNetwork
2018-04-15T19:11:54.445Z - info: CoreCommandRouter::executeOnPlugin: network , getWirelessNetworks
2018-04-15T19:12:11.171Z - error: Upnp client error: Error: This socket has been ended by the other party
2018-04-15T19:14:17.548Z - info: CALLMETHOD: system_controller network saveWiredNet [object Object]
2018-04-15T19:14:17.550Z - info: CoreCommandRouter::executeOnPlugin: network , saveWiredNet
2018-04-15T19:14:17.619Z - info: Permissions for /etc/network/interfaces set
2018-04-15T19:14:17.684Z - info: mDNS: A device disapperared from network
2018-04-15T19:14:17.687Z - info: mDNS Browse raised the following error TypeError: Cannot read property 'toLowerCase' of undefined
2018-04-15T19:14:23.719Z - info: CoreCommandRouter::executeOnPlugin: wizard , reportWirelessConnection
2018-04-15T19:14:23.721Z - info: CoreCommandRouter::executeOnPlugin: network , getWirelessInfo
2018-04-15T19:14:27.816Z - info: CoreCommandRouter::executeOnPlugin: upnp , onRestart
2018-04-15T19:14:28.720Z - info: CoreCommandRouter::executeOnPlugin: upnp , onRestart
2018-04-15T19:14:28.765Z - error: Cannot kill upmpdcli Error: Command failed: /usr/bin/sudo /usr/bin/killall upmpdcli
upmpdcli: no process found

2018-04-15T19:14:37.958Z - info: Upmpdcli Daemon Started
2018-04-15T19:14:38.827Z - info: Upmpdcli Daemon Started
2018-04-15T19:15:47.647Z - info: mDNS: Found device Volumio-2
2018-04-15T19:15:47.785Z - info: CoreCommandRouter::volumioGetState
2018-04-15T19:15:47.786Z - info: CoreStateMachine::getState
2018-04-15T19:15:47.787Z - info: CorePlayQueue::getTrack 0
2018-04-15T19:15:47.802Z - info: CoreCommandRouter::executeOnPlugin: multiroom , getMultiroom
2018-04-15T19:15:47.805Z - info: Listing playlists
2018-04-15T19:15:49.154Z - error: Upnp client error: Error: This socket has been ended by the other party
Random avatar
ardentmusician
Sunday DIYer
Sunday DIYer
 
Posts: 10
Joined: Sun Apr 15 2018 01:47


Volumio 2 on Rock64

Postby cdu13a » Mon Apr 16 2018 02:33

ardentmusician wrote:Well, this exact same adapter (the WiFi 0 from Ameridroid) works perfectly on my Volumio install on my C2.

Code: Select all
Bus 001 Device 002: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter



I believe the kernel for the Rock64 is missing the right driver for that WIFI Adapter. I took a quick look at the config file for the Rock64 kernel and didn't see the driver enabled.
User avatar
cdu13a
Fresh off the boat
Fresh off the boat
 
Posts: 7
Joined: Sun Apr 08 2018 01:04

Next

Return to Community portings

Who is online

Users browsing this forum: No registered users and 0 guests