Port Runeaudio to Odroid C1 (Arm v7)

ODROID related support

Port Runeaudio to Odroid C1 (Arm v7)

Postby Tinitus » 25 Apr 2015, 07:30

Hi

Lately I was asking a lot of questions concerning the implementation of Runeaudio on my C1 over on the Pi 2 thread. Frank asked me to open a new thread here. Job done
Tinitus
 
Posts: 79
Joined: 20 Mar 2015, 20:53

Re: Port Runeaudio to Odroid C1 (Arm v7)

Postby Tinitus » 25 Apr 2015, 08:22

Hi Tinitus,

please post your output from:

Code: Select all
which xz



Please open a new discussion under "General discussion", because your questions are not PI2 related.

Frank


hondagx35


Hi Frank,

the output is:

/usr/bin/xz

Best Regards

Tinitus
Tinitus
 
Posts: 79
Joined: 20 Mar 2015, 20:53

Re: Port Runeaudio to Odroid C1 (Arm v7)

Postby hondagx35 » 25 Apr 2015, 12:35

Hi Tinitus,

the output is:

/usr/bin/xz

OK, so xz is installed and should work.
I think you did something wrong then downloading the packages.
Code: Select all
wget https://raw.githubusercontent.com/RuneAudio/RuneOS/master/07_cubox-i/packages/ffmpeg-rune/ffmpeg-rune-2.5-1-armv7h.pkg.tar.xz

This is the command to use. You have to download the "raw" version.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Port Runeaudio to Odroid C1 (Arm v7)

Postby Tinitus » 25 Apr 2015, 17:10

Hi Frank,

thanks for the help. I can follow the link you posted but I cannot access the master tree (?) in order to find the other tar.xz files. That would not be a problem as long as they have the same name as in the github.com section I did download them from before.
Next problem is, that when I try to download the file when remotely connected to the Odroid C1 through ssh I get the famous 404 error although it has connected to the website.
My question now is, can I download the files via my Ubuntu laptop onto the micro SD if I put the micro SD in the SD card reader slot? That would be a more comfortable option anyway, because I would not need to type the whole path again and again in the terminal but use copy paste in the webbrowser, downloading onto the laptop itself works.

Best Regards
Tinitus
 
Posts: 79
Joined: 20 Mar 2015, 20:53

Re: Port Runeaudio to Odroid C1 (Arm v7)

Postby hondagx35 » 25 Apr 2015, 17:27

Hi Tinitus,

from your question i see that you are not a linux geek, right?

Ok no problem anyway, we'll get this working.

I can follow the link you posted but I cannot access the master tree

Sorry but i do not understand your question.

My question now is, can I download the files via my Ubuntu laptop onto the micro SD if I put the micro SD in the SD card reader slot?

Yes you can.

You also can download the repository as zip file.
https://codeload.github.com/RuneAudio/RuneOS/zip/master
After unzipping you can copy the packages to your sd card.

Maybe it would be better to meet on skype.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Port Runeaudio to Odroid C1 (Arm v7)

Postby Tinitus » 25 Apr 2015, 21:14

Hi Frank,

right you are my interest in Linux arose roughly 2-3 weeks ago when I decided to build my own renderer in order to feed my DAC.
After I discovered that I have no write access to the SD-card slot I remembered Filezilla. I downloaded the zip-folder:

https://codeload.github.com/RuneAudio/RuneOS/zip/master

and transfered them via Filezilla (sometimes a GUI is nice). ssh'ed into the Odroid used pacman -U ffmpeg.....tar.xz and pacman /usr/local/src/ffmpeg....tar.xz and the result was:

could not find or read package

I will try this:

https://raw.githubusercontent.com/RuneA ... pkg.tar.xz

next.

What I meant regarding this, is that where ever I cut the address I get a error 404 message. I cannot access a parent directory on the internet. Which would allow me to look for the other packages. I could download the other packages if they have the same adresses as these:

https://github.com/RuneAudio/RuneOS/tre ... i/packages

so that I can change

https://github.com/RuneAudio/RuneOS/blo ... pkg.tar.xz

into

https://raw.githubusercontent.com/RuneA ... pkg.tar.xz

and still get the right package.

By the way

/proc/cpuinfo

got the reply:

-bash: /proc/cpuinfo: Permission denied

May the fact that I did not edit/patch the function in runeaudio.php have something to do with the problem?

Best Regards

Tinitus
Tinitus
 
Posts: 79
Joined: 20 Mar 2015, 20:53

Re: Port Runeaudio to Odroid C1 (Arm v7)

Postby Tinitus » 25 Apr 2015, 21:25

Hi Frank,

downloading from the raw adress did the trick!!!!

1 file downloaded 14 to go.


Best Regards

Tinitus
Tinitus
 
Posts: 79
Joined: 20 Mar 2015, 20:53

Re: Port Runeaudio to Odroid C1 (Arm v7)

Postby hondagx35 » 25 Apr 2015, 23:08

Hi Tinitus,

/proc/cpuinfo
got the reply:
-bash: /proc/cpuinfo: Permission denied


Sorry this was my fault, it should be this command:
cat /proc/cpuinfo
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Port Runeaudio to Odroid C1 (Arm v7)

Postby Tinitus » 26 Apr 2015, 14:44

Hi Frank,

the dowload and transfer via FileZilla worked well. I then followed Orion's cookbook. Lost some time because I tried to install phpredis before php and then pacman told me that he could not install php because some files already existed and were owned by other package (phpredis I suppose). Nearly two hours of internet research later I cameto the conclusion that to force install php would be the solution and it worked. When I rebootet at the end I could not log into Runeaudio. When typing the server address I was told that nginx did work but some configuration was needed. During the install I got two warnings:

samba directory permissions differ on /temp/

and

nginx directory per,missions differ on /var/log/runeaudio

The thing that worried me most was when I entered the last command:

chown -R mpd.audio /mnt/MPD

I got the message

chown invalid user "mpd.audio"

I think in Runeaudio all the different storage places are mounted into a subfolder of /mnt/MPD/
I have already prpepared something on an ArchLinux basis myself. There I mounted all storage devices into mpd via symlinks.
I am not sure I can solve these issues, so I might as well continue with the work I started on the Arch Linux basis, I "onlx" need to install the mpd service I would then miss out on the slick WebUI of Runeaudio, but I guess my chances of being successful might be bigger. I will certainly give it another try when Orion's buildpackages will be available.
Bye the way, when I tried to connect to the installation via Mopd, I could the the albums stored on my HDD in the album list but I could not browse the HDD nor could I play music.

Thanks again for your help

Best Regards

Tinitus
Tinitus
 
Posts: 79
Joined: 20 Mar 2015, 20:53

Re: Port Runeaudio to Odroid C1 (Arm v7)

Postby hondagx35 » 26 Apr 2015, 17:22

Hi Tinitus,

do not give up, you are only a few steps from success.

chown invalid user "mpd.audio"

This might be missing in the cookbook:
Code: Select all
groupadd audio
useradd -g audio mpd


I think in Runeaudio all the different storage places are mounted into a subfolder of /mnt/MPD/

Yes /mnt/MPD is the place there mpd expects the music library.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

support RuneAudio Donate with PayPal

Next

Return to ODROID

Who is online

Users browsing this forum: No registered users and 1 guest