Port Runeaudio to Odroid X2 (Arm v7)

General discussion about RuneAudio. Do not post any support or feature requests here.

Port Runeaudio to Odroid X2 (Arm v7)

Postby gkkpch » 20 May 2015, 19:14

Hi,
as I don't want to hijack the Odroid C1 thread I have opened a seperate one.
After succesfully running Volumio on the Odroid and RPi (running OSMC and Volumio in parallel) platform for a while, I decided to give RuneAudio a go on the Odroid, just to learn more about the RuneAudio installation on an ARMV7 board.

Using Orion's cookbook (production raspberry) combined with some help from the "dev" cookbook version I have come quite far.
I had to re-compile mpd because of a dependency (libcui has been upgraded to 55.1.1). Also had to find a way to circumpass makepkg's missing "..asroot" option. mdp is now running, when I start it manually.
The problem is the web interface, it appears that nginx is running, but the browser is showing Error 404.
Perhaps the same issue as for the C1 port?

According to the logs, fpm just runs very shortly
Code: Select all
[20-May-2015 19:47:19] NOTICE: fpm is running, pid 255
[20-May-2015 19:47:19] NOTICE: ready to handle connections
[20-May-2015 19:47:19] NOTICE: systemd monitor interval set to 10000ms
[20-May-2015 19:47:19] NOTICE: Terminating ...
[20-May-2015 19:47:19] NOTICE: exiting, bye-bye!


The runeui.log shows:

Code: Select all
2015/05/20 19:47:19 [info] 251#0: Using 16384KiB of shared memory for push stream module on zone: push_stream_module in /etc/nginx/nginx.conf:27
2015/05/20 19:49:16 [crit] 264#0: *1 connect() to unix:/var/run/php-display.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.123.60, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-display.sock:", host: "192.168.123.165"
2015/05/20 19:49:16 [error] 264#0: *1 open() "/etc/nginx/html/50x.html" failed (2: No such file or directory), client: 192.168.123.60, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-display.sock", host: "192.168.123.165"
2015/05/20 19:49:17 [crit] 264#0: *3 connect() to unix:/var/run/php-display.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.123.60, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-display.sock:", host: "192.168.123.165", referrer: "http://192.168.123.165/"
2015/05/20 19:49:17 [error] 264#0: *3 open() "/etc/nginx/html/50x.html" failed (2: No such file or directory), client: 192.168.123.60, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-display.sock", host: "192.168.123.165", referrer: "http://192.168.123.165/"
2015/05/20 19:53:35 [crit] 264#0: *5 connect() to unix:/var/run/php-display.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.123.60, server: , request: "GET /currentsetting.htm HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-display.sock:", host: "192.168.123.165"
2015/05/20 19:53:35 [error] 264#0: *5 open() "/etc/nginx/html/50x.html" failed (2: No such file or directory), client: 192.168.123.60, server: , request: "GET /currentsetting.htm HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-display.sock", host: "192.168.123.165"
2015/05/20 19:58:48 [crit] 264#0: *7 connect() to unix:/var/run/php-display.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.123.60, server: , request: "GET /currentsetting.htm HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-display.sock:", host: "192.168.123.165"
2015/05/20 19:58:48 [error] 264#0: *7 open() "/etc/nginx/html/50x.html" failed (2: No such file or directory), client: 192.168.123.60, server: , request: "GET /currentsetting.htm HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-display.sock", host: "192.168.123.165"
2015/05/20 20:03:04 [crit] 264#0: *9 connect() to unix:/var/run/php-display.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.123.60, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-display.sock:", host: "192.168.123.165"
2015/05/20 20:03:04 [error] 264#0: *9 open() "/etc/nginx/html/50x.html" failed (2: No such file or directory), client: 192.168.123.60, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-display.sock", host: "192.168.123.165"
2015/05/20 20:03:55 [crit] 264#0: *14 connect() to unix:/var/run/php-display.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.123.60, server: , request: "GET /currentsetting.htm HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-display.sock:", host: "192.168.123.165"
2015/05/20 20:03:55 [error] 264#0: *14 open() "/etc/nginx/html/50x.html" failed (2: No such file or directory), client: 192.168.123.60, server: , request: "GET /currentsetting.htm HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-display.sock", host: "192.168.123.165"
2015/05/20 20:09:01 [crit] 264#0: *16 connect() to unix:/var/run/php-display.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.123.60, server: , request: "GET /currentsetting.htm HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-display.sock:", host: "192.168.123.165"
2015/05/20 20:09:01 [error] 264#0: *16 open() "/etc/nginx/html/50x.html" failed (2: No such file or directory), client: 192.168.123.60, server: , request: "GET /currentsetting.htm HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-display.sock", host: "192.168.123.165"
2015/05/20 20:14:07 [crit] 264#0: *18 connect() to unix:/var/run/php-display.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.123.60, server: , request: "GET /currentsetting.htm HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-display.sock:", host: "192.168.123.165"
2015/05/20 20:14:07 [error] 264#0: *18 open() "/etc/nginx/html/50x.html" failed (2: No such file or directory), client: 192.168.123.60, server: , request: "GET /currentsetting.htm HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-display.sock", host: "192.168.123.165"


EDIT:

journalctl -ex shows:

Code: Select all
May 21 14:56:23 alarm systemd[1]: Starting RuneAudio System Worker...
-- Subject: Unit rune_SY_wrk.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit rune_SY_wrk.service has begun starting up.
May 21 14:56:23 alarm systemd[1]: Stopped The PHP FastCGI Process Manager.
-- Subject: Unit php-fpm.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit php-fpm.service has finished shutting down.
May 21 14:56:23 alarm rune_SY_wrk[321]: Fatal error: Class 'Redis' not found in /srv/http/app/libs/runeaudio.php on line 1184
May 21 14:56:23 alarm systemd[1]: rune_SY_wrk.service: main process exited, code=exited, status=255/n/a
May 21 14:56:23 alarm systemd[1]: Unit rune_SY_wrk.service entered failed state.
May 21 14:56:23 alarm systemd[1]: rune_SY_wrk.service failed.
May 21 14:56:24 alarm systemd[1]: rune_SY_wrk.service holdoff time over, scheduling restart.
May 21 14:56:24 alarm systemd[1]: start request repeated too quickly for rune_SY_wrk.service
May 21 14:56:24 alarm systemd[1]: Failed to start RuneAudio System Worker.



Any idea where to start? Did I forget to copy some configuration file. Any help appreciated.

