Volumio 2 on TV box Amlogic S9xxx S8xxx

Assembled a test image for the S805. The first start of the image can take up to 10-15 minutes.

The download link in the first post of this topic.

Found the cause of the error with the monitor and sound image for S805.

Uploaded the corrected version 0.2 to the site. The system will be ready for use (login to the web interface) after the login prompt appears on the monitor\TV screen.

The updated version of Volumio for S812 (v 0.3). Fixed display error on monitor\TV at system startup.

Please note that the image name for Amlogic S905\s912 has changed. Now the name of the image contains aml9xxx.

When I build these versions on the Volumio server, could you edit your opening post and add the links to them?

Yes, certainly. Where do I get links to add ?

I will build for you and send the links. Give me a day or so, Easter weekend here. :smiley:

Add links to images that reside on the Volumio server.

Uploaded an update of Volumio image 20180401 for Amlogic S9xxx (s905\s905x\s912) to the site. This image is used to start the system from USB media. Another significant change. You can now quickly edit the command-line parameters that are passed to the kernel without having to build a new script. Parameters are stored in a plain text file, uEnv-volumio.ini, which can be freely edited.

A similar scheme with the command line settings text file is used in the new images (20180401) for S8012 and S805. But while on these platforms not on all models running from USB media.

thanks for picking the uEnv-volumio.ini idea and updating the boot script to take care of it, helps a lot and keeps it generic.
And keeps the option open to add a fully supported Khadas VIM specific build script when we would decide to do so in the future.

Image version v0.4 amlS9xxx (S905\S905X\S912). Details of the changes can be seen here.

forum.khadas.com/t/volumio-for-k ā€¦ =balbes150

The new version of Volumio image amls9xxx (s905\s905x\s912) 0.5_20180407.
Added inclusion of Wi-Fi module dhd by default. Now you will not need to manually start the module for WiFi. To update the Volume version (which is installed on the eMMC). you must run the new installation from external media.

Perhaps in the future, Volumio developers will add an update from their server through a web interface. :wink:

Our standard transfer option does not support copying to eMMC yet, but Iā€™m currently adding it for Intel Atom Baytrail and Cherrytrail mini PCs.
For a Khadas user this might be a dangerous thing to use.
A safe option would be a Khadas-specific plugin which would call your install script.
Whether this will be done, mainly depends on how popular the TV Box version will get, so perhaps :wink:

As to version 0.5, good and bad news.

The bad news: i2c still does not work.
When I do volumio@volumio:~$ sudo i2cdetect -y 1 then this is what I get as output

0 1 2 3 4 5 6 7 8 9 a b c d e f 00: 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30: -- -- -- -- -- -- -- -- 38 39 3a 3b 3c 3d 3e 3f 40: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70: 70 71 72 73 74 75 76 77
Note that nearly all addresses are listed, which shouldnā€™t be.
This is the dmesg output:

[ 1767.250628] i2c i2c-1: [aml_i2c_xfer] error ret = -5 (-EIO) [ 1767.252968] i2c i2c-1: token 1, master_no(1) 300K addr 0x30 [ 1767.258738] i2c i2c-1: [aml_i2c_xfer] error ret = -5 (-EIO) [ 1767.264209] i2c i2c-1: token 1, master_no(1) 300K addr 0x30 [ 1767.270117] i2c i2c-1: [aml_i2c_xfer] error ret = -5 (-EIO) [ 1767.275659] i2c i2c-1: token 1, master_no(1) 300K addr 0x30 [ 1767.283381] i2c i2c-1: [aml_i2c_xfer] error ret = -5 (-EIO) [ 1767.287162] i2c i2c-1: token 1, master_no(1) 300K addr 0x31 [ 1767.292725] i2c i2c-1: [aml_i2c_xfer] error ret = -5 (-EIO) [ 1767.298466] i2c i2c-1: token 1, master_no(1) 300K addr 0x31 etc. etc.

When I try to setup i2c for the HiFi Shield 2 DAC I get

