Volumio 2 on TV box Amlogic S9xxx S8xxx

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 TV box Amlogic S905\S905X\S912 S802\S812 S805

Postby balbes150 » Mon May 07 2018 14:37

You can try all the files in turn, it will not break the TV box.
User avatar
balbes150
Serious Listener
Serious Listener
 
Posts: 53
Joined: Fri Nov 10 2017 14:46

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


Volumio 2 on TV box Amlogic S905\S905X\S912 S802\S812 S805

Postby pierocicogna » Fri May 11 2018 11:36

Hi, I Installed volumio on my MXQ PRO 4K, but I cannot see any audio devices available to play sound.
I should like to use the SPDIF output on my box, is this possible?

Regards,
Piero
Random avatar
pierocicogna
Fresh off the boat
Fresh off the boat
 
Posts: 5
Joined: Fri May 11 2018 11:25


Volumio 2 on TV box Amlogic S905\S905X\S912 S802\S812 S805

Postby balbes150 » Sat May 12 2018 06:49

pierocicogna wrote:Hi, I Installed volumio on my MXQ PRO 4K, but I cannot see any audio devices available to play sound.
I should like to use the SPDIF output on my box, is this possible?

Regards,
Piero

What version are you trying ? What is the dtb file is used ?
User avatar
balbes150
Serious Listener
Serious Listener
 
Posts: 53
Joined: Fri Nov 10 2017 14:46


Volumio 2 on TV box Amlogic S905\S905X\S912 S802\S812 S805

Postby pierocicogna » Sun May 13 2018 21:56

balbes150 wrote:What version are you trying ? What is the dtb file is used ?


The version is 0.6-2018-04-10 and I used the gxbb_p201.dtb for my mxq pro.
Random avatar
pierocicogna
Fresh off the boat
Fresh off the boat
 
Posts: 5
Joined: Fri May 11 2018 11:25


Volumio 2 on TV box Amlogic S905\S905X\S912 S802\S812 S805

Postby balbes150 » Mon May 14 2018 06:14

For this version, need to build a new version of dtb (with audio support). I'll try to do it during the week. If you are familiar with Linux and the DTC utility, you can do it yourself.
User avatar
balbes150
Serious Listener
Serious Listener
 
Posts: 53
Joined: Fri Nov 10 2017 14:46


Volumio 2 on TV box Amlogic S905\S905X\S912 S802\S812 S805

Postby joysteed » Wed May 16 2018 08:40

@balbes150 Really appreciate your work! I have an Android TV box, with AMLogic S912 chip and 2G memory. I once installed openelec on external SD card to boot this TV box, and using a device tree named as, gxm_q200_2g.dtb, the HDMI audio output worked perfectly, so did the SPDIF output. Now I'm using the same device tree file with Volumio, it hangs there and never get successfully booted. Without the device tree file, I can successfully boot Volumio with my TV box, but it can not find any audio output device. By reading the thread, I guess you may need to modify the device file, is that right? Hope you can help me out here, thanks in advance!
Random avatar
joysteed
Fresh off the boat
Fresh off the boat
 
Posts: 5
Joined: Wed May 16 2018 08:33


Volumio 2 on TV box Amlogic S905\S905X\S912 S802\S812 S805

Postby balbes150 » Thu May 17 2018 11:06

Try dtb from khadas_vim2 model.
User avatar
balbes150
Serious Listener
Serious Listener
 
Posts: 53
Joined: Fri Nov 10 2017 14:46


Volumio 2 on TV box Amlogic S905\S905X\S912 S802\S812 S805

Postby joysteed » Thu May 17 2018 15:05

balbes150 wrote:Try dtb from khadas_vim2 model.


I tried to copy kvim2_volumio.dtb from /boot/dtb to /boot, and rename it to dtb.img. Unfortunately the load was hung there again. I waited for 15 minutes but nothing happened.
Random avatar
joysteed
Fresh off the boat
Fresh off the boat
 
Posts: 5
Joined: Wed May 16 2018 08:33


Volumio 2 on TV box Amlogic S905\S905X\S912 S802\S812 S805

Postby balbes150 » Fri May 18 2018 14:39

pierocicogna wrote:
balbes150 wrote:What version are you trying ? What is the dtb file is used ?


The version is 0.6-2018-04-10 and I used the gxbb_p201.dtb for my mxq pro.

I have uploaded several test DTBS to the Volumio directory. Try them yourself.


joysteed wrote:I tried to copy kvim2_volumio.dtb from /boot/dtb to /boot, and rename it to dtb.img. Unfortunately the load was hung there again. I waited for 15 minutes but nothing happened.

You need to try all the files starting with gxm* to find the option where the system starts. This is to determine which dts you want to make changes to.
User avatar
balbes150
Serious Listener
Serious Listener
 
Posts: 53
Joined: Fri Nov 10 2017 14:46


Volumio 2 on TV box Amlogic S905\S905X\S912 S802\S812 S805

Postby joysteed » Fri May 18 2018 16:11

balbes150 wrote:
joysteed wrote:I tried to copy kvim2_volumio.dtb from /boot/dtb to /boot, and rename it to dtb.img. Unfortunately the load was hung there again. I waited for 15 minutes but nothing happened.

You need to try all the files starting with gxm* to find the option where the system starts. This is to determine which dts you want to make changes to.


I've tried most gxm* dtb files, the only dtb file that lead to a successful boot is gxm_q201_2g.dtb. With this dtb file, the box was successfully boot, and I was able to login with keyboard. But unfortunately the eth0 device is not working properly, so the box can not be connect to any network. Is that requires your change to the device tree?

BTW. I've tried another approach, replace the kernel for volumio image, with the kernel you built for armbian 5.44. The armbian kernel I believe contains all the required driver, and it did work as I expect pretty well. When I was trying to play music with the onboard AML sound output device, I got the error "snd_pcm_hw_params_set_buffer_time_near() failed: Invalid argument". With some research I found out that this error was related to the default parameter buffer_time that MPD used for audio_output. As MPD document explains this parameter is default to 500000, which seems to small for AMLM8AUDIO, I modified it to 5000000, and then it works pretty well.
Random avatar
joysteed
Fresh off the boat
Fresh off the boat
 
Posts: 5
Joined: Wed May 16 2018 08:33

PreviousNext

Return to Community portings

Who is online

Users browsing this forum: No registered users and 0 guests