Cheers - Gé
Last edited by gkkpch on 21 May 2015, 14:16, edited 1 time in total.
Odroid-C1+, 8Gb eMMC, 8Gb µSD with 32bit/384Khz Odroid-C1+ HiFi shield (PCM5102)
Odroid-C1, 8Gb µSD with DAC: XMOS 384K/32bit USB (PCM5102)
Other: 24bit/192Khz Audiophonics DAC Sabre ES9023 I2S
User avatar
gkkpch
 
Posts: 64
Joined: 19 May 2015, 11:58
Location: Switzerland

Re: Port Runeaudio to Odroid X2 (Arm v7)

Postby gkkpch » 20 May 2015, 19:31

This is my "cookbook", based on Orion's work:

Code: Select all
###########################################
# RuneAudio v0.3-beta cookbook            #
# Based on: Orion (RPi production image)  #
# Adapted by: gkkpch                      #
# HW platform: ODROID X2                  #
###########################################

# install base ArchLinux system (follow guide https://wiki.archlinux.org/index.php/Installation_guide, choose syslinux bootloader

# general system update
pacman -Syu --noconfirm

# uninstall unecessary packages
pacman -R cryptsetup jfsutils lvm2 man-db man-pages reiserfsprogs haveged

# install git support (22.47 MiB)
pacman -S git --noconfirm

# install NTP package (3.87 MiB)
pacman -S ntp --noconfirm

# first time sync
ntpdate pool.ntp.org

# set local time-zone
#timedatectl set-timezone Europe/Zurich

# install openssh daemon (6 MiB)
#pacman -S openssh --noconfirm

# install Redis (1.53 MiB)
pacman -S redis --noconfirm


#########################################
### -- additional system libraries -- ###
#########################################
# install libmcrypt (0.25 MiB)
pacman -S libmcrypt --noconfirm

# install libjpeg-turbo (1.15 MiB)
pacman -S libjpeg --noconfirm

# install apr-util (nginx req.) (1.63 MiB)
pacman -S apr-util --noconfirm


##########################
### -- system tools -- ###
##########################

# install wget (3.05 MiB)
pacman -S wget --noconfirm

# install ethtool (0.25 MiB)
pacman -S ethtool --noconfirm

###########################
### -- network tools -- ###
###########################
# install avahi (2.30 MiB)
pacman -S avahi --noconfirm

# install nettools (0.49 MiB)
pacman -S net-tools --noconfirm

# install ifplugd (0.13 MiB)
pacman -S ifplugd --noconfirm

# install wireless tools (0.33 MiB)
pacman -S wireless_tools --noconfirm

# install wpa_supplicant (1.43 MiB)
pacman -S wpa_supplicant

# install hostapd (0.85 MiB)
pacman -S hostapd --noconfirm

# install nfs-utils (2.49 MiB)
pacman -S nfs-utils --noconfirm

# install libupnp (0.46 MiB)
pacman -S libupnp --noconfirm

# install libxml2 (8.10 MiB)
pacman -S libxml2 --noconfirm

# install yasm (2.80 MiB)
pacman -S yasm --noconfirm


##############################
### -- filesystem tools -- ###
##############################
# install NTFS support (1.50 MiB)
pacman -S ntfs-3g --noconfirm

# install dosfstools (0.25 MiB)
pacman -S dosfstools --noconfirm

# install exFAT support (0.19 MiB)
pacman -S exfat-utils --noconfirm

# install sshfs support (0.07 MiB)
pacman -S sshfs --noconfirm

# install cifs-utils (0.63 MiB)
pacman -S cifs-utils --noconfirm

# install ftpfs (0.06 MiB)
pacman -S curlftpfs --noconfirm

# install USB automount daemon (0.34 MiB)
# >>> REMEMBER to enable kernel polling when using devmon without udisks:
# http://ignorantguru.github.com/udevil/#polling
pacman -S udevil --noconfirm


#########################
### -- AUDIO stack -- ###
#########################
# install ALSA utils (9.66 MiB)
pacman -S alsa-utils --noconfirm

# install SOX (3.08 MiB)
pacman -S sox --noconfirm

# install Jack (2.56 MiB)
pacman -S jack --noconfirm

# install NetJACK driver (0.15 MiB)
pacman -S celt --noconfirm


############################
### -- install RuneUI -- ###
############################
cd /
ln -s /srv/http/ /var/www
cd /var/www

# clone RuneUI git repo
git clone https://github.com/RuneAudio/RuneUI.git .


##############################
# -- setup filesystem ACL -- #
##############################
# setup tmpfs directory
chmod 777 /run

# setup webserver directory
chown -R http.http /srv/http/
chmod 644 $(find /srv/http/ -type f)
chmod 755 $(find /srv/http/ -type d)
chmod -R 755 /srv/http/command/
chmod -R 755 /srv/http/db/redis_datastore_setup
chmod -R 755 /srv/http/db/redis_acards_details

