ODROID C1 & C1+ now officially supported by RuneAudio

ODROID related support

ODROID C1 & C1+ now officially supported by RuneAudio

Postby hondagx35 » 18 Aug 2015, 14:14

Hi all,

ODROID C1 & C1+ from Hardkernel are now officially by RuneAudio.

The image is ready and can be downloaded from here.

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

Re: ODROID C1 & C1+ now officially supported by RuneAudio

Postby ycat3 » 24 Aug 2015, 06:55

Hi RuneAudio,
I purchased Odroid C1+ and C1+ Hifi Shield(I2SDAC).
When will you release C1+ and Hifi Shield supported image ?
Thanks.
ycat3
 
Posts: 6
Joined: 24 Aug 2015, 06:45

Re: ODROID C1 & C1+ now officially supported by RuneAudio

Postby hondagx35 » 24 Aug 2015, 15:15

Hi all,

the image is ready and can be downloaded from here.

This image is made for both the ODROID C1 and the newer C1+

To enable the new HiFi Shield you have to edit /boot/boot.ini:
Code: Select all
# PCM5102 audio DAC Enable/Disable
# Uncomment the line below to __ENABLE__ Audio-DAC(PCM5102)
setenv enabledac "enabledac"


To enable the IR receiver (HK remote) you only have to execute theses commands once:
Code: Select all
systemctl enable lircd
systemctl enable irexec


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

Re: ODROID C1 & C1+ now officially supported by RuneAudio

Postby hondagx35 » 25 Aug 2015, 16:15

Hi all,

here some things/thoughts about the ODROID C1 / C1+ i like to share:

- how to get access to the console:
There are two ways to get access to the console:
    1.) plug in a monitor and a keyboard
    2.) use SSH from your PC
      If you are not familiar with SSH read this for Windows or this for Linux/MacOS
      The default login for RuneAudio is "root" with the password "rune" (without quotes).

- how to enable the new HIFI shield on a ODROID C1+
    1.) get access to the console (SSH or local keyboard / monitor)
    2.) edit the file /boot/boot.ini
    Code: Select all
    nano /boot/boot.ini

    scroll down until reaching this part
    Code: Select all
    # PCM5102 audio DAC Enable/Disable
    # Uncomment the line below to __ENABLE__ Audio-DAC(PCM5102)
    #setenv enabledac "enabledac"

    remove the hash in front of the last line
    Code: Select all
    # PCM5102 audio DAC Enable/Disable
    # Uncomment the line below to __ENABLE__ Audio-DAC(PCM5102)
    setenv enabledac "enabledac"

    save your changes with STRG&x + y + ENTER
    3.) reboot your device
    Code: Select all
    reboot

    4.) select your DAC from MENU->MPD

    You also can change this file on your PC by plugging in the SD card.
    Another way is to use a program like WinSCP or FILEZILLA to remotely access files on your device.

-If you have problems with booting from UHC-1 SDCARD.
    Find this section in the /boot/boot.ini and add a hash on the last line:

    # UHS Card Configuration
    # Uncomment the line below to __DISABLE__ UHS-1 MicroSD support
    # This might break boot for some brand models of
    # setenv disableuhs “disableuhs”

- how to speed up boot process then no wifi is needed
    1.) get access to the console (SSH or local keyboard / monitor)
    2.) execute this
    Code: Select all
    systemctl disable netctl-auto@wlan0

    3.) reboot your device
    Code: Select all
    reboot


- how to resize your SD or EMMC card image:
The downloadable image is made for cards >= 2GB.
In most cases your card has more storage capacity,
so why not use it for local storage or other packages you like to install.

    1.) get access to the console (SSH or local keyboard / monitor)
    2.) login to your ODROID (user=root and password=rune)
    3.) execute this
    Code: Select all
    fdisk /dev/mmcblk0

    4.) get the current size p + ENTER on your keyboard
    5.) delete the first partition d + ENTER
    6.) add a new partition with default parametern + ENTER + ENTER + ENTER + ENTER + ENTER
    7.) write the partition table to your card w + ENTER (ignore the error message)
    8.) reboot your device
    Code: Select all
    reboot

    9.) login again
    10.) execute this
    Code: Select all
    resize2fs /dev/mmcblk0p1

    11.) check new size
    Code: Select all
    df -h

- EMMC vs. SD card
What are the differences between EMMC and SD cards?
1.) EMMC is much faster than SD cards.

Let us perform some tests:
Code: Select all
[root@runeaudio EMMC]# dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 74.8774 s, 14.3 MB/s
EMMC writing 1.1GB
Code: Select all
[root@runeaudio SD]# dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 107.958 s, 9.9 MB/s
SD writing 1.1GB