1952.412539] pcm512x 1-004c: Failed to reset device: -11 [ 1952.417958] pcm512x: probe of 1-004c failed with error -11 [ 1952.423473] i2c i2c-1: new_device: Instantiated device pcm5242 at 0x4c

The good news:
I used Gouwaā€™s method to connect SPDIF pin 13 (with pin 14 GND) to a coax interface, but added a 1K resistor to stay on the safe side.
Works perfectly, so SPDIF is OK. You do not have to connect to a TV, it will actually play in parallel.
There is no guarantee that it will be absolutely synchronous, because the coax interface is being processed separately, which potentially causes a small delay. In my setup there is no noticeable delay.

I looked at the number of downloads on version 0.4 (for s9xxx), the system shows about 618 :slight_smile: I think this is not the exact figure, it should be divided into 10 (maybe it will show multi-threaded downloads). I think the real users decided to try Volumio about 40-50 users today. Perhaps will remain enjoy 15-20 users. And if solve the issue with a quick start and remember the current playback, this number can increase significantly. :slight_smile:

you can speed up bootime by reducing the boot delay to 2-3 seconds. That should be enough for usb to start.
You can look at the timestamps in dmesg output. Seems 2 is already enough, 3 perhaps to be safe.
Continue playing from the current I think is solved when you install the autoplay plugin.

The new version amls9xxx of v 0.6.

Modules for i2s have been added. To use them, you need to select the appropriate audio output option in the settings.
Reduced start-up time from 10 seconds to 5 seconds. Waiting time can be easily changed by yourself (increase or decrease). To do this, change the number of ā€œbootdelay=5ā€ in/boot/uEnv-volumio.ini"

I checked on different USB flash drive, 3 little. iā€™m chose 5. For those who will use the system regularly, this option is easy to change\decrease yourself. I am guided by the fact that those who will try Volumio for the first time will use the simplest media, so need to reduce the risk of the problem at startup.

These are the links to the newest images:

updates.volumio.org/aml805armv7/ ā€¦ v7.img.zip
updates.volumio.org/aml812armv7/ ā€¦ v7.img.zip
updates.volumio.org/aml9xxxarmv7 ā€¦ v7.img.zip

1 Like

H gkkpch

terry took off variant of the file with the settings for the remote control. I wanted to try adding it to the remote control plug-in and send a merge request. Iā€™ve cloned GIT with plugins, but I see it as a different set of settings for different remotes (itā€™s different than what comes with installing the plugin into a Volumio image). Is this git right for plugins or do I need another ?

New links I have added in the first post.

Hello, Iā€™m new on Volumio forum, and also a newbie ā€¦
Iā€™m trying to install Volumio on my android box MXIII-G 4K (AML S812, ram 1GB, eMMC 8GB, lan 1000M).
I downloaded the ā€œvolumio-2.394-2018-04-14-aml812armv7.imgā€ image and flashed on sd card by Etcher.
Then I started my box and (with sd card inserted) in Android I have activated the multiboot by Update&Backup menu by select the ā€œaml_autoscriptā€ and then the box rebooted in Android.
Now, I have stopped and rebooted with sd card but nothing succeeded: the screen is blank. The box is connected by ethernet to my lan, From the browser ofanother my PC I prove to connect to volumio.local/ but without success.

Surely I have missing something, peraphs I have to insert in the sd the correct dtb from the list in dtb folder? Is the multiboot working? I donā€™t know how to verify it.

Have you some help for me? Many thanks

Add the correct dtb file.

Thanks balbes150.
To add the correct dtb I have to choose one from the list in dtb folder included in ā€œvolumio-2.394-2018-04-14-aml812armv7.imgā€ and then rename it in dtb.img and insert in the sd card root folder, itā€™s correct?
But is the correct dtb file for my device included in the dtb folder (I do not know what it may be, even if it were there) or I have to search for it elsewhere ?
Iā€™m sorry for my elementary questions

1 Like