Following instructions from here :
Code: Select all
https://github.com/volumio/Build
Code: Select all
sudo apt install git squashfs-tools kpartx multistrap qemu-user-static samba debootstrap parted dosfstools qemu binfmt-support qemu-utils
Code: Select all
git clone https://github.com/volumio/Build.git
cd Build
Code: Select all
sudo ./build.sh -b arm -d pi -v 2.0 -l reponame
Code: Select all
$ ls -l Volumio2.0-2017-07-23-pi.img
-rw-r--r-- 1 root root 2936012800 Jul 23 14:16 Volumio2.0-2017-07-23-pi.img
Code: Select all
$ mount
... SNIP ...
/dev/sdd3 on /media/flatmax/volumio_data type ext4 (rw,nosuid,nodev,relatime,stripe=1024,data=ordered,uhelper=udisks2)
/dev/sdd1 on /media/flatmax/boot type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
/dev/sdd2 on /media/flatmax/volumio type ext4 (rw,nosuid,nodev,relatime,stripe=1024,data=ordered,uhelper=udisks2)
Code: Select all
sudo umount /dev/sdd[123]
Once on, it boots login with the user name root and pass volumio. It gives you the following prompt :
I enable ssh access by creating an empty file in /boot :
Code: Select all
cat '' > /boot/ssh
Code: Select all
adduser audioinjector
Code: Select all
$ ssh audioinjector@192.168.0.9
audioinjector@192.168.0.9's password:
___
/\_ \ __
__ __ ___\//\ \ __ __ ___ ___ /\_\ ___
/\ \/\ \ / __`\\ \ \ /\ \/\ \ /' __` __`\/\ \ / __`\
\ \ \_/ |/\ \L\ \\_\ \_\ \ \_\ \/\ \/\ \/\ \ \ \/\ \L\ \
\ \___/ \ \____//\____\\ \____/\ \_\ \_\ \_\ \_\ \____/
\/__/ \/___/ \/____/ \/___/ \/_/\/_/\/_/\/_/\/___/
Free Audiophile Linux Music Player - Version 2.0
C 2015 Michelangelo Guarise - Volumio Team - Volumio.org
Volumio Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Code: Select all
su
Code: Select all
echo 'dtoverlay=audioinjector-addons' >> /boot/config.txt
root@volumio:/home/audioinjector# dmesg | grep octo
Code: Select all
[ 11.914759] audioinjector-octo soc:sound: ASoC: CPU DAI (null) not registered - will retry
[ 11.914776] audioinjector-octo soc:sound: snd_soc_register_card failed (-517)
[ 13.477351] audioinjector-octo soc:sound: cs42448 <-> 3f203000.i2s mapping ok
Code: Select all
echo 'pcm.!default {
type plug
slave.pcm "anyChannelCount"
}
ctl.!default {
type hw
card 0
}
pcm.anyChannelCount {
type route
slave.pcm "hw:0"
slave.channels 8;
ttable {
0.0 1
1.1 1
2.2 1
3.3 1
4.4 1
5.5 1
6.6 1
}' > /etc/asound.conf
Code: Select all
root@volumio:/home/audioinjector# aplay -L | grep -C 1 anyCh
default
anyChannelCount
sysdefault:CARD=ALSA
Code: Select all
apt install mplayer
Code: Select all
wget "https://mp3l.jamendo.com/?trackid=206413&format=mp31&from=app-97dab294" -O - | mplayer -
I secure my volumio system again by turning off ssh :
Code: Select all
rm /boot/ssh
reboot