• 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

kinku: so you have both eMMC and SD card ....

if it gets rewritten I assume there is "flasher" installed somewhere, which rewrites the other one...

you should mount both

mkdir /boot/uboot

mount /dev/mmcblk0p1 /boot/uboot
nano /boot/uboot/uEnv.txt
umount /boot/uboot

mount /dev/mmcblk1p1 /boot/uboot
nano /boot/uboot/uEnv.txt
umount /boot/uboot

if you see there emmc flasher line ... delete it or comment out with #

if you see some optargs ... add there snd_soc_botic.ext_masterclk=9
 
kinku: so you have both eMMC and SD card ....

if it gets rewritten I assume there is "flasher" installed somewhere, which rewrites the other one...

you should mount both

mkdir /boot/uboot

mount /dev/mmcblk0p1 /boot/uboot
nano /boot/uboot/uEnv.txt
umount /boot/uboot

mount /dev/mmcblk1p1 /boot/uboot
nano /boot/uboot/uEnv.txt
umount /boot/uboot

if you see there emmc flasher line ... delete it or comment out with #

if you see some optargs ... add there snd_soc_botic.ext_masterclk=9

mount /dev/mmcblk0p1 /boot/uboot
nano /boot/uboot/uEnv.txt
umount /boot/uboot
gave me

optargs=fixrtc

loadfdt=ext4load mmc ${mmcdev}:2 ${fdtaddr} /boot/dtbs/${fdtfile}
loaduimage=mw.l 4804c134 fe1fffff; if ext4load mmc 0:2 ${loadaddr} /boot/zImage; then mw.l 4804c194 01200000; echo Booting from external microSD...; setenv mmcdev 0; else setenv mmcdev 1; if test $mmc0 = 1; then setenv mmcroot /dev/mmcb$
mmcboot=run mmcargs; bootz ${loadaddr} - ${fdtaddr}
uenvcmd=i2c mw 0x24 1 0x3e; run findfdt; if test $board_name = A335BNLT; then setenv mmcdev 1; mmc dev ${mmcdev}; if mmc rescan; then setenv mmc1 1; else setenv mmc1 0; fi; fi; setenv mmcdev 0; mmc dev ${mmcdev}; if mmc rescan; then set$


mount /dev/mmcblk1p1 /boot/uboot
nano /boot/uboot/uEnv.txt
umount /boot/uboot
was a blank file ,does that help?
 
Also about the USB drive I am able to mount the usb drive ,but the GUI in volumio just stays blank like before.
it is also not showing any default folders under browse tab (RAMPLAY,USB ,NAS,WEBRADIO)
So it seems like the problem is with the GUI in boticized volumio.
more surprise when I tried to play a file with "play filename"
play FAIL formats: can't open input file `pinkfloyd the wall': No such file or directory

I can see them there in both WinScp and using
ls /var/lib/mpd/music/
 
Last edited:
Member
Joined 2004
Paid Member
ichiban: you can fix it the similar way that the kinku has to do it...

When I power up BBB without SD Card inserted, BBB boots up and I let it go until scrolling stops, so I can enter instructions. But, it will not take any key entry.
So, I unpower and try over this time I hit space bar when this message comes up....

Hit any key to stop autoboot:

....then I try entering your suggested commands, but I get
Unknown command 'mkdir' - try 'help'


=============copy & paste of putty/serial output================

U-Boot 2015.01-00001-gb2412df (Jan 29 2015 - 15:01:06), Build: jenkins-github_Bootloader-Builder-105

Watchdog enabled
I2C: ready
DRAM: 512 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw
Hit any key to stop autoboot: 0
U-Boot# mkdir /boot/uboot
Unknown command 'mkdir' - try 'help'
U-Boot#
 
Miero can you please check the integrity of instructions for squeezelite player
I am getting return directory not found.
### packages needed for soxr && squeezelite compilation
libvorbis-devapt-get install git gcc make libasound2-dev libavcodec-dev libavformat-dev libavutil-dev libflac-dev libmad0-dev libfaad-dev libmpg123-dev cmake
### clone, build and install soxr resampling library
git clone git://git.code.sf.net/p/soxr/code soxr-code
cd soxr-code


cmake ./make
make install
cd ..
### clone, build and install squeezelite player (with soxr support)
tps://code.google.com/p/squeezgit clone htelite/
cd squeezelite
make OPTS="-DDSD -DFFMPEG -DRESAMPLE"
cp squeezelite /usr/local/bin/


I think some one edited by accident
apt-get install git gcc make libasound2-dev libavcodec-dev libavformat-dev libavutil-dev libflac-dev libmad0-dev libfaad-dev libmpg123-dev cmake libvorbis-dev

 
Last edited:
ichiban: you can try this to edit uEnv.txt on the eMMC without booting from SD card...

You need serial console on BBB via UART converter for this.

