• Disclaimer: This Vendor's Forum is a paid-for commercial area. Unlike the rest of diyAudio, the Vendor has complete control of what may or may not be posted in this forum. If you wish to discuss technical matters outside the bounds of what is permitted by the Vendor, please use the non-commercial areas of diyAudio to do so.

Support for Botic Linux driver

https://rcn-ee.com/rootfs/bb.org/re...bian-7.8-lxde-4gb-armhf-2015-03-01-4gb.img.xz
This is the image you need to get
Always format SD card before you write an image on it.
Do not use Winrar to unzip the image , the file you get from Winrar is not a disc image.
Get windows image writer application and write the above image file to it.
Completely disconnect BBB board from USB and power supply and insert SD card with image into slot.
Hold down the boot button ( not power or reset) and plugin the 5v power cable .
The LED will blink and then started moving from side to side like a wave then release the boot button.
Wait for 30-40 min until all lights are light up and then machine power off by itself.
Take out the SD card and power on again. You are all set.��
 
Member
Joined 2004
Paid Member
https://rcn-ee.com/rootfs/bb.org/re...bian-7.8-lxde-4gb-armhf-2015-03-01-4gb.img.xz
This is the image you need to get
Always format SD card before you write an image on it.
Do not use Winrar to unzip the image , the file you get from Winrar is not a disc image.
Get windows image writer application and write the above image file to it.
Completely disconnect BBB board from USB and power supply and insert SD card with image into slot.
Hold down the boot button ( not power or reset) and plugin the 5v power cable .
The LED will blink and then started moving from side to side like a wave then release the boot button.
Wait for 30-40 min until all lights are light up and then machine power off by itself.
Take out the SD card and power on again. You are all set.��

I had this version, but the site address was a little different. File sizes are the same. It did load but the root logon required a password. The version you point to that I loaded does not require a password. Good. :) I'm a little worried tho, the flashing only took a little more than 5 minutes!?:confused: Seems ok. Took your advice and didn't use WinRAR to unpack, used 7-Zip. I've always used "Win32DiskImager-0.9.5-install" and "SDFormatter".

Now, to try Botic. It's late now so, first thing tomorrow!

Thank you very much, :) don't know why the seemingly same version I down loaded didn't work. But could have been the WinRAR unpacker!
 
it is the winrar ,If you look at the file it creates it will be folder and not an actual image file. With folder structure you can not boot from any media.
dont worry about time it took to flash the eMMC. As long as you have seen the pattern of lights and at the end al lights off by itself you are good.
 
Last edited:
Can some one post a detailed instruction on how to manually edit mpd.conf
or a link to how to do it?

The easiest alternative option:
1. download file from BBB to your computer (e.g. using WinSCP from Windows)
2. edit file at your computer with editor that does not damage lines in the file (e.g. PSpad)
3. upload edited file back to BBB at same place (works with WinSCP too)
 
Member
Joined 2004
Paid Member
it is the winrar ,If you look at the file it creates it will be folder and not an actual image file. With folder structure you can not boot from any media.
dont worry about time it took to flash the eMMC. As long as you have seen the pattern of lights and at the end al lights off by itself you are good.

I used Mieros instructions to flash Botic, but after that when I logon as root
it doesn't take botic as the password? - ssh root@IP_ADDRESS (password is botic)

Also, using - diyAudio server HTTPS page (MPD web interface) only takes me to a page that has ....

Index of /
An externally hosted image should be here but it was not working when we last tested it.
NameLast modifiedSizeDescription Apache/2.2.22 (Debian) Server at 192.168.7.2 Port 8080

....can't really say I've got Botic on the BBB!?:confused:
 
Last edited:
root@volumio:/# onfiguration file `/etc/upmpdcli.conf'
> ==> Modified (by you or by a script) since installation.
> ==> Package distributor has shipped an updated version.
> What would you like to do about it ? Your options are:
> Y or I : install the package maintainer's version
> N or O : keep your currently-installed version
> D : show the differences between the versions
> Z : start a shell to examine the situation
> The default action is to keep your current version.
> *** upmpdcli.conf (Y/I/N/O/D/Z) [default=N] ? ^C
> root@volumio:/#
what should be the answer to this?
 
Hi!
Been following this thread for a long time now and want to thank everyone who has contributed so far!
I wonder if anyone has tried to program i2c control of the ES9018 with BBB and Botic yet? I feel like that is the last thing that is missing now to get the ultimate embedded system:) I have tried to look in to it myself, but the programming that is needed is too complicated for me to handle. Any help or advice would be much appreciated!
 
Hi,
I'm trying to build a squeezelie in the Botic distro/environment:
Unfortunately I recive masage:
Code:
fatal error: alsa/asoundlib.h: No such file or directory
Then I installed alsa but it didn't help at all.
See details:
Code:
root@botic:/opt/squeezelite# uname -a
Linux botic 3.18.7-botic4 #1 PREEMPT Wed Feb 18 23:34:58 CET 2015 armv7l GNU/Linux