Code: Select all
[root@runeaudio EMMC]# dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 17.1679 s, 62.5 MB/s
EMMC reading 1.1GB
Code: Select all
[root@runeaudio SD]# dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 66.8245 s, 16.1 MB/s
SD reading 1.1GB

As you can see writing is 1.4 times faster and reading is 3.9 times faster.
Beside this EMMC cards are much more durable against SD cards.
So as a result, if you have the money buy one for your RuneAudio project.

- how to use / enable the IR receiver
Your ODROID C1(+) is equipped with an infrared receiver that can be used to control rune audio.
Hardkernel offers a small remote, but i think there are better ones to use (see here for supported ones).
1.) get access to the console (SSH or local keyboard / monitor)
2.) execute these commands:
Code: Select all
systemctl enable lircd
systemctl start lircd
systemctl enable irexec
systemctl start irexec

If you own the HK remote this is all you have to do.

If you have a different remote, you need the right lirc configuration from here.
Download the file and save it as /etc/lirc/lircd.conf.d/lircd.conf.

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

Re: ODROID C1 & C1+ now officially supported by RuneAudio

Postby Cableboy » 25 Aug 2015, 18:32

So great!

Thank you very much!
Cableboy
 
Posts: 2
Joined: 22 Aug 2015, 14:58

Re: ODROID C1 & C1+ now officially supported by RuneAudio

Postby gkkpch » 25 Aug 2015, 20:20

Hi Frank,

I noticed a very long startup time, which may be worth mentioning here.
According to dmesg there is an issue with wireless, but I don't have wireless.

Code: Select all
[   11.386736] config uart_ao_ttyS0:: Character length 8bits/char
[   94.083450] systemd[1]: Job sys-subsystem-net-devices-wlan0.device/start timed out.
[   94.083505] systemd[1]: Timed out waiting for device sys-subsystem-net-devices-wlan0.device.
[   94.083602] systemd[1]: Dependency failed for Automatic wireless network connection using netctl profiles.
[   94.083654] systemd[1]: Job netctl-auto@wlan0.service/start failed with result 'dependency'.
[   94.083693] systemd[1]: Job sys-subsystem-net-devices-wlan0.device/start failed with result 'timeout'.
[   94.083848] systemd[1]: Reached target Network.


I removed netctl-auto@wlan0.service from multi-user.target.wants, but is this the proper way to do that?

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: ODROID C1 & C1+ now officially supported by RuneAudio

Postby hondagx35 » 25 Aug 2015, 20:46

Hi

I removed netctl-auto@wlan0.service from multi-user.target.wants, but is this the proper way to do that?

Shit .....
As usual i forgot to disable wifi before baking the image.
A cleaner way is to disable it:
Code: Select all
systemctl disable netctl-auto@wlan0


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

Re: ODROID C1 & C1+ now officially supported by RuneAudio

Postby gkkpch » 25 Aug 2015, 20:59

For the rest it seems solid so far, thanks for all the hard work!
Btw., I left a quick note on the HK C1/C1+ forum to let people know that the image has been released and linked to this thread.

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: ODROID C1 & C1+ now officially supported by RuneAudio

Postby alex.penkov » 27 Aug 2015, 01:50

What are the differences between EMMC and SD cards?
1.) EMMC is much faster than SD cards.

Does it mean that boot time from eMMC would be 3 times shorter? Now I am using UHS card, and boot time is about 19 sec. What time I could expect after replacement SD to eMMC?
alex.penkov
 
Posts: 4
Joined: 27 Aug 2015, 01:44

Re: ODROID C1 & C1+ now officially supported by RuneAudio

Postby hondagx35 » 27 Aug 2015, 23:06

Hi alex.penkov,

Does it mean that boot time from eMMC would be 3 times shorter? Now I am using UHS card, and boot time is about 19 sec. What time I could expect after replacement SD to eMMC?

No, because boot time depends on many other things.

In my case (eMMC) it takes about 14 to 15s until the UI is available.
Code: Select all
[    8.967709] systemd[1]: Starting The PHP FastCGI Process Manager...
[    9.036262] systemd[1]: Started The PHP FastCGI Process Manager..
[   11.079524] systemd[1]: Reloading.
[   11.192986] systemd[1]: Unit type .busname is not supported on this system.
[   11.566804] systemd[1]: Time has been changed


Code: Select all
[root@runeaudio ~]# systemd-analyze
Startup finished in 1.190s (kernel) + 2.436s (userspace) = 3.626s


and here with a class 10 sd card:
Code: Select all
[   11.960958] systemd[1]: Started The PHP FastCGI Process Manager.
[   14.224157] systemd[1]: Reloading.
[   14.340698] systemd[1]: Unit type .busname is not supported on this system.
[   14.827048] systemd[1]: Time has been changed


Code: Select all
[root@runeaudio ~]# systemd-analyze
Startup finished in 1.410s (kernel) + 3.840s (userspace) = 5.250s


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