0) remove SD card and disconnect power cable
1) prepare serial console for BBB
2) start BBB via plugging it using microUSB cable >>directly<< into USB slot of PC
3) in the serial console enter into bootloader by pressing space (reset and repeat if you missed it)
4) in the bootloader command prompt enable sharing eMMC into PC by executing "ums 0 mmc 1"; if this reports an error it will not work...
5) on the PC open the first partition of the BBB virtual USB drive that should be now detected
6) there should be uEnv.txt file:
- backup it first
- edit and save using UNIX newline compatible editor, e.g. PSpad
7) disconnect the virtual USB drive in your OS
8) reset BBB via button (or power it down safely by holding power button for 8 seconds)
 
Last edited:
Is anyone else using mpdroid? I don't know what to enter in the settings. Whatever I try, I get "Connection to MPD-Server failed!"
Make sure MPD is actually listening on your network interface(s). By default it will not (only localhost)

Check /etc/mpd.conf for the line with
Code:
#bind_to_address           "any"

Change to (ie uncomment):
Code:
bind_to_address             "any"
 
Simple shell script for basic configuration of ES9018 via I2C:
https://github.com/miero/botic-tools/blob/master/daccfg_es9018

Helper for Botic V5 driver to control volume and set HW params:
https://github.com/miero/botic-tools/blob/master/botic_helper

This have to be enabled at boot by executing:
Code:
echo "/sbin/botic_helper" > /sys/module/snd_soc_botic/parameters/helper_cmd

HW volume control in mpd.conf can be enabled this way:
audio_output {
type "alsa"
name "Botic"
device "hw:0,0"
dsd_usb "no"
dsd_native "yes"
dsd_native_type "3"
priority "FIFO:32"
period_time "1"
mixer_type "hardware"
mixer_control "MasterTrim"
}
 
Troubleshooting report- BBB

Hi chaps,
well happy days.
As per this post was having no end of trouble with my BBB.
http://www.diyaudio.com/forums/twisted-pear/258254-support-botic-linux-driver-80.html#post4316434

Got my new circuitCo version of the BBB and booted this morning. Took 5 minutes and am already up and running with botic and staring contendedly at the ympd gui.

An externally hosted image should be here but it was not working when we last tested it.


So though its not clear what the error was, my advice is, if in UK, avoid buying an Element 14 versions of the BBB available from Farnell and go for the circuitCo builds available from RS components.
This thread seems pretty indicative that its actually a wide ranging problem:
BBB s2/ "user boot" button not working on eleme... | element14

I will also add that Farnell customer service was A1 and they arranged to pickup the faulty unit and refund without so much as a quibble. Good example of what customer service should be like.

onwards, very excited now.
cheers
Ced
 
Last edited:
squeezelite:
- fixed instructions

entering commands to line starting with U-Boot#
- this is not linux, this is u-Boot bootloader; do not touch this for now

root@botic:~# git clone https://code.google.com/p/squeezelite/
Cloning into 'squeezelite'...
fatal: unable to access 'https://code.google.com/p/squeezelite/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
 
:confused:root@botic:~/soxr-code# cd squeezelite
root@botic:~/soxr-code/squeezelite# make OPTS="-DDSD -DFFMPEG -DRESAMPLE"
cc -Wall -fPIC -O2 -DDSD -DFFMPEG -DRESAMPLE main.c -c -o main.o
cc -Wall -fPIC -O2 -DDSD -DFFMPEG -DRESAMPLE slimproto.c -c -o slimproto.o
cc -Wall -fPIC -O2 -DDSD -DFFMPEG -DRESAMPLE buffer.c -c -o buffer.o
cc -Wall -fPIC -O2 -DDSD -DFFMPEG -DRESAMPLE stream.c -c -o stream.o
cc -Wall -fPIC -O2 -DDSD -DFFMPEG -DRESAMPLE utils.c -c -o utils.o
cc -Wall -fPIC -O2 -DDSD -DFFMPEG -DRESAMPLE output.c -c -o output.o
cc -Wall -fPIC -O2 -DDSD -DFFMPEG -DRESAMPLE output_alsa.c -c -o output_alsa.o
cc -Wall -fPIC -O2 -DDSD -DFFMPEG -DRESAMPLE output_pa.c -c -o output_pa.o
cc -Wall -fPIC -O2 -DDSD -DFFMPEG -DRESAMPLE output_stdout.c -c -o output_stdout.o
cc -Wall -fPIC -O2 -DDSD -DFFMPEG -DRESAMPLE output_pack.c -c -o output_pack.o
cc -Wall -fPIC -O2 -DDSD -DFFMPEG -DRESAMPLE decode.c -c -o decode.o
cc -Wall -fPIC -O2 -DDSD -DFFMPEG -DRESAMPLE flac.c -c -o flac.o
cc -Wall -fPIC -O2 -DDSD -DFFMPEG -DRESAMPLE pcm.c -c -o pcm.o
cc -Wall -fPIC -O2 -DDSD -DFFMPEG -DRESAMPLE mad.c -c -o mad.o
cc -Wall -fPIC -O2 -DDSD -DFFMPEG -DRESAMPLE vorbis.c -c -o vorbis.o
vorbis.c:30:31: fatal error: vorbis/vorbisfile.h: No such file or directory
compilation terminated.
make: *** [vorbis.o] Error 1