root@botic:/opt/squeezelite# OPTS="-DFFMPEG -DRESAMPLE -DDSD" make
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  main.c -c -o main.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  slimproto.c -c -o slimproto.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  buffer.c -c -o buffer.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  stream.c -c -o stream.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  utils.c -c -o utils.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  output.c -c -o output.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  output_alsa.c -c -o output_alsa.o
output_alsa.c:27:28: fatal error: alsa/asoundlib.h: No such file or directory
compilation terminated.
make: *** [output_alsa.o] Error 1

root@botic:/opt/squeezelite# apt-get install alsa
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'alsa-base' instead of 'alsa'
Suggested packages:
  alsa-oss oss-compat
The following NEW packages will be installed:
  alsa-base
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 61.1 kB of archives.
After this operation, 134 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian/ wheezy/main alsa-base all 1.0.25+3~deb7u1 [61.1 kB]
Fetched 61.1 kB in 0s (107 kB/s)
Selecting previously unselected package alsa-base.
(Reading database ... 24393 files and directories currently installed.)
Unpacking alsa-base (from .../alsa-base_1.0.25+3~deb7u1_all.deb) ...
Setting up alsa-base (1.0.25+3~deb7u1) ...

root@botic:/opt/squeezelite# OPTS="-DFFMPEG -DRESAMPLE -DDSD" make
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  output_alsa.c -c -o output_alsa.o
output_alsa.c:27:28: fatal error: alsa/asoundlib.h: No such file or directory
compilation terminated.
make: *** [output_alsa.o] Error 1
Please give me a hint.
Thanks in advance.
 
Hi,
I'm trying to build a squeezelie in the Botic distro/environment:
Unfortunately I recive masage:
Code:
fatal error: alsa/asoundlib.h: No such file or directory
Then I installed alsa but it didn't help at all.
See details:
Code:
root@botic:/opt/squeezelite# uname -a
Linux botic 3.18.7-botic4 #1 PREEMPT Wed Feb 18 23:34:58 CET 2015 armv7l GNU/Linux


root@botic:/opt/squeezelite# OPTS="-DFFMPEG -DRESAMPLE -DDSD" make
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  main.c -c -o main.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  slimproto.c -c -o slimproto.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  buffer.c -c -o buffer.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  stream.c -c -o stream.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  utils.c -c -o utils.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  output.c -c -o output.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  output_alsa.c -c -o output_alsa.o
output_alsa.c:27:28: fatal error: alsa/asoundlib.h: No such file or directory
compilation terminated.
make: *** [output_alsa.o] Error 1

root@botic:/opt/squeezelite# apt-get install alsa
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'alsa-base' instead of 'alsa'
Suggested packages:
  alsa-oss oss-compat
The following NEW packages will be installed:
  alsa-base
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 61.1 kB of archives.
After this operation, 134 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian/ wheezy/main alsa-base all 1.0.25+3~deb7u1 [61.1 kB]
Fetched 61.1 kB in 0s (107 kB/s)
Selecting previously unselected package alsa-base.
(Reading database ... 24393 files and directories currently installed.)
Unpacking alsa-base (from .../alsa-base_1.0.25+3~deb7u1_all.deb) ...
Setting up alsa-base (1.0.25+3~deb7u1) ...

root@botic:/opt/squeezelite# OPTS="-DFFMPEG -DRESAMPLE -DDSD" make
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  output_alsa.c -c -o output_alsa.o
output_alsa.c:27:28: fatal error: alsa/asoundlib.h: No such file or directory
compilation terminated.
make: *** [output_alsa.o] Error 1
Please give me a hint.
Thanks in advance.
You'll need to install ALSA development packages.
Code:
sudo apt-get install libasound2-dev
 
You'll need to install ALSA development packages.
Code:
sudo apt-get install libasound2-dev

Thanks,
There are other obstacles...;)
Because I have fatal error with ffmpeg:
Code:
root@botic:/opt/squeezelite# OPTS="-DFFMPEG -DRESAMPLE -DDSD" make
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  main.c -c -o main.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  slimproto.c -c -o slimproto.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  buffer.c -c -o buffer.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  stream.c -c -o stream.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  utils.c -c -o utils.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  output.c -c -o output.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  output_alsa.c -c -o output_alsa.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  output_pa.c -c -o output_pa.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  output_stdout.c -c -o output_stdout.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  output_pack.c -c -o output_pack.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  decode.c -c -o decode.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  pcm.c -c -o pcm.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  mad.c -c -o mad.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  vorbis.c -c -o vorbis.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  faad.c -c -o faad.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  mpg.c -c -o mpg.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  dsd.c -c -o dsd.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  dop.c -c -o dop.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  dsd2pcm/dsd2pcm.c -c -o dsd2pcm/dsd2pcm.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  ffmpeg.c -c -o ffmpeg.o
ffmpeg.c:25:34: fatal error: libavformat/avformat.h: No such file or directory
compilation terminated.
make: *** [ffmpeg.o] Error 1
root@botic:/opt/squeezelite# libavformat/avformat.h
I'm trying to install libffmpeg but without succes:
Code:
root@botic:/opt/squeezelite# apt-get install libffmpeg
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libffmpeg
 