# setup log directory
rm -r /var/log/*
mkdir /var/log/runeaudio
echo "logs            /var/log                tmpfs           nodev,nosuid,noatime,mode=1777,size=5M                  0       0" >> /etc/fstab
echo "rune-logs       /var/log/runeaudio      tmpfs           nodev,nosuid,noatime,mode=1777,size=5M                  0       0" >> /etc/fstab

# install motd
cp /var/www/app/config/_os/etc/motd /etc/
cp /var/www/app/config/_os/etc/issue /etc/

# ----->>>> BUILD CUSTOM PACKAGES <<<<----- #

# install RuneAudio MPD package dependencies
# install libmpdclient (0.27 MiB)
pacman -S libmpdclient

# install faad2 (0.39 MiB)
pacman -S faad2 --noconfirm

# install sqlite3 (1.21 MiB)
pacman -S sqlite3 --noconfirm

# install libmms (0.09 MiB)
pacman -S libmms --noconfirm

# install libid3tag (0.12 MiB)
pacman -S libid3tag --noconfirm

# install doxygen (10.22 MiB)
pacman -S doxygen --noconfirm

# install audiofile (0.31 MiB)
pacman -S audiofile --noconfirm

# install mpg123 (0.69 MiB)
pacman -S mpg123 --noconfirm

# install mpg123 (?? MiB)
pacman -S libmad --noconfirm

# install mpc (0.10 MiB)
pacman -S mpc --noconfirm

pacman -S boost
pacman -S yajl

# clone RuneOS repo
git clone https://github.com/RuneAudio/RuneOS.git /usr/local/src/RuneOS

##################################
# -- build mpd-rune v0.19.9-1 -- #
##################################
#
# 'makepkg --asroot' replacement --> http://allanmcrae.com/2015/01/replacing-makepkg-asroot/
#
# setup pkgdir
chgrp nobody /usr/local/src/RuneOS/01_raspberrypi/packages/mpd-rune
chmod g+ws /usr/local/src/RuneOS/01_raspberrypi/packages/mpd-rune
setfacl -m u::rwx,g::rwx /usr/local/src/RuneOS/01_raspberrypi/packages/mpd-rune
setfacl -d --set u::rwx,g::rwx,o::- /usr/local/src/RuneOS/01_raspberrypi/packages/mpd-rune
cd /usr/local/src/RuneOS/01_raspberrypi/packages/mpd-rune
sudo -u nobody makepkg --skippgpcheck --force

# ----->>>> DOWNLOAD PACKAGES FROM RuneOS REPO <<<<----- #

cd /usr/local/src/
# ffmpeg-rune
wget https://raw.githubusercontent.com/RuneAudio/RuneOS/master/07_cubox-i/packages/ffmpeg-rune/ffmpeg-rune-2.5-1-armv7h.pkg.tar.xz

# hfsprogs-rune (optional)
#wget https://raw.githubusercontent.com/RuneAudio/RuneOS/07_cubox-i/packages/hfsprogs-rune/hfsprogs-rune-332.25-10-armv7h.pkg.tar.xz

# hfsutils-rune
#wget https://raw.githubusercontent.com/RuneAudio/RuneOS/07_cubox-i/packages/hfsutils-rune/hfsutils-rune-3.2.6-4-armv7h.pkg.tar.xz

# ----->>>> INSTALL CUSTOM PACKAGE <<<<----- #
# install mpd-rune
cd /usr/local/src/RuneOS/01_raspberrypi/packages/mpd-rune
pacman -U mpd-rune-0.19.9-1.pkg.tar.xz --noconfirm
cd /usr/local/src/

# ----->>>> Continue PACKAGES FROM RuneOS REPO <<<<----- #
# mpdscribble-rune
wget https://raw.githubusercontent.com/RuneAudio/RuneOS/07_cubox-i/packages/mpdscribble-rune/mpdscribble-rune-0.22-6-armv7h.pkg.tar.xz

# nginx-rune
wget https://raw.githubusercontent.com/RuneAudio/RuneOS/07_cubox-i/packages/nginx-rune/nginx-rune-1.4.7-2-armv7h.pkg.tar.xz

# php-rune
wget https://raw.githubusercontent.com/RuneAudio/RuneOS/07_cubox-i/packages/php-rune/php-rune-5.5.19-2-armv7h.pkg.tar.xz

# phpredis-rune
wget https://raw.githubusercontent.com/RuneAudio/RuneOS/07_cubox-i/packages/phpredis-rune/phpredis-rune-2.2.5-1-armv7h.pkg.tar.xz

# samba-rune
wget https://raw.githubusercontent.com/RuneAudio/RuneOS/07_cubox-i/packages/samba-rune/samba-rune-2.2.12-1-armv7h.pkg.tar.xz

# shairport-rune
wget https://raw.githubusercontent.com/RuneAudio/RuneOS/07_cubox-i/packages/shairport-rune/shairport-rune-1.0-1-armv7h.pkg.tar.xz

# tcp_wrappers
wget https://raw.githubusercontent.com/RuneAudio/RuneOS/07_cubox-i/packages/tcp_wrappers/tcp_wrappers-7.6-16-armv7h.pkg.tar.xz

# upmpdcli-rune
wget https://raw.githubusercontent.com/RuneAudio/RuneOS/07_cubox-i/packages/upmpdcli-rune/upmpdcli-rune-0.8.0-1-armv7h.pkg.tar.xz


# ----->>>> INSTALL RuneOS packages <<<<----- #


# install ffmpeg-rune
pacman -U ffmpeg-rune-2.5-1-armv7h.pkg.tar.xz

# install mpdscribble-rune
pacman -U mpdscribble-rune-0.22-6-armv7h.pkg.tar.xz

# install nginx-rune
pacman -U nginx-rune-1.4.7-2-armv7h.pkg.tar.xz

# install php-rune
pacman -U --force php-rune-5.5.19-2-armv7h.pkg.tar.xz

# install phpredis-rune
pacman -U phpredis-rune-2.2.5-1-armv7h.pkg.tar.xz

# install samba-rune
pacman -U samba-rune-2.2.12-1-armv7h.pkg.tar.xz

# install shairport-rune
pacman -U shairport-rune-1.0-1-armv7h.pkg.tar.xz

# install tcp_wrappers
pacman -U tcp_wrappers-7.6-16-armv7h.pkg.tar.xz

# install upmpdcli-rune
pacman -U upmpdcli-rune-0.8.0-1-armv7h.pkg.tar.xz

# ----->>>> INSTALL Go Daddy Intermediate CA (Jamendo) <<<<----- #

#cp /var/www/app/config/_os/usr/share/ca-certificates /usr/share/
#cp /var/www/app/config/_os/etc/ca-certificates /etc/

# update SSL certs database
#update-ca-certificates --verbose

# ----->>>> SYSTEM CONFIGURATION <<<<----- #

# install RuneAudio system tweaks
cp /var/www/app/config/_os/etc/modprobe.d/modprobe.conf /etc/modprobe.d/
cp /var/www/app/config/_os/etc/modprobe.d/snd-soc-pcm512x.conf /etc/modprobe.d/
cp /var/www/app/config/_os/etc/netctl /etc/netctl/
cp /var/www/app/config/_os/etc/nginx/nginx.conf /etc/nginx/

# no proxy? then do not copy
#cp /var/www/app/config/_os/etc/profile.d/proxy.sh /etc/profile.d/

cp /var/www/app/config/_os/etc/udev/rules.d/* /etc/udev/rules.d/
cp /var/www/app/config/_os/etc/udevil/udevil.conf /etc/udevil/
cp /var/www/app/config/_os/etc/netconfig /etc/netconfig
cp /var/www/app/config/_os/etc/wpa_supplicant/wpa_supplicant.conf /etc/wpa_supplicant/
cp /var/www/app/config/_os/etc/sysctl.d/* /etc/sysctl.d/
cp /var/www/app/config/_os/etc/security/limits.conf /etc/security/limits.conf
rm -rf /etc/security/limits.d/
cp /var/www/app/config/_os/usr/lib/systemd/system/rc-local.service /usr/lib/systemd/system/
cp /var/www/app/config/_os/usr/lib/systemd/system/redis.service /usr/lib/systemd/system/
cp /var/www/app/config/_os/usr/lib/systemd/system/rune_PL_wrk.service /usr/lib/systemd/system/
cp /var/www/app/config/_os/usr/lib/systemd/system/rune_SY_wrk.service /usr/lib/systemd/system/
cp /var/www/app/config/_os/usr/lib/systemd/system/rune_shutdown.service /usr/lib/systemd/system/
cp /var/www/app/config/_os/usr/lib/systemd/system/shairport.service /usr/lib/systemd/system/
cp /var/www/app/config/_os/usr/lib/systemd/system/udevil.service /usr/lib/systemd/system/
cp /var/www/app/config/_os/usr/lib/systemd/system/wpa_supplicant@.service /usr/lib/systemd/system/

# disable RNGD
systemctl disable rngd

# disable systemd-journald
systemctl disable systemd-journald
systemctl mask systemd-journald
systemctl mask systemd-journal-flush.service

# disable systemd-logind
systemctl disable systemd-logind
systemctl mask systemd-logind

# enable SSHD
systemctl enable sshd

# enable php
systemctl enable php-fpm

# enable nginx
systemctl enable nginx

# enable mpd
systemctl enable mpd

# enable redis
systemctl enable redis

# enable RuneAudio background workers
systemctl enable rune_PL_wrk
systemctl enable rune_SY_wrk

# enable rune_shutdown
systemctl enable rune_shutdown

# link Orion Optimize script
ln -s /srv/http/command/orion_optimize.sh /usr/sbin/

# create /mnt directory structure
mkdir /mnt/MPD
mkdir /mnt/MPD/USB
mkdir /mnt/MPD/Webradio
mkdir /mnt/MPD/NAS
mkdir /mnt/MPD/LocalStorage

useradd -g audio mpd
chown -R mpd.audio /mnt/MPD

# reboot system
reboot


The "wget https://raw.githubusercontent.com/RuneAudio/RuneOS/.... did not work here either, so I used the zip-file and copied the contents so I could run "pacman -U".
Odroid-C1+, 8Gb eMMC, 8Gb µSD with 32bit/384Khz Odroid-C1+ HiFi shield (PCM5102)
Odroid-C1, 8Gb µSD with DAC: XMOS 384K/32bit USB (PCM5102)
Other: 24bit/192Khz Audiophonics DAC Sabre ES9023 I2S
User avatar
gkkpch
 
Posts: 64
Joined: 19 May 2015, 11:58
Location: Switzerland

Re: Port Runeaudio to Odroid X2 (Arm v7)

Postby gkkpch » 21 May 2015, 18:03

Checked all config files, added some I forgot.
Fixed an avahi-daemon problem, now mpd, mpdscribble, mpc all seem to work ok.
Rebuilding phpredis-rune did not make any difference, now starting to rebuild php-rune.
See if that helps.
Odroid-C1+, 8Gb eMMC, 8Gb µSD with 32bit/384Khz Odroid-C1+ HiFi shield (PCM5102)
Odroid-C1, 8Gb µSD with DAC: XMOS 384K/32bit USB (PCM5102)
Other: 24bit/192Khz Audiophonics DAC Sabre ES9023 I2S
User avatar
gkkpch
 
Posts: 64
Joined: 19 May 2015, 11:58
Location: Switzerland

Re: Port Runeaudio to Odroid X2 (Arm v7)

Postby gkkpch » 21 May 2015, 19:58

light at the end of the tunnel :D :D :D :D :D :D

The main problem were
- mpd needed to be re-complied because of dependencies
- avahi-daemon was not working because of "SO_REUSEPORT failed: Protocol not available", fixed in avahi-daemon.conf
- php.ini: redis.so was missing as an extension.

proof-runeaudio.jpg
proof-runeaudio.jpg (93.21 KiB) Viewed 3115 times


There are a number of open issues, like Dirble just spins, dsd/ dsf tracks are not working. This needs to be looked into.
The whole procedure needs to be re-done anyway to get a clean "cookbook".

This was a good exercise and I learned a lot.

Cheers - Gé
Odroid-C1+, 8Gb eMMC, 8Gb µSD with 32bit/384Khz Odroid-C1+ HiFi shield (PCM5102)
Odroid-C1, 8Gb µSD with DAC: XMOS 384K/32bit USB (PCM5102)
Other: 24bit/192Khz Audiophonics DAC Sabre ES9023 I2S
User avatar
gkkpch
 
Posts: 64
Joined: 19 May 2015, 11:58
Location: Switzerland

Re: Port Runeaudio to Odroid X2 (Arm v7)

Postby ACX » 21 May 2015, 21:24

Great work :) Actually, Orion is working on a brand new cookbook entirely based on the PKGBUILD system, which will standardize the building process across platforms. Are you interested in contributing to its development and maintenance once the first complete draft is published?
User avatar
ACX
RuneAudio co-founder
 
Posts: 1692
Joined: 29 Nov 2013, 02:25
Location: Udine, Italy

Re: Port Runeaudio to Odroid X2 (Arm v7)

Postby gkkpch » 22 May 2015, 19:49

@ACX: PM sent

@all
I ran into a problem when switching to a static IP address, which I temporarily fixed.
From other posts it is a know problem and being addressed.

Small problem, but curious why DSF files don't not work (small because I don't have many of them).
From the mpd.log you can see it addresses Alsa device "hw:0,0" while "hw:1,0" has being configured.
Alsa device "hw:0,0" is the onboard card, which only handles 16bit pcm.
I probably have made a mistake here.

Code: Select all
May 22 20:28 : alsa_output: opened hw:0,0 type=HW
May 22 20:28 : alsa_output: format=S16_LE (Signed 16 bit Little Endian)
May 22 20:28 : alsa_output: buffer: size=2048..32768 time=21333..341334
May 22 20:28 : alsa_output: period: size=1024..2048 time=10666..21334
May 22 20:28 : alsa_output: default period_time = buffer_time/4 = 341333/4 = 85333
May 22 20:28 : alsa_output: buffer_size=32768 period_size=2048
May 22 20:28 : alsa_output: Failed to open "Built-in Audio" [alsa]: Failed to configure DSD-over-PCM on ALSA device "hw:0,0"


The mpd and alsa configuration is from the debug log:
Code: Select all
       
###### Audio backend ######
Advanced Linux Sound Architecture Driver Version k3.8.13.29-2-ARCH.

Card list: (/proc/asound/cards)
--------------------------------------------------
 0 [Audio          ]: Built-in_Audio - Built-in Audio
                      Built-in Audio
 1 [HIFIRef        ]: USB-Audio - HIFI-Ref
                      XMOS HIFI-Ref at usb-s5p-ehci-2.1.5, high speed


PLAYBACK devices: (aplay -l)
--------------------------------------------------
**** List of PLAYBACK Hardware Devices ****
card 0: Audio [Built-in Audio], device 0: Playback HiFi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Built-in Audio], device 1: Capture HiFi-1 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HIFIRef [HIFI-Ref], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


PCM devices: (aplay -L)
--------------------------------------------------
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Audio
    Built-in Audio,
    Default Audio Device
sysdefault:CARD=Audio
    Built-in Audio,
    Default Audio Device
default:CARD=HIFIRef
    HIFI-Ref, USB Audio
    Default Audio Device
sysdefault:CARD=HIFIRef
    HIFI-Ref, USB Audio
    Default Audio Device
front:CARD=HIFIRef,DEV=0
    HIFI-Ref, USB Audio
    Front speakers
surround21:CARD=HIFIRef,DEV=0
    HIFI-Ref, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=HIFIRef,DEV=0
    HIFI-Ref, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=HIFIRef,DEV=0
    HIFI-Ref, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=HIFIRef,DEV=0
    HIFI-Ref, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=HIFIRef,DEV=0
    HIFI-Ref, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=HIFIRef,DEV=0
    HIFI-Ref, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=HIFIRef,DEV=0
    HIFI-Ref, USB Audio
    IEC958 (S/PDIF) Digital Audio Output


Simple mixer controls: (amixer scontrols)
--------------------------------------------------
card 0:
Simple mixer control 'Headphone',0
Simple mixer control 'Headphone Left',0
Simple mixer control 'Headphone Left Mixer',0
Simple mixer control 'Headphone Right',0
Simple mixer control 'Headphone Right Mixer',0
Simple mixer control 'Speaker',0
Simple mixer control 'Speaker Left',0
Simple mixer control 'Speaker Left Mixer',0
Simple mixer control 'Speaker Right',0
Simple mixer control 'Speaker Right Mixer',0
Simple mixer control 'Playback Path DC Blocking',0
Simple mixer control 'ADC High Performance Mode',0
Simple mixer control 'ADC Oversampling Rate',0
Simple mixer control 'ADC Quantizer Dither',0
Simple mixer control 'ADCL',0
Simple mixer control 'ADCL Boost',0
Simple mixer control 'ADCR',0
Simple mixer control 'ADCR Boost',0
Simple mixer control 'ALC Attack Time',0
Simple mixer control 'ALC Compression Ratio',0
Simple mixer control 'ALC Compression Threshold',0
Simple mixer control 'ALC Enable',0
Simple mixer control 'ALC Expansion Ratio',0
Simple mixer control 'ALC Expansion Threshold',0
Simple mixer control 'ALC Make Up',0
Simple mixer control 'ALC Release Time',0
Simple mixer control 'Biquad',0
Simple mixer control 'DAC HP Playback Performance Mode',0
Simple mixer control 'DAC High Performance Mode',0
Simple mixer control 'DAC Mono Mode',0
Simple mixer control 'DMIC MIC Comp Filter Config',0
Simple mixer control 'DMIC Mux',0
Simple mixer control 'Digital',0
Simple mixer control 'Digital BQ',0
Simple mixer control 'Digital Coarse',0
Simple mixer control 'Digital EQ',0
Simple mixer control 'Digital EQ 3 Band',0
Simple mixer control 'Digital EQ 5 Band',0
Simple mixer control 'Digital EQ 7 Band',0
Simple mixer control 'Digital EQ Clipping Detection',0
Simple mixer control 'Digital Sidetone',0
Simple mixer control 'Enhanced Vol Smoothing',0
Simple mixer control 'Filter Mode',0
Simple mixer control 'LBENL Mux',0
Simple mixer control 'LBENR Mux',0
Simple mixer control 'LINEA',0
Simple mixer control 'LINEA Ext Resistor Gain Mode',0
Simple mixer control 'LINEA Mixer IN1',0
Simple mixer control 'LINEA Mixer IN3',0
Simple mixer control 'LINEA Mixer IN34',0
Simple mixer control 'LINEA Mixer IN5',0
Simple mixer control 'LINEA Single Ended',0
Simple mixer control 'LINEB',0
Simple mixer control 'LINEB Ext Resistor Gain Mode',0
Simple mixer control 'LINEB Mixer IN2',0
Simple mixer control 'LINEB Mixer IN4',0
Simple mixer control 'LINEB Mixer IN56',0
Simple mixer control 'LINEB Mixer IN6',0
Simple mixer control 'LINEB Single Ended',0
Simple mixer control 'LINMOD Mux',0
Simple mixer control 'LTENL Mux',0
Simple mixer control 'LTENR Mux',0
Simple mixer control 'Left ADC Mixer IN12',0
Simple mixer control 'Left ADC Mixer IN34',0
Simple mixer control 'Left ADC Mixer IN56',0
Simple mixer control 'Left ADC Mixer LINEA',0
Simple mixer control 'Left ADC Mixer LINEB',0
Simple mixer control 'Left ADC Mixer MIC1',0
Simple mixer control 'Left ADC Mixer MIC2',0
Simple mixer control 'Left Headphone Mixer LINEA',0
Simple mixer control 'Left Headphone Mixer LINEB',0
Simple mixer control 'Left Headphone Mixer Left DAC',0
Simple mixer control 'Left Headphone Mixer MIC1',0
Simple mixer control 'Left Headphone Mixer MIC2',0
Simple mixer control 'Left Headphone Mixer Right DAC',0
Simple mixer control 'Left Receiver Mixer LINEA',0
Simple mixer control 'Left Receiver Mixer LINEB',0
Simple mixer control 'Left Receiver Mixer Left DAC',0
Simple mixer control 'Left Receiver Mixer MIC1',0
Simple mixer control 'Left Receiver Mixer MIC2',0
Simple mixer control 'Left Receiver Mixer Right DAC',0
Simple mixer control 'Left Speaker Mixer LINEA',0
Simple mixer control 'Left Speaker Mixer LINEB',0
Simple mixer control 'Left Speaker Mixer Left DAC',0
Simple mixer control 'Left Speaker Mixer MIC1',0
Simple mixer control 'Left Speaker Mixer MIC2',0
Simple mixer control 'Left Speaker Mixer Right DAC',0
Simple mixer control 'MIC Bias VCM Bandgap',0
Simple mixer control 'MIC1',0
Simple mixer control 'MIC1 Boost',0
Simple mixer control 'MIC1 Mux',0
Simple mixer control 'MIC2',0
Simple mixer control 'MIC2 Boost',0
Simple mixer control 'MIC2 Mux',0
Simple mixer control 'MIXHPLSEL Mux',0
Simple mixer control 'MIXHPRSEL Mux',0
Simple mixer control 'Receiver',0
Simple mixer control 'Receiver Left',0
Simple mixer control 'Receiver Left Mixer',0
Simple mixer control 'Receiver Right',0
Simple mixer control 'Receiver Right Mixer',0
Simple mixer control 'Record Path DC Blocking',0
Simple mixer control 'Right ADC Mixer IN12',0
Simple mixer control 'Right ADC Mixer IN34',0
Simple mixer control 'Right ADC Mixer IN56',0
Simple mixer control 'Right ADC Mixer LINEA',0
Simple mixer control 'Right ADC Mixer LINEB',0
Simple mixer control 'Right ADC Mixer MIC1',0
Simple mixer control 'Right ADC Mixer MIC2',0
Simple mixer control 'Right Headphone Mixer LINEA',0
Simple mixer control 'Right Headphone Mixer LINEB',0
Simple mixer control 'Right Headphone Mixer Left DAC',0
Simple mixer control 'Right Headphone Mixer MIC1',0
Simple mixer control 'Right Headphone Mixer MIC2',0
Simple mixer control 'Right Headphone Mixer Right DAC',0
Simple mixer control 'Right Receiver Mixer LINEA',0
Simple mixer control 'Right Receiver Mixer LINEB',0
Simple mixer control 'Right Receiver Mixer Left DAC',0
Simple mixer control 'Right Receiver Mixer MIC1',0
Simple mixer control 'Right Receiver Mixer MIC2',0
Simple mixer control 'Right Receiver Mixer Right DAC',0
Simple mixer control 'Right Speaker Mixer LINEA',0
Simple mixer control 'Right Speaker Mixer LINEB',0
Simple mixer control 'Right Speaker Mixer Left DAC',0
Simple mixer control 'Right Speaker Mixer MIC1',0
Simple mixer control 'Right Speaker Mixer MIC2',0
Simple mixer control 'Right Speaker Mixer Right DAC',0
Simple mixer control 'SDIN Mode',0
Simple mixer control 'SDOUT Hi-Z Mode',0
Simple mixer control 'SDOUT Mode',0
Simple mixer control 'STENL Mux',0
Simple mixer control 'STENR Mux',0
Simple mixer control 'Volume Adjustment Smoothing',0
Simple mixer control 'Zero-Crossing Detection',0

card 1:
Simple mixer control 'iAP Interface',0
Simple mixer control 'iAP Interface',1


Mixer controls: (amixer controls)
--------------------------------------------------
card 0:
numid=47,iface=MIXER,name='Headphone Left Mixer Volume'
numid=56,iface=MIXER,name='Headphone Left Switch'
numid=48,iface=MIXER,name='Headphone Right Mixer Volume'
numid=57,iface=MIXER,name='Headphone Right Switch'
numid=53,iface=MIXER,name='Headphone Volume'
numid=19,iface=MIXER,name='ADC High Performance Mode'
numid=17,iface=MIXER,name='ADC Oversampling Rate'
numid=18,iface=MIXER,name='ADC Quantizer Dither'
numid=13,iface=MIXER,name='ADCL Boost Volume'
numid=15,iface=MIXER,name='ADCL Volume'
numid=14,iface=MIXER,name='ADCR Boost Volume'
numid=16,iface=MIXER,name='ADCR Volume'
numid=26,iface=MIXER,name='Playback Path DC Blocking'
numid=38,iface=MIXER,name='ALC Attack Time'
numid=41,iface=MIXER,name='ALC Compression Ratio'
numid=43,iface=MIXER,name='ALC Compression Threshold Volume'
numid=37,iface=MIXER,name='ALC Enable'
numid=42,iface=MIXER,name='ALC Expansion Ratio'
numid=44,iface=MIXER,name='ALC Expansion Threshold Volume'
numid=40,iface=MIXER,name='ALC Make Up Volume'
numid=39,iface=MIXER,name='ALC Release Time'
numid=65,iface=MIXER,name='Biquad Coefficients'
numid=66,iface=MIXER,name='Biquad Switch'
numid=45,iface=MIXER,name='DAC HP Playback Performance Mode'
numid=46,iface=MIXER,name='DAC High Performance Mode'
numid=20,iface=MIXER,name='DAC Mono Mode'
numid=2,iface=MIXER,name='DMIC MIC Comp Filter Config'
numid=134,iface=MIXER,name='DMIC Mux'
numid=27,iface=MIXER,name='Digital BQ Volume'
numid=29,iface=MIXER,name='Digital Coarse Volume'
numid=32,iface=MIXER,name='Digital EQ 3 Band Switch'
numid=33,iface=MIXER,name='Digital EQ 5 Band Switch'
numid=34,iface=MIXER,name='Digital EQ 7 Band Switch'
numid=35,iface=MIXER,name='Digital EQ Clipping Detection'
numid=36,iface=MIXER,name='Digital EQ Volume'
numid=28,iface=MIXER,name='Digital Sidetone Volume'
numid=30,iface=MIXER,name='Digital Volume'
numid=31,iface=MIXER,name='EQ Coefficients'
numid=63,iface=MIXER,name='Enhanced Vol Smoothing'
numid=24,iface=MIXER,name='Filter Mode'
numid=111,iface=MIXER,name='LBENL Mux'
numid=110,iface=MIXER,name='LBENR Mux'
numid=11,iface=MIXER,name='LINEA Ext Resistor Gain Mode'
numid=130,iface=MIXER,name='LINEA Mixer IN1 Switch'
numid=131,iface=MIXER,name='LINEA Mixer IN3 Switch'
numid=133,iface=MIXER,name='LINEA Mixer IN34 Switch'
numid=132,iface=MIXER,name='LINEA Mixer IN5 Switch'
numid=7,iface=MIXER,name='LINEA Single Ended Volume'
numid=9,iface=MIXER,name='LINEA Volume'
numid=12,iface=MIXER,name='LINEB Ext Resistor Gain Mode'
numid=126,iface=MIXER,name='LINEB Mixer IN2 Switch'
numid=127,iface=MIXER,name='LINEB Mixer IN4 Switch'
numid=129,iface=MIXER,name='LINEB Mixer IN56 Switch'
numid=128,iface=MIXER,name='LINEB Mixer IN6 Switch'
numid=8,iface=MIXER,name='LINEB Single Ended Volume'
numid=10,iface=MIXER,name='LINEB Volume'
numid=69,iface=MIXER,name='LINMOD Mux'
numid=109,iface=MIXER,name='LTENL Mux'
numid=108,iface=MIXER,name='LTENR Mux'
numid=119,iface=MIXER,name='Left ADC Mixer IN12 Switch'
numid=120,iface=MIXER,name='Left ADC Mixer IN34 Switch'
numid=121,iface=MIXER,name='Left ADC Mixer IN56 Switch'
numid=122,iface=MIXER,name='Left ADC Mixer LINEA Switch'
numid=123,iface=MIXER,name='Left ADC Mixer LINEB Switch'
numid=124,iface=MIXER,name='Left ADC Mixer MIC1 Switch'
numid=125,iface=MIXER,name='Left ADC Mixer MIC2 Switch'
numid=102,iface=MIXER,name='Left Headphone Mixer LINEA Switch'
numid=103,iface=MIXER,name='Left Headphone Mixer LINEB Switch'
numid=100,iface=MIXER,name='Left Headphone Mixer Left DAC Switch'
numid=104,iface=MIXER,name='Left Headphone Mixer MIC1 Switch'
numid=105,iface=MIXER,name='Left Headphone Mixer MIC2 Switch'
numid=101,iface=MIXER,name='Left Headphone Mixer Right DAC Switch'
numid=78,iface=MIXER,name='Left Receiver Mixer LINEA Switch'
numid=79,iface=MIXER,name='Left Receiver Mixer LINEB Switch'
numid=76,iface=MIXER,name='Left Receiver Mixer Left DAC Switch'
numid=80,iface=MIXER,name='Left Receiver Mixer MIC1 Switch'
numid=81,iface=MIXER,name='Left Receiver Mixer MIC2 Switch'
numid=77,iface=MIXER,name='Left Receiver Mixer Right DAC Switch'
numid=90,iface=MIXER,name='Left Speaker Mixer LINEA Switch'
numid=91,iface=MIXER,name='Left Speaker Mixer LINEB Switch'
numid=88,iface=MIXER,name='Left Speaker Mixer Left DAC Switch'
numid=92,iface=MIXER,name='Left Speaker Mixer MIC1 Switch'
numid=93,iface=MIXER,name='Left Speaker Mixer MIC2 Switch'
numid=89,iface=MIXER,name='Left Speaker Mixer Right DAC Switch'
numid=1,iface=MIXER,name='MIC Bias VCM Bandgap'
numid=3,iface=MIXER,name='MIC1 Boost Volume'
numid=136,iface=MIXER,name='MIC1 Mux'
numid=5,iface=MIXER,name='MIC1 Volume'
numid=4,iface=MIXER,name='MIC2 Boost Volume'
numid=135,iface=MIXER,name='MIC2 Mux'
numid=6,iface=MIXER,name='MIC2 Volume'
numid=68,iface=MIXER,name='MIXHPLSEL Mux'
numid=67,iface=MIXER,name='MIXHPRSEL Mux'
numid=51,iface=MIXER,name='Receiver Left Mixer Volume'
numid=60,iface=MIXER,name='Receiver Left Switch'
numid=52,iface=MIXER,name='Receiver Right Mixer Volume'
numid=61,iface=MIXER,name='Receiver Right Switch'
numid=55,iface=MIXER,name='Receiver Volume'
numid=25,iface=MIXER,name='Record Path DC Blocking'
numid=112,iface=MIXER,name='Right ADC Mixer IN12 Switch'
numid=113,iface=MIXER,name='Right ADC Mixer IN34 Switch'
numid=114,iface=MIXER,name='Right ADC Mixer IN56 Switch'
numid=115,iface=MIXER,name='Right ADC Mixer LINEA Switch'
numid=116,iface=MIXER,name='Right ADC Mixer LINEB Switch'
numid=117,iface=MIXER,name='Right ADC Mixer MIC1 Switch'
numid=118,iface=MIXER,name='Right ADC Mixer MIC2 Switch'
numid=96,iface=MIXER,name='Right Headphone Mixer LINEA Switch'
numid=97,iface=MIXER,name='Right Headphone Mixer LINEB Switch'
numid=94,iface=MIXER,name='Right Headphone Mixer Left DAC Switch'
numid=98,iface=MIXER,name='Right Headphone Mixer MIC1 Switch'
numid=99,iface=MIXER,name='Right Headphone Mixer MIC2 Switch'
numid=95,iface=MIXER,name='Right Headphone Mixer Right DAC Switch'
numid=72,iface=MIXER,name='Right Receiver Mixer LINEA Switch'
numid=73,iface=MIXER,name='Right Receiver Mixer LINEB Switch'
numid=70,iface=MIXER,name='Right Receiver Mixer Left DAC Switch'
numid=74,iface=MIXER,name='Right Receiver Mixer MIC1 Switch'
numid=75,iface=MIXER,name='Right Receiver Mixer MIC2 Switch'
numid=71,iface=MIXER,name='Right Receiver Mixer Right DAC Switch'
numid=84,iface=MIXER,name='Right Speaker Mixer LINEA Switch'
numid=85,iface=MIXER,name='Right Speaker Mixer LINEB Switch'
numid=82,iface=MIXER,name='Right Speaker Mixer Left DAC Switch'
numid=86,iface=MIXER,name='Right Speaker Mixer MIC1 Switch'
numid=87,iface=MIXER,name='Right Speaker Mixer MIC2 Switch'
numid=83,iface=MIXER,name='Right Speaker Mixer Right DAC Switch'
numid=21,iface=MIXER,name='SDIN Mode'
numid=23,iface=MIXER,name='SDOUT Hi-Z Mode'
numid=22,iface=MIXER,name='SDOUT Mode'
numid=107,iface=MIXER,name='STENL Mux'
numid=106,iface=MIXER,name='STENR Mux'
numid=49,iface=MIXER,name='Speaker Left Mixer Volume'
numid=58,iface=MIXER,name='Speaker Left Switch'
numid=50,iface=MIXER,name='Speaker Right Mixer Volume'
numid=59,iface=MIXER,name='Speaker Right Switch'
numid=54,iface=MIXER,name='Speaker Volume'
numid=64,iface=MIXER,name='Volume Adjustment Smoothing'
numid=62,iface=MIXER,name='Zero-Crossing Detection'

card 1:
numid=1,iface=MIXER,name='iAP Interface Playback Switch'
numid=2,iface=MIXER,name='iAP Interface Playback Switch',index=1
numid=3,iface=MIXER,name='iAP Interface Playback Volume'
numid=4,iface=MIXER,name='iAP Interface Playback Volume',index=1


MPD audio outputs status: (mpc outputs)
--------------------------------------------------
Output 1 (HIFI-Ref) is enabled
Output 2 (Built-in Audio) is enabled


###### mpd.conf ######
###################################
# Auto generated mpd.conf file
# please DO NOT edit it manually!
# Use RuneUI MPD config section
###################################

log_level   "verbose"
log_file   "/var/log/runeaudio/mpd.log"
state_file   "/var/lib/mpd/mpdstate"
zeroconf_enabled    "yes"
zeroconf_name    "RuneAudio"
bind_to_address "/run/mpd.sock"
bind_to_address    "any"
port    "6600"
max_connections    "20"
user    "mpd"
group    "audio"
db_file    "/var/lib/mpd/mpd.db"
sticker_file    "/var/lib/mpd/sticker.sql"
pid_file    "/var/run/mpd/pid"
music_directory    "/mnt/MPD"
playlist_directory    "/var/lib/mpd/playlists"
follow_outside_symlinks    "yes"
follow_inside_symlinks    "yes"
auto_update    "no"
filesystem_charset    "UTF-8"
id3v1_encoding    "UTF-8"
volume_normalization    "no"
audio_buffer_size    "2048"
buffer_before_play    "10%"
gapless_mp3_playback    "yes"

input {
plugin    "curl"
}

decoder {
plugin    "ffmpeg"
enabled "no"
}

audio_output {
name       "HIFI-Ref"
type       "alsa"
device       "hw:1,0"
mixer_type    "hardware"
mixer_device    "hw:hw:1,0"
mixer_control    ",0"
mixer_index    "0"
dsd_usb    "yes"
auto_resample    "no"
auto_format    "no"
enabled    "yes"
}

audio_output {
name       "Built-in Audio"
type       "alsa"
device       "hw:0,0"
mixer_type    "hardware"
mixer_device    "hw:hw:0,0"
mixer_control    ",0"
mixer_index    "0"
dsd_usb    "yes"
auto_resample    "no"
auto_format    "no"
}

Odroid-C1+, 8Gb eMMC, 8Gb µSD with 32bit/384Khz Odroid-C1+ HiFi shield (PCM5102)
Odroid-C1, 8Gb µSD with DAC: XMOS 384K/32bit USB (PCM5102)
Other: 24bit/192Khz Audiophonics DAC Sabre ES9023 I2S
User avatar
gkkpch
 
Posts: 64
Joined: 19 May 2015, 11:58
Location: Switzerland

Re: Port Runeaudio to Odroid X2 (Arm v7)

Postby gkkpch » 22 May 2015, 23:59

Yes,
the DSD option was obviously interpreted wrong. When switched off, it plays dsf files over pcm no problem.
Still wonder why mpd was addressing hw:0:0, surely something must not quite fit in yet.
But I'm also not sure if the Hifi-Ref supports "generic" dsd, found no documentation.

On a positive note:
- Dirdle is working (did not have to change, some startup quirk perhaps, seems to work ok)
- Webradio is working
- USB-stick is working
- NAS is working
- Jamendo is working

Only Spotify to test, might leave that for a while as I would need to recover my password and reset.

I'm starting to like runeaudio a lot, especially because it is very responsive and also looks good.
Plays anything I threw at it (as volumio did).
And because of missing RPi usb issues and the existence of 4-core 1.7Ghz power, never ever with any pops, hick-ups or whatsoever.
OK, admit, this board is to expensive for this sort of purpose, then it suited the purpose as a PoC.

For the time being (unless I read any specific request) I'm going to leave it with the Odroid X2 port.
It was not meant for a big user base, U3, C1 (or when HK has anything newer in the low-cost offering) are much more up-to-date and interesting.
I will use this experience to tinker with other Odroid boards, see what comes next, I will do my best.

Odroid-C1+, 8Gb eMMC, 8Gb µSD with 32bit/384Khz Odroid-C1+ HiFi shield (PCM5102)
Odroid-C1, 8Gb µSD with DAC: XMOS 384K/32bit USB (PCM5102)
Other: 24bit/192Khz Audiophonics DAC Sabre ES9023 I2S
User avatar
gkkpch
 
Posts: 64
Joined: 19 May 2015, 11:58
Location: Switzerland

Re: Port Runeaudio to Odroid X2 (Arm v7)

Postby ACX » 23 May 2015, 02:36

gkkpch wrote:@ACX: PM sent

Nothing received yet...
User avatar
ACX
RuneAudio co-founder
 
Posts: 1692
Joined: 29 Nov 2013, 02:25
Location: Udine, Italy

Re: Port Runeaudio to Odroid X2 (Arm v7)

Postby gkkpch » 31 May 2015, 12:33

Corrected with findings from the ODROID-C1 port.

Debug-Info from ODROID-X2

No Spotify, but otherwise very usable :)
Odroid-C1+, 8Gb eMMC, 8Gb µSD with 32bit/384Khz Odroid-C1+ HiFi shield (PCM5102)
Odroid-C1, 8Gb µSD with DAC: XMOS 384K/32bit USB (PCM5102)
Other: 24bit/192Khz Audiophonics DAC Sabre ES9023 I2S
User avatar
gkkpch
 
Posts: 64
Joined: 19 May 2015, 11:58
Location: Switzerland

Re: Port Runeaudio to Odroid X2 (Arm v7)

Postby dryce » 23 Jun 2015, 13:21

When you were creating your image did you have difficulty getting Redis to start properly? I can start it manually from the command line, but it won't start automatically with systemd. I have the UI showing up, so that's half the battle, but because redis isn't cooperating the worker services don't work. I am working on a Banana Pi Pro instead of the Odroid, but I thought I'd check. Thanks!
dryce
 
Posts: 34
Joined: 12 Jun 2014, 22:34

support RuneAudio Donate with PayPal

Next

Return to General discussion

Who is online

Users browsing this forum: No registered users and 4 guests