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 needed1.) 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 cardWhat 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 receiverYour 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