Last edited:
Thanks,
There are other obstacles;)
Despite I've installed libffmpeg, receive:
Code:
root@botic:/opt/squeezelite# OPTS="-DFFMPEG -DRESAMPLE -DDSD" make
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  main.c -c -o main.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  slimproto.c -c -o slimproto.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  buffer.c -c -o buffer.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  stream.c -c -o stream.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  utils.c -c -o utils.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  output.c -c -o output.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  output_alsa.c -c -o output_alsa.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  output_pa.c -c -o output_pa.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  output_stdout.c -c -o output_stdout.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  output_pack.c -c -o output_pack.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  decode.c -c -o decode.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  pcm.c -c -o pcm.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  mad.c -c -o mad.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  vorbis.c -c -o vorbis.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  faad.c -c -o faad.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  mpg.c -c -o mpg.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  dsd.c -c -o dsd.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  dop.c -c -o dop.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  dsd2pcm/dsd2pcm.c -c -o dsd2pcm/dsd2pcm.o
cc -Wall -fPIC -O2 -DFFMPEG -DRESAMPLE -DDSD  ffmpeg.c -c -o ffmpeg.o
ffmpeg.c:25:34: fatal error: libavformat/avformat.h: No such file or directory
compilation terminated.
make: *** [ffmpeg.o] Error 1
root@botic:/opt/squeezelite# libavformat/avformat.h
Have you tried searching?
Code:
pi@raspberrypi ~ $ sudo apt-cache search libavformat|grep -i dev
libavformat-dev - Development files for libavformat
 
Success:)
I've just build squeezelite player!
After installing libavformat53, libavformat-dev, libavcodec53 and compiling libsoxr the output devices are as follows:
Code:
root@botic:/opt/squeezelite# ./squeezelite -l
Output devices:
  null                           - Discard all samples (playback) or generate zero samples (capture)
  default:CARD=Botic             - Botic,  - Default Audio Device
  sysdefault:CARD=Botic          - Botic,  - Default Audio Device
  dmix:CARD=Botic,DEV=0          - Botic,  - Direct sample mixing device
  dsnoop:CARD=Botic,DEV=0        - Botic,  - Direct sample snooping device
  hw:CARD=Botic,DEV=0            - Botic,  - Direct hardware device without any conversions
  plughw:CARD=Botic,DEV=0        - Botic,  - Hardware device with all software conversions
 
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
db_file "/var/lib/mpd/tag_cache"
sticker_file "/var/lib/mpd/sticker.sql"
log_file "/var/log/mpd/mpd.log"
pid_file "/var/run/mpd/pid"
music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
state_file "/var/lib/mpd/state"
user "mpd"
bind_to_address "any"
port "6600"
zeroconf_enabled "yes"
zeroconf_name "volumio"
samplerate_converter "Best Sinc Interpolator"
volume_normalization "no"
audio_buffer_size "2048"
buffer_before_play "20%"
filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"
gapless_mp3_playback "yes"
auto_update "no"
mixer_type "disabled"
group "audio"
max_connections "20"
decoder {
plugin "ffmpeg"
enabled "yes"
}
input {
plugin "curl"
}
audio_output {
type "alsa"
name "Output"
device "hw:1,0"
dop "no"
}
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
db_file "/var/lib/mpd/tag_cache"
sticker_file "/var/lib/mpd/sticker.sql"
log_file "/var/log/mpd/mpd.log"
pid_file "/var/run/mpd/pid"
music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
state_file "/var/lib/mpd/state"
user "mpd"
bind_to_address "any"
port "6600"
zeroconf_enabled "yes"
zeroconf_name "volumio"
samplerate_converter "Best Sinc Interpolator"
volume_normalization "no"
audio_buffer_size "2048"
buffer_before_play "20%"
filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"
gapless_mp3_playback "yes"
auto_update "no"
mixer_type "disabled"
group "audio"
max_connections "20"
decoder {
plugin "ffmpeg"
enabled "yes"
}
input {
plugin "curl"
}
audio_output {
type "alsa"
name "Output"
device "hw:1,0"
dop "no"
}
FOLLOWED THE INSTRUCTIONS HERE
https://docs.google.com/document/d/...OSF2fu3Sz4zzmaURM/edit#heading=h.pb0sutxuyej0
still not able to acess USB DRIVE
 
Last edited: